Struct synth::note_freq::PortamentoFreq [] [src]

pub struct PortamentoFreq {
    // some fields omitted
}

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

Trait Implementations

impl Decodable for PortamentoFreq
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<PortamentoFreq, __D::Error>

impl Encodable for PortamentoFreq
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for PortamentoFreq
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for PortamentoFreq
[src]

fn clone(&self) -> PortamentoFreq

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for PortamentoFreq
[src]

impl NoteFreq for PortamentoFreq
[src]

fn step_frame(&mut self, frame_ms: Ms)

Step the NoteFreq forward one frame.

fn hz(&self) -> Hz

Step the NoteFreq forward one frame and return the hz for the current frame.