Enum rfmod::DspTremolo [] [src]

pub enum DspTremolo {
    Frequency,
    Depth,
    Shape,
    Skew,
    Duty,
    Square,
    Phase,
    Spread,
}

Parameter types for the FMOD_DSP_TYPE_TREMOLO filter. Used with Dsp::set_parameter and Dsp::get_parameter

Variants

Frequency

LFO frequency in Hz. 0.1 to 20. Default = 4.

Depth

Tremolo depth. 0 to 1. Default = 0.

Shape

LFO shape morph between triangle and sine. 0 to 1. Default = 0.

Skew

Time-skewing of LFO cycle. -1 to 1. Default = 0.

Duty

LFO on-time. 0 to 1. Default = 0.5.

Square

Flatness of the LFO shape. 0 to 1. Default = 0.

Phase

Instantaneous LFO phase. 0 to 1. Default = 0.

Spread

Rotation / auto-pan effect. -1 to 1. Default = 0.

Trait Implementations

impl Copy for DspTremolo
[src]

impl Debug for DspTremolo
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialOrd for DspTremolo
[src]

fn partial_cmp(&self, __arg_0: &DspTremolo) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, other: &Rhs) -> bool
1.0.0

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

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

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

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

impl PartialEq for DspTremolo
[src]

fn eq(&self, __arg_0: &DspTremolo) -> bool

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

This method tests for !=.

impl Clone for DspTremolo
[src]

fn clone(&self) -> DspTremolo

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more