#[repr(C)]pub enum DspTremolo {
Frequency = 0,
Depth = 1,
Shape = 2,
Skew = 3,
Duty = 4,
Square = 5,
Phase = 6,
Spread = 7,
}Expand description
Parameter types for the FMOD_DSP_TYPE_TREMOLO filter.
Used with Dsp::set_parameter and
Dsp::get_parameter
Variants§
Frequency = 0
LFO frequency in Hz. 0.1 to 20. Default = 4.
Depth = 1
Tremolo depth. 0 to 1. Default = 0.
Shape = 2
LFO shape morph between triangle and sine. 0 to 1. Default = 0.
Skew = 3
Time-skewing of LFO cycle. -1 to 1. Default = 0.
Duty = 4
LFO on-time. 0 to 1. Default = 0.5.
Square = 5
Flatness of the LFO shape. 0 to 1. Default = 0.
Phase = 6
Instantaneous LFO phase. 0 to 1. Default = 0.
Spread = 7
Rotation / auto-pan effect. -1 to 1. Default = 0.
Trait Implementations§
Source§impl Clone for DspTremolo
impl Clone for DspTremolo
Source§fn clone(&self) -> DspTremolo
fn clone(&self) -> DspTremolo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DspTremolo
impl Debug for DspTremolo
Source§impl PartialEq for DspTremolo
impl PartialEq for DspTremolo
Source§impl PartialOrd for DspTremolo
impl PartialOrd for DspTremolo
impl Copy for DspTremolo
impl StructuralPartialEq for DspTremolo
Auto Trait Implementations§
impl Freeze for DspTremolo
impl RefUnwindSafe for DspTremolo
impl Send for DspTremolo
impl Sync for DspTremolo
impl Unpin for DspTremolo
impl UnwindSafe for DspTremolo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more