Struct midi_msg::KeyBasedTuningDump[][src]

pub struct KeyBasedTuningDump {
    pub tuning_program_num: u8,
    pub tuning_bank_num: Option<u8>,
    pub name: [AsciiChar; 16],
    pub tunings: Vec<Option<Tuning>>,
}

Set the tunings of all 128 notes. Used by UniversalNonRealTimeMsg.

Fields

tuning_program_num: u8

Which tuning program is targeted, 0-127. See Parameter::TuningProgramSelect.

tuning_bank_num: Option<u8>

Which tuning bank is targeted, 0-127. See Parameter::TuningBankSelect.

name: [AsciiChar; 16]

An exactly 16 character name

tunings: Vec<Option<Tuning>>

Should be exactly 128 Tunings with the index of each value = the MIDI note number being tuned. Excess values will be ignored. If fewer than 128 values are supplied, equal temperament will be applied to the remaining notes. A None value represents “No change”.

Trait Implementations

impl Clone for KeyBasedTuningDump[src]

impl Debug for KeyBasedTuningDump[src]

impl PartialEq<KeyBasedTuningDump> for KeyBasedTuningDump[src]

impl StructuralPartialEq for KeyBasedTuningDump[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.