Struct instrument::Frames
[−]
[src]
pub struct Frames<'a, NF: 'a> { /* fields omitted */ }
An iterator that endlessly yields the next FramePerVoice
for an Instrument
.
Methods
impl<'a, NF> Frames<'a, NF> where
NF: NoteFreq,
[src]
NF: NoteFreq,
fn num_active_voices(&self) -> usize
Counts the number of Voice
s that are currently playing a note.
fn next_frame_per_voice(&mut self) -> FramePerVoice<NF>
Yields the next FramePerVoice
for the Instrument
.