Enum midi_msg::UniversalRealTimeMsg
source · pub enum UniversalRealTimeMsg {
Show 21 variants
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),
}
Expand description
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§
source§impl Clone for UniversalRealTimeMsg
impl Clone for UniversalRealTimeMsg
source§fn clone(&self) -> UniversalRealTimeMsg
fn clone(&self) -> UniversalRealTimeMsg
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UniversalRealTimeMsg
impl Debug for UniversalRealTimeMsg
source§impl PartialEq for UniversalRealTimeMsg
impl PartialEq for UniversalRealTimeMsg
source§fn eq(&self, other: &UniversalRealTimeMsg) -> bool
fn eq(&self, other: &UniversalRealTimeMsg) -> bool
self
and other
values to be equal, and is used
by ==
.