pub struct TransientAnalysis;Expand description
Transient (attack/release) analysis.
Implementations§
Source§impl TransientAnalysis
impl TransientAnalysis
Sourcepub fn attack_time(signal: &[f32], sample_rate: f32) -> f32
pub fn attack_time(signal: &[f32], sample_rate: f32) -> f32
Attack time: from signal start to 90% of peak, in seconds.
Sourcepub fn release_time(signal: &[f32], sample_rate: f32) -> f32
pub fn release_time(signal: &[f32], sample_rate: f32) -> f32
Release time: from peak to 10% of peak, in seconds.
Sourcepub fn transient_to_steady_ratio(signal: &[f32]) -> f32
pub fn transient_to_steady_ratio(signal: &[f32]) -> f32
Ratio of transient energy (first 10%) to steady-state energy (remaining 90%).
Auto Trait Implementations§
impl Freeze for TransientAnalysis
impl RefUnwindSafe for TransientAnalysis
impl Send for TransientAnalysis
impl Sync for TransientAnalysis
impl Unpin for TransientAnalysis
impl UnsafeUnpin for TransientAnalysis
impl UnwindSafe for TransientAnalysis
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