1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
ix!();
use crate::{
FMOscillator,
};
impl Init for FMOscillator {
fn init(&mut self) {
self.phase = 0.0;
self.lastoutput = 0.0;
self.driftlfo = 0.0;
self.driftlfo2 = 0.0;
self.am.set_phase(0.0);
self.rm1.set_phase(0.0);
self.rm2.set_phase(0.0);
}
}