pub struct ChannelStats {
pub channel: usize,
pub peak_db: f64,
pub true_peak_dbtp: f64,
pub rms_db: f64,
pub dc_offset: f64,
pub dc_offset_db: f64,
pub crest_factor_db: f64,
pub dynamic_range_db: f64,
pub min_rms_db: f64,
pub max_rms_db: f64,
pub full_scale_samples: usize,
pub histogram: Option<Histogram>,
}Expand description
Statistics of one channel.
Fields§
§channel: usize§peak_db: f64§true_peak_dbtp: f64§rms_db: f64§dc_offset: f64Mean sample value (linear).
dc_offset_db: f64§crest_factor_db: f64Peak minus RMS (dB).
dynamic_range_db: f64Spread of 50 ms RMS windows: 95th minus 10th percentile of non-silent windows (dB).
min_rms_db: f64Quietest non-silent 50 ms RMS window (dBFS).
max_rms_db: f64Loudest 50 ms RMS window (dBFS).
full_scale_samples: usizeSamples at or above −0.001 dBFS.
histogram: Option<Histogram>Trait Implementations§
Source§impl Clone for ChannelStats
impl Clone for ChannelStats
Source§impl Debug for ChannelStats
impl Debug for ChannelStats
Auto Trait Implementations§
impl Freeze for ChannelStats
impl RefUnwindSafe for ChannelStats
impl Send for ChannelStats
impl Sync for ChannelStats
impl Unpin for ChannelStats
impl UnsafeUnpin for ChannelStats
impl UnwindSafe for ChannelStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more