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

Get the current Hz from the NoteFreq.

Calls NoteFreq::hz and then steps forward Self by one frame.

Implementors