Struct synth::note_freq::Portamento
[−]
[src]
pub struct Portamento(pub f64);
A PortamentoNote generator.
Trait Implementations
impl Decodable for Portamento
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Portamento, __D::Error>
impl Encodable for Portamento
[src]
impl Debug for Portamento
[src]
impl Clone for Portamento
[src]
fn clone(&self) -> Portamento
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 Portamento
[src]
impl NoteFreqGenerator for Portamento
[src]
type NoteFreq = PortamentoFreq
The note frequency generated by the NoteFreqModulator type.
fn generate(&self, note_hz: NoteHz, detune: f32, maybe_voice: Option<&Voice<PortamentoFreq>>) -> PortamentoFreq
Construct a new note_freq from the note_hz given by a note_event and the last voice that handled a note. Read more