Struct midi_msg::ScaleTuningDump2Byte
source · pub struct ScaleTuningDump2Byte {
pub tuning_program_num: u8,
pub tuning_bank_num: u8,
pub name: [u8; 16],
pub tuning: [i16; 12],
}
Expand description
Set the high-res tuning of all octaves for a tuning program/bank.
Used by UniversalNonRealTimeMsg
.
As defined in MIDI Tuning Updated Specification (CA-020/CA-021/RP-020)
Fields§
§tuning_program_num: u8
Which tuning program is targeted, 0-127. See Parameter::TuningProgramSelect
.
tuning_bank_num: u8
Which tuning bank is targeted, 0-127. See Parameter::TuningBankSelect
.
name: [u8; 16]
An exactly 16 character name.
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 ScaleTuningDump2Byte
impl Clone for ScaleTuningDump2Byte
source§fn clone(&self) -> ScaleTuningDump2Byte
fn clone(&self) -> ScaleTuningDump2Byte
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 ScaleTuningDump2Byte
impl Debug for ScaleTuningDump2Byte
source§impl PartialEq for ScaleTuningDump2Byte
impl PartialEq for ScaleTuningDump2Byte
source§fn eq(&self, other: &ScaleTuningDump2Byte) -> bool
fn eq(&self, other: &ScaleTuningDump2Byte) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScaleTuningDump2Byte
impl Eq for ScaleTuningDump2Byte
impl StructuralPartialEq for ScaleTuningDump2Byte
Auto Trait Implementations§
impl Freeze for ScaleTuningDump2Byte
impl RefUnwindSafe for ScaleTuningDump2Byte
impl Send for ScaleTuningDump2Byte
impl Sync for ScaleTuningDump2Byte
impl Unpin for ScaleTuningDump2Byte
impl UnwindSafe for ScaleTuningDump2Byte
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