audact

crates.io version Build status Documentation

Simple synth and sequencing lib

Contains: - Simple sine, square, saw and noise waveforms. - Hard-edge cut-off filters. - Basic sequencing of a single pattern.

Usage:

```rust extern crate audact;

use audact::system::{ Audact, Wave }; use audact::notes::stdnotefreq;

fn main() { let mut audact = Audact::new(16, 120, 4f32);

audact.channel(std_note_freq(0), Wave::Sine, 1f32, (0f32, 1f32), vec![0,4,8,12]);
audact.channel(std_note_freq(2), Wave::Square, 1f32, (0f32, 1f32), vec![2,6,10,14]);

Audact::start(audact, 1);

} ```