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 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

impl Clone for DspPitchShift
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DspPitchShift
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for DspPitchShift
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for DspPitchShift
[src]

Formats the value using the given formatter.

impl Copy for DspPitchShift
[src]