Enum rfmod::DspPitchShift
[−]
[src]
#[repr(C)]pub enum DspPitchShift { Pitch, FFTSize, OverLap, MaxChannels, }
Parameter types for the FMOD_DSP_TYPE_PITCHSHIFT filter.
Used with Dsp::set_parameter
and
Dsp::get_parameter
Variants
Pitch
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
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
Removed. Do not use. FMOD now uses 4 overlaps and cannot be changed.
MaxChannels
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
impl Clone for DspPitchShift
[src]
fn clone(&self) -> DspPitchShift
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DspPitchShift
[src]
fn eq(&self, __arg_0: &DspPitchShift) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl PartialOrd for DspPitchShift
[src]
fn partial_cmp(&self, __arg_0: &DspPitchShift) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more