pub struct NormReport {
pub lufs_before: f64,
pub gain: f64,
pub gain_db: f64,
pub peak_before: f64,
pub peak_reduction_db: f64,
}Expand description
Result of loudness normalization.
Fields§
§lufs_before: f64Integrated loudness before normalization.
gain: f64Linear gain applied.
gain_db: f64Gain in dB, after both MAX_GAIN_DB and the PEAK_CEILING cap.
This is the number crate::render::render_playback replays.
peak_before: f64Peak absolute sample before the gain was applied.
peak_reduction_db: f64How much makeup gain was given up so the peak would clear
PEAK_CEILING, in dB — always ≥ 0. Zero means the loudness target
was reached outright, which is the common case; a positive value means
this patch auditions below target because it is too peaky to reach it.
Trait Implementations§
Source§impl Clone for NormReport
impl Clone for NormReport
Source§fn clone(&self) -> NormReport
fn clone(&self) -> NormReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormReport
impl Debug for NormReport
impl Copy for NormReport
Auto Trait Implementations§
impl Freeze for NormReport
impl RefUnwindSafe for NormReport
impl Send for NormReport
impl Sync for NormReport
impl Unpin for NormReport
impl UnsafeUnpin for NormReport
impl UnwindSafe for NormReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more