Enum tic80::MusicCommand
source · pub enum MusicCommand {
Empty,
Volume,
Chord,
Jump,
Slide,
Pitch,
Vibrato,
Delay,
}
Variants§
Empty
Volume
master volume for LEFT=X / RIGHT=Y channel
Chord
play chord, X=3 Y=7 plays +0,+3,+7 notes
Jump
jump to FRAME=X / BEAT=Y
Slide
slide to note (legato) with TICKS=XY
Pitch
finepitch UP/DOWN=XY-“ DEF2STR(PITCH_DELTA)
Vibrato
vibrato with PERIOD=X and DEPTH=Y
Delay
delay triggering a note with TICKS=XY
Trait Implementations§
source§impl Bitsized for MusicCommand
impl Bitsized for MusicCommand
source§impl From<MusicCommand> for u3
impl From<MusicCommand> for u3
source§fn from(enum_value: MusicCommand) -> Self
fn from(enum_value: MusicCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MusicCommand
impl Send for MusicCommand
impl Sync for MusicCommand
impl Unpin for MusicCommand
impl UnwindSafe for MusicCommand
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