pub struct Patch {
pub pitch_envelope: PitchEnvelope,
pub algorithm: u8,
pub feedback: u8,
pub reset_phase: u8,
pub modulations: ModulationParameters,
pub transpose: u8,
pub name: [char; 10],
pub active_operators: u8,
/* private fields */
}Expand description
Complete DX7 patch
Fields§
§pitch_envelope: PitchEnvelopePitch envelope
algorithm: u8Algorithm number (0-31)
feedback: u8Feedback amount (0-7)
reset_phase: u8Reset oscillator phases on note trigger
modulations: ModulationParametersLFO/modulation parameters
transpose: u8Transpose value (0-48)
name: [char; 10]Patch name (10 characters)
active_operators: u8Active operators bitmask
Implementations§
Trait Implementations§
impl Copy for Patch
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnwindSafe for Patch
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