Enum midi_msg::UniversalRealTimeMsg[][src]

pub enum UniversalRealTimeMsg {
    TimeCodeFull(TimeCode),
    TimeCodeUserBits(UserBits),
    ShowControl(ShowControlMsg),
    BarMarker(BarMarker),
    TimeSignature(TimeSignature),
    TimeSignatureDelayed(TimeSignature),
    MasterVolume(u16),
    MasterBalance(u16),
    MasterFineTuning(i16),
    MasterCoarseTuning(i8),
    GlobalParameterControl(GlobalParameterControl),
    TimeCodeCueing(TimeCodeCueingMsg),
    MachineControlCommand(MachineControlCommandMsg),
    MachineControlResponse(MachineControlResponseMsg),
    TuningNoteChange(TuningNoteChange),
    ScaleTuning1Byte(ScaleTuning1Byte),
    ScaleTuning2Byte(ScaleTuning2Byte),
    ChannelPressureControllerDestination(ControllerDestination),
    PolyphonicKeyPressureControllerDestination(ControllerDestination),
    ControlChangeControllerDestination(ControlChangeControllerDestination),
    KeyBasedInstrumentControl(KeyBasedInstrumentControl),
}

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

Variants

TimeCodeFull(TimeCode)

For use when a SystemCommonMsg::TimeCodeQuarterFrame is not appropriate: When rewinding, fast-forwarding, or otherwise locating and cueing, where sending quarter frame messages continuously would be excessive.

TimeCodeUserBits(UserBits)

Provided for sending SMTPE “user bits”, which are application specific.

ShowControl(ShowControlMsg)

Used to control equipment for liver performances and installations.

BarMarker(BarMarker)

Indicates that the next MIDI clock message is the first clock of a new measure.

TimeSignature(TimeSignature)

Indicates a change in time signature, effective immediately (or on the next MIDI clock).

TimeSignatureDelayed(TimeSignature)

Indicates a change in time signature, effective upon receipt of the next BarMarker message.

MasterVolume(u16)

Change the volume of all sound, from 0 (volume off) to 16383.

MasterBalance(u16)

Change the balance of all sound, from 0 (hard left) to 8192 (center) to 16383 (hard right).

MasterFineTuning(i16)

A value from -8192-8191, used like Parameter::FineTuning, but affecting all channels.

Defined in CA-025.

MasterCoarseTuning(i8)

A value from -64-63, used like Parameter::CoarseTuning, but affecting all channels.

Defined in CA-025.

GlobalParameterControl(GlobalParameterControl)

Used to control parameters on a device that affect all sound, e.g. a global reverb.

TimeCodeCueing(TimeCodeCueingMsg)

Used to define a range of time points.

MachineControlCommand(MachineControlCommandMsg)

Used to control audio recording and production systems.

MachineControlResponse(MachineControlResponseMsg)

Responses to MachineControlCommand.

TuningNoteChange(TuningNoteChange)

Immediately change the tuning of 1 or more notes.

ScaleTuning1Byte(ScaleTuning1Byte)

A set of 12 tunings across all octaves targeting a set of channels, to take effect immediately.

ScaleTuning2Byte(ScaleTuning2Byte)

A set of 12 high-res tunings across all octaves targeting a set of channels, to take effect immediately.

ChannelPressureControllerDestination(ControllerDestination)

Select the destination of a ChannelPressure message.

PolyphonicKeyPressureControllerDestination(ControllerDestination)

Select the destination of a PolyPressure message.

ControlChangeControllerDestination(ControlChangeControllerDestination)

Select the destination of a ControlChange message.

KeyBasedInstrumentControl(KeyBasedInstrumentControl)

Intended to act like Control Change messages, but targeted at an individual key for e.g. changing the release time for individual drum sounds.

Trait Implementations

impl Clone for UniversalRealTimeMsg[src]

impl Debug for UniversalRealTimeMsg[src]

impl PartialEq<UniversalRealTimeMsg> for UniversalRealTimeMsg[src]

impl StructuralPartialEq for UniversalRealTimeMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.