Trait instrument::note_freq::NoteFreq
[−]
[src]
pub trait NoteFreq: Clone + Debug { fn hz(&self) -> Hz; fn next_hz(&mut self) -> Hz; }
Types to be generated by NoteFreqGenerator
types.
Required Methods
fn hz(&self) -> Hz
Get the current Hz from the NoteFreq.
fn next_hz(&mut self) -> Hz
Calls NoteFreq::hz
and then steps forward Self
by one frame.
Implementors
impl NoteFreq for Hz
impl NoteFreq for PortamentoFreq
impl NoteFreq for Dynamic