Преглед на файлове

Remove source and voice modules, add mode module. Expose Audio, Map, Sample, Sampler and Frames types and Mode trait. Add hound crate behind feature. Add instrument crate.

mitchmindtree преди 8 години
родител
ревизия
0b8ae1bc8d
променени са 1 файла, в които са добавени 7 реда и са изтрити 2 реда
  1. 7 2
      src/lib.rs

+ 7 - 2
src/lib.rs

@@ -1,10 +1,15 @@
+extern crate hound;
+extern crate instrument;
 extern crate pitch_calc as pitch;
 extern crate sample;
 extern crate time_calc as time;
 
+pub use map::{Audio, Map, Sample};
+pub use mode::Mode;
+pub use sampler::{Frames, Sampler};
+
 mod map;
+mod mode;
 mod sampler;
-mod source;
-mod voice;
 
 pub type Velocity = f32;