Expand description
A crate for sharing various software instrument abstractions.
See the Instrument type.
Re-exports§
pub use mode::Mode;
pub use note_freq::NoteFreq;
pub use note_freq::NoteFreqGenerator;
Modules§
Structs§
- Frames
- An iterator that endlessly yields the next
FramePerVoice
for anInstrument
. - Instrument
- A performable
Instrument
type that convertsNote
events into a sequence of voices, each with their own unique amplitude and frequency per frame. This is useful for driving the playback of instrument types like synthesisers or samplers. - Voice
- A single Voice. A Synth may consist of any number of Voices.
Enums§
- Note
State - The current state of the Voice’s note playback.