pub struct TunableFluid { /* private fields */ }Expand description
A TunableSynth implementation of fluid-xenth for later use in an AotTuner or JitTuner.
Trait Implementations§
Source§impl TunableSynth for TunableFluid
impl TunableSynth for TunableFluid
type Result = Result<(), SendCommandError>
type NoteAttr = u8
type GlobalAttr = Box<dyn FnMut(&mut Synth, u8) -> Result<(), OxiError> + Send>
fn num_channels(&self) -> usize
fn group_by(&self) -> GroupBy
fn notes_detune( &mut self, channel: usize, detuned_notes: &[(Note, Ratio)], ) -> SendCommandResult
fn note_on( &mut self, channel: usize, started_note: Note, velocity: u8, ) -> SendCommandResult
fn note_off( &mut self, channel: usize, stopped_note: Note, _velocity: u8, ) -> SendCommandResult
fn note_attr( &mut self, channel: usize, affected_note: Note, pressure: u8, ) -> SendCommandResult
fn global_attr(&mut self, command: ChannelCommand) -> SendCommandResult
Auto Trait Implementations§
impl Freeze for TunableFluid
impl RefUnwindSafe for TunableFluid
impl Send for TunableFluid
impl Sync for TunableFluid
impl Unpin for TunableFluid
impl UnwindSafe for TunableFluid
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