Struct audact::system::Audact
[−]
[src]
pub struct Audact { /* fields omitted */ }
Struct for the main audact system
Methods
impl Audact
[src]
implementation for the audact struct
fn new(steps: i32, bpm: i32, per_bar: f32) -> Audact
Creates a new instance of audact
fn channel(
&mut self,
freq: f32,
wave: Wave,
volume: f32,
filter: (f32, f32),
seq: Vec<i32>
)
&mut self,
freq: f32,
wave: Wave,
volume: f32,
filter: (f32, f32),
seq: Vec<i32>
)
Add a voice channel to audact for synth playback
fn start(audact: Audact, bars: i32)
Kick off audact to start and loop 'bars' times