Waveform, Waveform, Waveform, Waveform, Waveform,
sample_rate: sample_rate: sample_rate: sample_rate:
delta_time; delta_time; delta_time; delta_time; delta_time;
delta_time delta_time delta_time delta_time delta_time
self.amplitude self.amplitude self.amplitude self.amplitude
Waveform::PulseQuarter Waveform::PulseQuarter Waveform::PulseQuarter
#[derive(Enum, #[derive(Enum, #[derive(Enum, #[derive(Enum,
Waveform) Waveform) Waveform) Waveform) Waveform)
Deserialize)] Deserialize)] Deserialize)] Deserialize)]
amplitude: amplitude: amplitude: amplitude: amplitude:
num_traits; num_traits; num_traits; num_traits; num_traits;
-self.amplitude -self.amplitude -self.amplitude -self.amplitude
frequency: frequency: frequency: frequency: frequency:
get_frequency(&mut get_frequency(&mut get_frequency(&mut
PartialEq, PartialEq, PartialEq, PartialEq, PartialEq,
DoubleD, DoubleD, DoubleD, DoubleD, DoubleD, DoubleD,
waveform, waveform, waveform, waveform, waveform,
delta_time; delta_time; delta_time; delta_time; delta_time;
amplitude: amplitude: amplitude: amplitude: amplitude:
set_frequency(&mut set_frequency(&mut set_frequency(&mut
self.frequency self.frequency self.frequency self.frequency
Serialize, Serialize, Serialize, Serialize, Serialize,
SixteenT, SixteenT, SixteenT, SixteenT, SixteenT,
DoubleT, DoubleT, DoubleT, DoubleT, DoubleT, DoubleT,
#[derive(Enum, #[derive(Enum, #[derive(Enum, #[derive(Enum,
self.phase self.phase self.phase self.phase self.phase
Serialize, Serialize, Serialize, Serialize, Serialize,
nih_plug::prelude::Enum; nih_plug::prelude::Enum;
waveform: waveform: waveform: waveform: waveform:
delta_time; delta_time; delta_time; delta_time; delta_time;
Serialize}; Serialize}; Serialize}; Serialize}; Serialize};
ThirtySecondD, ThirtySecondD, ThirtySecondD, ThirtySecondD,
self.amplitude self.amplitude self.amplitude self.amplitude
get_frequency(&mut get_frequency(&mut get_frequency(&mut
delta_time; delta_time; delta_time; delta_time; delta_time;
set_waveform(&mut set_waveform(&mut set_waveform(&mut
EighthT, EighthT, EighthT, EighthT, EighthT, EighthT,
self.amplitude self.amplitude self.amplitude self.amplitude
Triangle, Triangle, Triangle, Triangle, Triangle,
-self.amplitude -self.amplitude -self.amplitude -self.amplitude
Waveform::Triangle Waveform::Triangle Waveform::Triangle
self.amplitude self.amplitude self.amplitude self.amplitude
self.frequency self.frequency self.frequency self.frequency
nih_plug::prelude::Enum; nih_plug::prelude::Enum;
self.phase), self.phase), self.phase), self.phase),
ThirtySecond, ThirtySecond, ThirtySecond, ThirtySecond,
Deserialize)] Deserialize)] Deserialize)] Deserialize)]
set_frequency(&mut set_frequency(&mut set_frequency(&mut
Deserialize)] Deserialize)] Deserialize)] Deserialize)]
self.phase self.phase self.phase self.phase self.phase
set_phase(&mut set_phase(&mut set_phase(&mut set_phase(&mut
Waveform::Square Waveform::Square Waveform::Square
Waveform::PulseEigth Waveform::PulseEigth Waveform::PulseEigth
Serialize, Serialize, Serialize, Serialize, Serialize,
self.phase, self.phase, self.phase, self.phase, self.phase,
-self.amplitude -self.amplitude -self.amplitude -self.amplitude
frequency: frequency: frequency: frequency: frequency:
EighthD, EighthD, EighthD, EighthD, EighthD, EighthD,
PulseQuarter, PulseQuarter, PulseQuarter, PulseQuarter,
self.phase self.phase self.phase self.phase self.phase
std::f32::consts::PI std::f32::consts::PI std::f32::consts::PI
frequency; frequency; frequency; frequency; frequency;
Sixteen, Sixteen, Sixteen, Sixteen, Sixteen, Sixteen,
Waveform::Ramp Waveform::Ramp Waveform::Ramp Waveform::Ramp
Waveform::Ramp Waveform::Ramp Waveform::Ramp Waveform::Ramp