pub enum TransientPolicy {
Smear,
Reset {
spectral_flux_threshold: f64,
},
}Expand description
Attack-handling policy for the phase vocoder.
Variants§
Smear
Propagate every frame continuously, allowing the classic vocoder smear.
Reset
Reset synthesis phases when normalized positive spectral flux reaches a threshold.
Trait Implementations§
Source§impl Clone for TransientPolicy
impl Clone for TransientPolicy
Source§fn clone(&self) -> TransientPolicy
fn clone(&self) -> TransientPolicy
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 moreimpl Copy for TransientPolicy
Source§impl Debug for TransientPolicy
impl Debug for TransientPolicy
Source§impl PartialEq for TransientPolicy
impl PartialEq for TransientPolicy
impl StructuralPartialEq for TransientPolicy
Auto Trait Implementations§
impl Freeze for TransientPolicy
impl RefUnwindSafe for TransientPolicy
impl Send for TransientPolicy
impl Sync for TransientPolicy
impl Unpin for TransientPolicy
impl UnsafeUnpin for TransientPolicy
impl UnwindSafe for TransientPolicy
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