Loudness class

EBU R128 loudness measurement snapshot, in LUFS and LU.

Emitted on PlayerStream.loudnessMeter while the ebur128 audio effect is enabled with its metadata option on: the meter runs inside the audio chain and the player polls its per-frame measurements.

momentary and shortTerm sit at the meter's floor, about -120.7 LUFS, until their window has filled and during digital silence: clamp them to the bottom of your scale. integrated starts at -70 LUFS and range at 0 LU. The fields are null only when the meter did not report them.

The ebur128 stage starts over at every seek (a file loop included), track change, output reopen and rebuild of the stage: integrated and range cover only the audio played since then. For the loudness of a whole track use PlayerStream.loudnessScan.

Constructors

Loudness({double? momentary, double? shortTerm, double? integrated, double? range})
Creates a loudness snapshot.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
integrated → double?
Integrated (programme) loudness since the meter last started, in LUFS: it starts over at every seek, loop wrap, track change and output reopen.
final
momentary → double?
Momentary loudness (400 ms window), in LUFS.
final
range → double?
Loudness range (LRA), in LU, since the meter last started, like integrated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shortTerm → double?
Short-term loudness (3 s window), in LUFS.
final

Methods

copyWith({Object? momentary = unset, Object? shortTerm = unset, Object? integrated = unset, Object? range = unset}) → Loudness
Returns a copy with the given fields replaced.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override