Struct instrument::note_freq::PortamentoFreq [] [src]

pub struct PortamentoFreq {
    pub current_sample: Samples,
    pub target_samples: Samples,
    pub start_mel: Mel,
    pub target_mel: Mel,
}

A note that interpolates between to given frequencies over the given duration.

Fields

Trait Implementations

impl Copy for PortamentoFreq
[src]

impl Clone for PortamentoFreq
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PortamentoFreq
[src]

Formats the value using the given formatter.

impl PartialEq for PortamentoFreq
[src]

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

This method tests for !=.

impl NoteFreq for PortamentoFreq
[src]

Get the current Hz from the NoteFreq.

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