Trait instrument::note_freq::NoteFreqGenerator [] [src]

pub trait NoteFreqGenerator {
    type NoteFreq: NoteFreq;
    fn generate(
        &self,
        note_hz: NoteHz,
        detune: f32,
        voice: Option<&Voice<Self::NoteFreq>>
    ) -> Self::NoteFreq; }

Types designed to modulate the state of a Node.

Associated Types

The note frequency generated by the NoteFreqModulator type.

Required Methods

Construct a new note_freq from the note_hz given by a note_event and the last voice that handled a note.

Implementors