Struct midi_msg::ScaleTuningDump1Byte
source · [−]pub struct ScaleTuningDump1Byte {
pub tuning_program_num: u8,
pub tuning_bank_num: u8,
pub name: [u8; 16],
pub tuning: [i8; 12],
}
Expand description
Set the 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: [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 ScaleTuningDump1Byte
impl Clone for ScaleTuningDump1Byte
sourcefn clone(&self) -> ScaleTuningDump1Byte
fn clone(&self) -> ScaleTuningDump1Byte
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 ScaleTuningDump1Byte
impl Debug for ScaleTuningDump1Byte
sourceimpl PartialEq<ScaleTuningDump1Byte> for ScaleTuningDump1Byte
impl PartialEq<ScaleTuningDump1Byte> for ScaleTuningDump1Byte
sourcefn eq(&self, other: &ScaleTuningDump1Byte) -> bool
fn eq(&self, other: &ScaleTuningDump1Byte) -> bool
impl Copy for ScaleTuningDump1Byte
impl Eq for ScaleTuningDump1Byte
impl StructuralEq for ScaleTuningDump1Byte
impl StructuralPartialEq for ScaleTuningDump1Byte
Auto Trait Implementations
impl RefUnwindSafe for ScaleTuningDump1Byte
impl Send for ScaleTuningDump1Byte
impl Sync for ScaleTuningDump1Byte
impl Unpin for ScaleTuningDump1Byte
impl UnwindSafe for ScaleTuningDump1Byte
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