Struct ittech::Sample [−][src]
Fields
name: Name
Sample Name, null-terminated (but may also contain nulls)
filename: DOSFilename
DOS Filename, null-terminated
global_volume: u8
Global Volume
default_volume: u8
Default Volume
default_panning: u8
Default Panning
loop_: Option<SampleLoop>
Loop after the note has been released (Off ==) command, or directly after reaching the end point if the sustain loop is off.
sustain_loop: Option<SampleLoop>
Loop after reching the end point while holding the note.
samplerate_c5: u32
C-5 playback frequency.
If set to the native sampling rate of the sound sample playing the sample at C-5 will play it back unchanged.
vibrato_speed: u8
Auto-Vibrato Rate (called Sweep in IT)
vibrato_depth: u8
Auto-Vibrato Depth
vibrato_rate: u8
Auto-Vibrato Sweep (called Rate in IT)
vibrato_type: u8
Auto-Vibrato Type
data: Option<Vec<f32>>
Sample samples converted to a normalized f32
representation (values from -1.0 to 1.0)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Sample
[src]
impl Send for Sample
[src]
impl Sync for Sample
[src]
impl Unpin for Sample
[src]
impl UnwindSafe for Sample
[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>,