pub struct OpllPatch {}Expand description
One OPLL patch — the 13-field instrument definition.
Fields§
§tl: u8Total level (carrier volume; 0-63 in dB units).
fb: u8Feedback level (modulator self-feedback).
eg: u8Envelope-generator sustain enable.
ml: u8Multiplier (frequency ratio).
ar: u8Attack rate.
dr: u8Decay rate.
sl: u8Sustain level.
rr: u8Release rate.
kr: u8Key-rate scaling.
kl: u8Key-level scaling.
am: u8AM enable.
pm: u8PM enable.
ws: u8Wave select (0=full sine, 1=half sine).
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 UnsafeUnpin 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