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
sourceimpl Clone for ScaleTuning1Byte
impl Clone for ScaleTuning1Byte
sourcefn clone(&self) -> ScaleTuning1Byte
fn clone(&self) -> ScaleTuning1Byte
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 ScaleTuning1Byte
impl Debug for ScaleTuning1Byte
sourceimpl PartialEq<ScaleTuning1Byte> for ScaleTuning1Byte
impl PartialEq<ScaleTuning1Byte> for ScaleTuning1Byte
sourcefn eq(&self, other: &ScaleTuning1Byte) -> bool
fn eq(&self, other: &ScaleTuning1Byte) -> bool
impl Copy for ScaleTuning1Byte
impl Eq for ScaleTuning1Byte
impl StructuralEq for ScaleTuning1Byte
impl StructuralPartialEq for ScaleTuning1Byte
Auto Trait Implementations
impl RefUnwindSafe for ScaleTuning1Byte
impl Send for ScaleTuning1Byte
impl Sync for ScaleTuning1Byte
impl Unpin for ScaleTuning1Byte
impl UnwindSafe for ScaleTuning1Byte
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