1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/*! Simple synth and sequencing lib Usage: ``` extern crate audact; use audact::system::{ Audact, Wave }; fn main() { let mut audact = Audact::new(16, 120, 4f32); audact.voice_channel(100.0, Wave::Sine, vec![0,4,8,12]).unwrap(); audact.voice_channel(200.0, Wave::Square, vec![2,6,10,14]).unwrap(); Audact::start(audact); } ``` */ #![deny(missing_docs)] extern crate cpal; extern crate futures; extern crate rand; /// Module for the main audact system pub mod system; /// Module containing note frequencies pub mod notes;