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
sourceimpl Clone for ScaleTuning2Byte
impl Clone for ScaleTuning2Byte
sourcefn clone(&self) -> ScaleTuning2Byte
fn clone(&self) -> ScaleTuning2Byte
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ScaleTuning2Byte
impl Debug for ScaleTuning2Byte
sourceimpl PartialEq<ScaleTuning2Byte> for ScaleTuning2Byte
impl PartialEq<ScaleTuning2Byte> for ScaleTuning2Byte
sourcefn eq(&self, other: &ScaleTuning2Byte) -> bool
fn eq(&self, other: &ScaleTuning2Byte) -> bool
impl Copy for ScaleTuning2Byte
impl Eq for ScaleTuning2Byte
impl StructuralEq for ScaleTuning2Byte
impl StructuralPartialEq for ScaleTuning2Byte
Auto Trait Implementations
impl RefUnwindSafe for ScaleTuning2Byte
impl Send for ScaleTuning2Byte
impl Sync for ScaleTuning2Byte
impl Unpin for ScaleTuning2Byte
impl UnwindSafe for ScaleTuning2Byte
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more