pub struct CM32L { /* private fields */ }Expand description
CM-32L synthesizer state.
Implementations§
Trait Implementations§
Source§impl Synth for CM32L
impl Synth for CM32L
Source§fn current_time(&self) -> u32
fn current_time(&self) -> u32
Returns the number of frames rendered so far.
Source§fn play_msg_at(&mut self, msg: u32, time: u32) -> bool
fn play_msg_at(&mut self, msg: u32, time: u32) -> bool
Enqueues one MIDI message at a specific frame. Read more
Source§fn play_sysex_at(&mut self, sysex: &[u8], time: u32) -> bool
fn play_sysex_at(&mut self, sysex: &[u8], time: u32) -> bool
Enqueues one MIDI System Exclusive message at a specific frame. Read more
Source§fn render(&mut self, out: &mut [Frame])
fn render(&mut self, out: &mut [Frame])
Renders audio samples into a slice of frames. Read more
Source§fn apply_command(&mut self, command: ControlCommand) -> Result<(), ControlError>
fn apply_command(&mut self, command: ControlCommand) -> Result<(), ControlError>
Applies a typed runtime control command.
Auto Trait Implementations§
impl Freeze for CM32L
impl RefUnwindSafe for CM32L
impl Send for CM32L
impl Sync for CM32L
impl Unpin for CM32L
impl UnsafeUnpin for CM32L
impl UnwindSafe for CM32L
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more