pub struct FxDelay { /* private fields */ }
Expand description
Delay parameters for the kit.
Implementations§
source§impl FxDelay
impl FxDelay
sourcepub fn set_time(&mut self, time: usize) -> Result<(), RytmError>
pub fn set_time(&mut self, time: usize) -> Result<(), RytmError>
Sets the time of the delay.
Range: 0..=127
sourcepub fn set_time_on_grid(&mut self, time: FxDelayTimeOnTheGrid)
pub fn set_time_on_grid(&mut self, time: FxDelayTimeOnTheGrid)
Sets the time of the delay on the grid.
sourcepub fn set_ping_pong(&mut self, enable: bool)
pub fn set_ping_pong(&mut self, enable: bool)
Sets the ping pong of the delay.
sourcepub fn set_stereo_width(&mut self, stereo_width: isize) -> Result<(), RytmError>
pub fn set_stereo_width(&mut self, stereo_width: isize) -> Result<(), RytmError>
Sets the stereo width of the delay.
Range: -64..=63
sourcepub fn set_feedback(&mut self, feedback: usize) -> Result<(), RytmError>
pub fn set_feedback(&mut self, feedback: usize) -> Result<(), RytmError>
Sets the feedback of the delay.
Range: 0..=
198`
sourcepub fn set_hpf(&mut self, hpf: usize) -> Result<(), RytmError>
pub fn set_hpf(&mut self, hpf: usize) -> Result<(), RytmError>
Sets the high pass filter of the delay.
Range: 0..=127
sourcepub fn set_lpf(&mut self, lpf: usize) -> Result<(), RytmError>
pub fn set_lpf(&mut self, lpf: usize) -> Result<(), RytmError>
Sets the low pass filter of the delay.
Range: 0..=127
sourcepub fn set_reverb_send(&mut self, reverb_send: usize) -> Result<(), RytmError>
pub fn set_reverb_send(&mut self, reverb_send: usize) -> Result<(), RytmError>
Sets the reverb send of the delay.
Range: 0..=127
sourcepub fn set_volume(&mut self, volume: usize) -> Result<(), RytmError>
pub fn set_volume(&mut self, volume: usize) -> Result<(), RytmError>
Sets the volume of the delay.
Range: 0..=127
sourcepub const fn stereo_width(&self) -> isize
pub const fn stereo_width(&self) -> isize
Returns the stereo width of the delay.
Range: -64..=63
sourcepub const fn reverb_send(&self) -> usize
pub const fn reverb_send(&self) -> usize
Returns the reverb send of the delay.
Range: 0..=127
Trait Implementations§
source§impl<'de> Deserialize<'de> for FxDelay
impl<'de> Deserialize<'de> for FxDelay
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for FxDelay
impl Ord for FxDelay
source§impl PartialEq for FxDelay
impl PartialEq for FxDelay
source§impl PartialOrd for FxDelay
impl PartialOrd for FxDelay
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for FxDelay
impl Eq for FxDelay
impl StructuralEq for FxDelay
impl StructuralPartialEq for FxDelay
Auto Trait Implementations§
impl RefUnwindSafe for FxDelay
impl Send for FxDelay
impl Sync for FxDelay
impl Unpin for FxDelay
impl UnwindSafe for FxDelay
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