#[repr(C)]pub enum DspPitchShift {
Pitch = 0,
FFTSize = 1,
OverLap = 2,
MaxChannels = 3,
}
Expand description
Parameter types for the FMOD_DSP_TYPE_PITCHSHIFT filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants§
Pitch = 0
Pitch value. 0.5 to 2.0. Default = 1.0. 0.5 = one octave down, 2.0 = one octave up. 1.0 does not change the pitch.
FFTSize = 1
FFT window size. 256, 512, 1024, 2048, 4096. Default = 1024. Increase this to reduce ‘smearing’. This effect is a warbling sound similar to when an mp3 is encoded at very low bitrates.
OverLap = 2
Removed. Do not use. FMOD now uses 4 overlaps and cannot be changed.
MaxChannels = 3
Maximum channels supported. 0 to 16. 0 = same as fmod’s default output polyphony, 1 = mono, 2 = stereo etc. See remarks for more. Default = 0. It is suggested to leave at 0!
Trait Implementations§
Source§impl Clone for DspPitchShift
impl Clone for DspPitchShift
Source§fn clone(&self) -> DspPitchShift
fn clone(&self) -> DspPitchShift
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DspPitchShift
impl Debug for DspPitchShift
Source§impl PartialEq for DspPitchShift
impl PartialEq for DspPitchShift
Source§impl PartialOrd for DspPitchShift
impl PartialOrd for DspPitchShift
impl Copy for DspPitchShift
impl StructuralPartialEq for DspPitchShift
Auto Trait Implementations§
impl Freeze for DspPitchShift
impl RefUnwindSafe for DspPitchShift
impl Send for DspPitchShift
impl Sync for DspPitchShift
impl Unpin for DspPitchShift
impl UnwindSafe for DspPitchShift
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