pub struct HyperSynth {
pub number: u8,
pub name: String,
pub transpose: bool,
pub table_tick: u8,
pub synth_params: SynthParams,
pub scale: u8,
pub default_chord: [u8; 7],
pub shift: u8,
pub swarm: u8,
pub width: u8,
pub subosc: u8,
pub chords: [[u8; 6]; 16],
}
Fields§
§number: u8
§name: String
§transpose: bool
§table_tick: u8
§synth_params: SynthParams
§scale: u8
§default_chord: [u8; 7]
§shift: u8
§swarm: u8
§width: u8
§subosc: u8
§chords: [[u8; 6]; 16]
Implementations§
Source§impl HyperSynth
impl HyperSynth
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, ) -> M8Result<Self>
Trait Implementations§
Source§impl Clone for HyperSynth
impl Clone for HyperSynth
Source§fn clone(&self) -> HyperSynth
fn clone(&self) -> HyperSynth
Returns a duplicate 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 moreSource§impl Debug for HyperSynth
impl Debug for HyperSynth
Source§impl Describable for HyperSynth
impl Describable for HyperSynth
Source§fn describe<PG: ParameterGatherer>(&self, pg: PG, ver: Version) -> PG
fn describe<PG: ParameterGatherer>(&self, pg: PG, ver: Version) -> PG
Method called to describte the content of the structure in any gatherer.
Source§impl PartialEq for HyperSynth
impl PartialEq for HyperSynth
impl StructuralPartialEq for HyperSynth
Auto Trait Implementations§
impl Freeze for HyperSynth
impl RefUnwindSafe for HyperSynth
impl Send for HyperSynth
impl Sync for HyperSynth
impl Unpin for HyperSynth
impl UnwindSafe for HyperSynth
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