pub struct FMSynth {
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub synth_params: SynthParams,
pub algo: FmAlgo,
pub operators: [Operator; 4],
pub mod1: u8,
pub mod2: u8,
pub mod3: u8,
pub mod4: u8,
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§synth_params: SynthParams
§algo: FmAlgo
§operators: [Operator; 4]
§mod1: u8
§mod2: u8
§mod3: u8
§mod4: u8
Implementations§
Source§impl FMSynth
impl FMSynth
pub fn command_name(&self, _ver: Version) -> &'static [&'static str]
pub fn destination_names(&self, _ver: Version) -> &'static [&'static str]
Sourcepub fn filter_types(&self, _ver: Version) -> &'static [&'static str]
pub fn filter_types(&self, _ver: Version) -> &'static [&'static str]
List of all the applyable filter types for the instrument
pub fn human_readable_filter(&self) -> &'static str
pub fn write(&self, ver: Version, w: &mut Writer)
pub fn from_reader( ver: Version, reader: &mut Reader, number: u8, version: Version, ) -> M8Result<Self>
Trait Implementations§
impl StructuralPartialEq for FMSynth
Auto Trait Implementations§
impl Freeze for FMSynth
impl RefUnwindSafe for FMSynth
impl Send for FMSynth
impl Sync for FMSynth
impl Unpin for FMSynth
impl UnwindSafe for FMSynth
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