Struct ittech::InstrumentHeader [−][src]
Fields
name: Name
Instrument Name, null-terminated (but may also contain nulls)
filename: DOSFilename
DOS Filename, null-terminated
flags: InstrumentFlags
new_note_action: u8
New Note Action
duplicate_check_type: u8
Duplicate Note Check Type
duplicate_check_action: u8
Duplicate Note Check Action
instrument_fadeout: u8
Instrument Fadeout
0..=256, although values up to 1024 would be sensible. Up to IT2.07, the limit was 0..=128.
OpenMPT uses u16
but we replaced it with u8
to limit the range.
pitch_pan_separation: i8
Pitch/Pan Separatation
pitch_pan_centre: u8
Pitch/Pan Centre
global_volume: u8
Global Volume
default_panning: RangedU8<0, 128>
Panning
random_volume_variation: RangedU8<0, 100>
Random volume variation (percentage)
random_panning_variation: RangedU8<0, 64>
Pan Swing
trkver: u16
Tracker ID
number_of_samples: u8
Number of embedded samples
initial_filter_cutoff: RangedU8<0, 128>
Filter Cutoff
initial_filter_resonance: RangedU8<0, 128>
Filter Resonance
mch: u8
MIDI Channel
mpr: u8
MIDI Program
mbank: [u8; 2]
MIDI Bank
sample_map: SampleMap
Sample / Transpose map
volume_envelope: Envelope
Volume Envelope
panning_envelope: Envelope
Pan Envelope
pitch_filter_envelope: Envelope
Pitch / Filter Envelope
Trait Implementations
impl Clone for InstrumentHeader
[src]
fn clone(&self) -> InstrumentHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for InstrumentHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstrumentHeader
[src]
impl Send for InstrumentHeader
[src]
impl Sync for InstrumentHeader
[src]
impl Unpin for InstrumentHeader
[src]
impl UnwindSafe for InstrumentHeader
[src]
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>,