pub enum AudioRead {
Resampled,
Stretched,
Pitched {
stretch: f64,
pitch: f64,
},
PitchedAlong {
ratio: f64,
preserve: bool,
},
}Expand description
How a clip’s sound is read from its source.
Variants§
Resampled
Resampled at the clip’s speed, so its pitch moves with the speed. Loops and freezes read this way.
Stretched
Time-stretched to the clip’s speed, at the source’s pitch.
Pitched
Time-stretched, then resampled.
Fields
PitchedAlong
On a time curve: time-stretched along the curve, then resampled.
Implementations§
Trait Implementations§
impl Copy for AudioRead
impl StructuralPartialEq for AudioRead
Auto Trait Implementations§
impl Forget for AudioRead
impl Freeze for AudioRead
impl Move for AudioRead
impl RefUnwindSafe for AudioRead
impl Send for AudioRead
impl Sync for AudioRead
impl Unpin for AudioRead
impl UnsafeUnpin for AudioRead
impl UnwindSafe for AudioRead
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