Struct midi_msg::WAVMap [−][src]
How to map a WAV
file for MIDI reference. Used by SelectMap
.
Fields
dst_bank: u16
MIDI bank number required to select sound for playing. 0-16383
dst_prog: u8
MIDI program number required to select sound for playing. 0-127
base: u8
MIDI note where sound plays at original pitch
lokey: u8
Lowest MIDI note that plays
hikey: u8
Highest MIDI note that plays
fine: i16
Fine tuning offset -8192-8191, representing the fractional cents to shift in 1/8192ths of a cent
volume: u8
Initial volume 0-127
Trait Implementations
impl Clone for WAVMap
[src]
impl Copy for WAVMap
[src]
impl Debug for WAVMap
[src]
impl Default for WAVMap
[src]
impl PartialEq<WAVMap> for WAVMap
[src]
impl StructuralPartialEq for WAVMap
[src]
Auto Trait Implementations
impl RefUnwindSafe for WAVMap
impl Send for WAVMap
impl Sync for WAVMap
impl Unpin for WAVMap
impl UnwindSafe for WAVMap
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,