Struct synth::dynamic::Synth
[−]
[src]
pub struct Synth(pub SynthType);
A wrapper for extending the functionality of a completely dynamic Synth.
Methods
impl Synth
[src]
fn set_mode(&mut self, mode: Dynamic)
Set the mode of the synth.
fn set_note_freq_gen(&mut self, note_freq_gen: DynamicGenerator)
Set the note frequency generator to be used by the synth.
Trait Implementations
impl Decodable for Synth
[src]
impl Encodable for Synth
[src]
impl Clone for Synth
[src]
fn clone(&self) -> Synth
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 Debug for Synth
[src]
impl Deref for Synth
[src]
type Target = SynthType
The resulting type after dereferencing
fn deref<'a>(&'a self) -> &'a SynthType
The method called to dereference a value
impl DerefMut for Synth
[src]
fn deref_mut<'a>(&'a mut self) -> &'a mut SynthType
The method called to mutably dereference a value
impl<S> Node<S> for Synth where S: Sample
[src]
fn audio_requested(&mut self, output: &mut [S], settings: Settings)
Request audio from the Node given some stream format Settings. If the Node has no inputs, the buffer
will be zeroed. If the Node has some inputs, the buffer
will consist of the inputs summed together. Read more
fn dry(&self) -> f32
Following the call to the Node
's audio_requested
method, the Graph
will sum together some of the original (dry) signal with some of the processed (wet) signal. Read more
fn wet(&self) -> f32
Following the call to the Node
's audio_requested
method, the Graph
will sum together some of the original (dry) signal with some of the processed (wet) signal. Read more