Struct midi_msg::ScaleTuning1Byte
source · pub struct ScaleTuning1Byte {
pub channels: ChannelBitMap,
pub tuning: [i8; 12],
}
Expand description
Set the 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: [i8; 12]
12 semitones of tuning adjustments repeated over all octaves, starting with C Each value represents that number of cents plus the equal temperament tuning, from -64 to 63 cents
Trait Implementations§
source§impl Clone for ScaleTuning1Byte
impl Clone for ScaleTuning1Byte
source§fn clone(&self) -> ScaleTuning1Byte
fn clone(&self) -> ScaleTuning1Byte
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 ScaleTuning1Byte
impl Debug for ScaleTuning1Byte
source§impl PartialEq for ScaleTuning1Byte
impl PartialEq for ScaleTuning1Byte
source§fn eq(&self, other: &ScaleTuning1Byte) -> bool
fn eq(&self, other: &ScaleTuning1Byte) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScaleTuning1Byte
impl Eq for ScaleTuning1Byte
impl StructuralPartialEq for ScaleTuning1Byte
Auto Trait Implementations§
impl Freeze for ScaleTuning1Byte
impl RefUnwindSafe for ScaleTuning1Byte
impl Send for ScaleTuning1Byte
impl Sync for ScaleTuning1Byte
impl Unpin for ScaleTuning1Byte
impl UnwindSafe for ScaleTuning1Byte
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