Enum rfmod::DspTremolo
[−]
[src]
#[repr(C)]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 Clone for DspTremolo
[src]
fn clone(&self) -> DspTremolo
[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 DspTremolo
[src]
fn eq(&self, __arg_0: &DspTremolo) -> 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 DspTremolo
[src]
fn partial_cmp(&self, __arg_0: &DspTremolo) -> 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