Struct glicol_synth::synth::PatternSynth
source · pub struct PatternSynth { /* private fields */ }
Implementations§
source§impl PatternSynth
impl PatternSynth
pub fn new(events: Vec<(f32, f32)>) -> Self
pub fn ref_order(self, ref_order: HashMap<String, usize>) -> Self
pub fn sr(self, sr: usize) -> Self
pub fn period_in_cycle(self, period_in_cycle: f32) -> Self
pub fn cycle_dur(self, cycle_dur: f32) -> Self
pub fn to_boxed_nodedata<const N: usize>( self, channels: usize ) -> NodeData<BoxedNodeSend<N>, N>
Trait Implementations§
source§impl Clone for PatternSynth
impl Clone for PatternSynth
source§fn clone(&self) -> PatternSynth
fn clone(&self) -> PatternSynth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more