Struct midi_msg::ScaleTuningDump1Byte[][src]

pub struct ScaleTuningDump1Byte {
    pub tuning_program_num: u8,
    pub tuning_bank_num: u8,
    pub name: [AsciiChar; 16],
    pub tuning: [i8; 12],
}

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: [AsciiChar; 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

impl Clone for ScaleTuningDump1Byte[src]

impl Copy for ScaleTuningDump1Byte[src]

impl Debug for ScaleTuningDump1Byte[src]

impl PartialEq<ScaleTuningDump1Byte> for ScaleTuningDump1Byte[src]

impl StructuralPartialEq for ScaleTuningDump1Byte[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.