Struct midi_msg::ScaleTuning2Byte
source · pub struct ScaleTuning2Byte {
pub channels: ChannelBitMap,
pub tuning: [i16; 12],
}
Expand description
Set the high-res tuning of all octaves for a set of channels.
Used by UniversalNonRealTimeMsg
and UniversalRealTimeMsg
.
As defined in MIDI Tuning Updated Specification (CA-020/CA-021/RP-020)
Fields§
§channels: ChannelBitMap
§tuning: [i16; 12]
12 semitones of tuning adjustments repeated over all octaves, starting with C Each value represents that fractional number of cents plus the equal temperament tuning, from -8192 to 8192 (steps of .012207 cents)
Trait Implementations§
source§impl Clone for ScaleTuning2Byte
impl Clone for ScaleTuning2Byte
source§fn clone(&self) -> ScaleTuning2Byte
fn clone(&self) -> ScaleTuning2Byte
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScaleTuning2Byte
impl Debug for ScaleTuning2Byte
source§impl PartialEq for ScaleTuning2Byte
impl PartialEq for ScaleTuning2Byte
source§fn eq(&self, other: &ScaleTuning2Byte) -> bool
fn eq(&self, other: &ScaleTuning2Byte) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScaleTuning2Byte
impl Eq for ScaleTuning2Byte
impl StructuralPartialEq for ScaleTuning2Byte
Auto Trait Implementations§
impl Freeze for ScaleTuning2Byte
impl RefUnwindSafe for ScaleTuning2Byte
impl Send for ScaleTuning2Byte
impl Sync for ScaleTuning2Byte
impl Unpin for ScaleTuning2Byte
impl UnwindSafe for ScaleTuning2Byte
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