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
pub fn new(steps: i32, bpm: i32, per_bar: f32) -> Audact
[src]
Creates a new instance of audact
pub fn channel(
&mut self,
freq: f32,
wave: Wave,
volume: f32,
processing: Processing,
seq: Vec<i32>
)
[src]
&mut self,
freq: f32,
wave: Wave,
volume: f32,
processing: Processing,
seq: Vec<i32>
)
Add a voice channel to audact for synth playback
pub fn start(&mut self, bars: i32)
[src]
Kick off audact to start and loop 'bars' times