Enum rfmod::DspPitchShift [−][src]
#[repr(C)] pub enum DspPitchShift { Pitch, FFTSize, OverLap, MaxChannels, }
Expand description
Parameter types for the FMOD_DSP_TYPE_PITCHSHIFT filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants
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.
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.
Removed. Do not use. FMOD now uses 4 overlaps and cannot be changed.
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
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DspPitchShift
impl Send for DspPitchShift
impl Sync for DspPitchShift
impl Unpin for DspPitchShift
impl UnwindSafe for DspPitchShift
Blanket Implementations
Mutably borrows from an owned value. Read more