pub struct WAVMap {
pub dst_bank: u16,
pub dst_prog: u8,
pub base: u8,
pub lokey: u8,
pub hikey: u8,
pub fine: i16,
pub volume: u8,
}
Expand description
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§
source§impl PartialEq for WAVMap
impl PartialEq for WAVMap
impl Copy for WAVMap
impl Eq for WAVMap
impl StructuralPartialEq for WAVMap
Auto Trait Implementations§
impl Freeze for WAVMap
impl RefUnwindSafe for WAVMap
impl Send for WAVMap
impl Sync for WAVMap
impl Unpin for WAVMap
impl UnwindSafe for WAVMap
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