#[non_exhaustive]pub struct Levels {
pub floor: f32,
pub reference: f32,
pub on: f32,
pub off: f32,
}Expand description
Levels resolved against one analysis and a segmentation threshold.
PCM values are in dBFS; external scores are probabilities. Signal-free PCM frames are excluded
from the percentiles. Obtain these values with Analysis::levels.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.floor: f3210th percentile of signal-bearing frame values.
reference: f3299th percentile of signal-bearing frame values.
on: f32Level at which silence becomes sound.
off: f32Sound ends below this level.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Levels
impl RefUnwindSafe for Levels
impl Send for Levels
impl Sync for Levels
impl Unpin for Levels
impl UnsafeUnpin for Levels
impl UnwindSafe for Levels
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