Enum ittech::Waveform [−][src]
Oscillator waveforms for commands S3x
, S4x
and S5x
IT retriggers the waveforms for each note - they start playing from their starting point when a new note is played.
Every oscillator waveform is 64 points long, and the speed parameter denotes by how many points per tick the play position is advanced. So at a vibrato speed of 2, the vibrato waveform repeats after 32 ticks.
Canonicalization
The valid values for waveforms are 0..=3
, all out-of-range values are parsed as 3
.
Variants
Sine wave 0
Sawtooth (ramp-down) wave 1
Square wave 2
White noise 3
Trait Implementations
impl Clone for Waveform
[src]
impl Copy for Waveform
[src]
impl Debug for Waveform
[src]
impl PartialEq<Waveform> for Waveform
[src]
fn eq(&self, other: &Waveform) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Waveform
[src]
Auto Trait Implementations
impl RefUnwindSafe for Waveform
[src]
impl Send for Waveform
[src]
impl Sync for Waveform
[src]
impl Unpin for Waveform
[src]
impl UnwindSafe for Waveform
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,