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
//! Implementation of the `Synth` struct for basic polyphonic, multi-oscillator envelope synthesis.

extern crate envelope as envelope_lib;
extern crate gaussian;
pub extern crate instrument;
extern crate panning;
extern crate pitch_calc as pitch;
extern crate time_calc as time;
extern crate rand;
extern crate sample;
extern crate utils;

pub use dynamic::Synth as Dynamic;
pub use envelope::{Envelope, Point};
pub use envelope::Trait as EnvelopeTrait;
pub use oscillator::{AmpEnvelope, FreqEnvelope, Oscillator, Waveform};
pub use synth::Synth;

pub mod dynamic;
pub mod envelope;
pub mod oscillator;
mod synth;

#[cfg(feature="dsp-chain")]
mod dsp_node;

#[cfg(feature="serde_serialization")]
mod serde;