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§
source§impl Clone for ScaleTuningDump1Byte
impl Clone for ScaleTuningDump1Byte
source§fn clone(&self) -> ScaleTuningDump1Byte
fn clone(&self) -> ScaleTuningDump1Byte
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 ScaleTuningDump1Byte
impl Debug for ScaleTuningDump1Byte
source§impl PartialEq for ScaleTuningDump1Byte
impl PartialEq for ScaleTuningDump1Byte
source§fn eq(&self, other: &ScaleTuningDump1Byte) -> bool
fn eq(&self, other: &ScaleTuningDump1Byte) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ScaleTuningDump1Byte
impl Eq for ScaleTuningDump1Byte
impl StructuralPartialEq for ScaleTuningDump1Byte
Auto Trait Implementations§
impl Freeze for ScaleTuningDump1Byte
impl RefUnwindSafe for ScaleTuningDump1Byte
impl Send for ScaleTuningDump1Byte
impl Sync for ScaleTuningDump1Byte
impl Unpin for ScaleTuningDump1Byte
impl UnwindSafe for ScaleTuningDump1Byte
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