Enum midi_msg::UniversalNonRealTimeMsg

source ·
pub enum UniversalNonRealTimeMsg {
Show 20 variants SampleDump(SampleDumpMsg), ExtendedSampleDump(ExtendedSampleDumpMsg), TimeCodeCueingSetup(TimeCodeCueingSetupMsg), IdentityRequest, IdentityReply(IdentityReply), FileDump(FileDumpMsg), TuningBulkDumpRequest(u8, Option<u8>), KeyBasedTuningDump(KeyBasedTuningDump), ScaleTuningDump1Byte(ScaleTuningDump1Byte), ScaleTuningDump2Byte(ScaleTuningDump2Byte), TuningNoteChange(TuningNoteChange), ScaleTuning1Byte(ScaleTuning1Byte), ScaleTuning2Byte(ScaleTuning2Byte), GeneralMidi(GeneralMidi), FileReference(FileReferenceMsg), EOF, Wait, Cancel, NAK(u8), ACK(u8),
}
Expand description

A diverse range of messages for non-real-time applications. Used by SystemExclusiveMsg::UniversalNonRealTime.

Variants§

§

SampleDump(SampleDumpMsg)

Used to transmit sampler data.

§

ExtendedSampleDump(ExtendedSampleDumpMsg)

Additional ways/features for transmitting sampler data per CA-019.

§

TimeCodeCueingSetup(TimeCodeCueingSetupMsg)

Used to define a range of time points per MMA0001.

§

IdentityRequest

Request that the targeted device identify itself.

§

IdentityReply(IdentityReply)

The response to an IdentityRequest.

§

FileDump(FileDumpMsg)

Used to transmit general file data.

§

TuningBulkDumpRequest(u8, Option<u8>)

Request a tuning bulk dump for the provided tuning program number, 0-127, and optional tuning bank number, 0-127

§

KeyBasedTuningDump(KeyBasedTuningDump)

A “key based” tuning dump, with one tuning for every key.

§

ScaleTuningDump1Byte(ScaleTuningDump1Byte)

A “1 byte scale” tuning dump, with 12 tunings applied across all octaves.

§

ScaleTuningDump2Byte(ScaleTuningDump2Byte)

A “2 byte scale” tuning dump, with 12 tunings applied across all octaves. Like ScaleTuningDump1Byte but higher resolution.

§

TuningNoteChange(TuningNoteChange)

Change the tuning of 1 or more notes for the next sounding of those notes.

§

ScaleTuning1Byte(ScaleTuning1Byte)

Similar to ScaleTuningDump1Byte, but targets a channel, to take effect the next time a note is sounded.

§

ScaleTuning2Byte(ScaleTuning2Byte)

Similar to ScaleTuningDump2Byte, but targets a channel, to take effect the next time a note is sounded.

§

GeneralMidi(GeneralMidi)

Turn on or off General MIDI 1 or 2.

§

FileReference(FileReferenceMsg)

Messages for accessing files on a shared network or filesystem.

§

EOF

Used by both SampleDump and FileDump to indicate all packets have been sent.

§

Wait

Used by both SampleDump and FileDump from the receiver to request that the sender does not send any more packets until an ACK or NAK is sent.

§

Cancel

Used to abort an ongoing SampleDump or FileDump.

§

NAK(u8)

Used by both SampleDump and FileDump from the receiver to indicate that it did not receive the last packet correctly.

§

ACK(u8)

Used by both SampleDump and FileDump from the receiver to indicate that it received the last packet correctly.

Trait Implementations§

source§

impl Clone for UniversalNonRealTimeMsg

source§

fn clone(&self) -> UniversalNonRealTimeMsg

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UniversalNonRealTimeMsg

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for UniversalNonRealTimeMsg

source§

fn eq(&self, other: &UniversalNonRealTimeMsg) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for UniversalNonRealTimeMsg

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.