earshot_level library

Pure Dart sound level metering for earshot.

Feed the PCM from earshot_capture through a LevelMeter to get LevelReadings in decibels.

Classes

LevelCalibration
A calibration that corrects the readings of a specific device.
LevelMeter
Turns a stream of PcmChunks into a stream of LevelReadings.
LevelOptions
How the level meter measures sound.
LevelReading
A sound level measurement.

Enums

FrequencyWeighting
The frequency weighting applied before the level is measured, as defined by IEC 61672-1.
TimeWeighting
The time weighting of the level meter, as defined by IEC 61672-1.