Enum instrument::note_freq::DynamicGenerator [] [src]

pub enum DynamicGenerator {
    Portamento(Portamento),
    Constant,
}

A wrapper for switching between NoteFreqGenerators at runtime.

Variants

Methods

impl DynamicGenerator
[src]

Construct a default portamento.

Trait Implementations

impl Copy for DynamicGenerator
[src]

impl Clone for DynamicGenerator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DynamicGenerator
[src]

Formats the value using the given formatter.

impl PartialEq for DynamicGenerator
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl NoteFreqGenerator for DynamicGenerator
[src]

The note frequency generated by the NoteFreqModulator type.

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