Class EbuR128LevelEventArgs
- Namespace
- VisioForge.Core.Types.X.AudioEffects
- Assembly
- VisioForge.Core.dll
One set of EBU R128 loudness measurements, as reported by the
EbuR128LevelBlock once per measurement interval.
public class EbuR128LevelEventArgs : EventArgsInheritance
Inherited Members
Remarks
Every metric is optional because the element calculates only what VisioForge.Core.Types.X.AudioEffects.EbuR128Mode asks for: a block configured for VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.Momentary alone reports VisioForge.Core.Types.X.AudioEffects.EbuR128LevelEventArgs.Momentary and leaves the rest null. The per-channel sample and true peaks VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.SamplePeak and VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.TruePeak enable are not carried here.
Constructors
EbuR128LevelEventArgs(TimeSpan?, double?, double?, double?, double?, double?)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.EbuR128LevelEventArgs class.
public EbuR128LevelEventArgs(TimeSpan? timestamp, double? momentary, double? shortTerm, double? global, double? relativeThreshold, double? loudnessRange)Parameters
timestampTimeSpan?-
Running time of the measured window, or null when the element could not map it.
momentarydouble?-
Momentary loudness (400 ms window) in LUFS, or null.
shortTermdouble?-
Short-term loudness (3 s window) in LUFS, or null.
globaldouble?-
Integrated (global) loudness in LUFS, or null.
relativeThresholddouble?-
Relative gating threshold in LUFS, or null.
loudnessRangedouble?-
Loudness range in LU, or null.
Properties
Global
Gets the integrated loudness over the whole stream so far, in LUFS - the number broadcast compliance is measured against. Present when VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.Global is enabled.
public double? Global { get; }Property Value
LoudnessRange
Gets the loudness range in LU. Present when VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.LoudnessRange is enabled.
public double? LoudnessRange { get; }Property Value
Momentary
Gets the momentary loudness over the last 400 ms, in LUFS. Present when VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.Momentary is enabled.
public double? Momentary { get; }Property Value
RelativeThreshold
Gets the relative gating threshold in LUFS. Present when VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.Global is enabled.
public double? RelativeThreshold { get; }Property Value
ShortTerm
Gets the short-term loudness over the last 3 seconds, in LUFS. Present when VisioForge.Core.Types.X.AudioEffects.EbuR128Mode.ShortTerm is enabled.
public double? ShortTerm { get; }Property Value
Timestamp
Gets the running time of the measured window, or null when the element reports that window's running time as unknown - the first message of a run and any message whose buffers the current segment cannot map, such as one arriving right after a seek or a flush. A null here is not a failed measurement: the metrics on the same event are valid.
public TimeSpan? Timestamp { get; }