pub struct TrackPatternSettings {
pub start_silent: u8,
pub plays_free: u8,
pub trig_mode: u8,
pub trig_quant: u8,
pub oneshot_trk: u8,
}Expand description
Audio & MIDI Track Pattern playback settings.
Fields§
§start_silent: u8Silence any existing audio playback on the Audio Track when switching Patterns.
plays_free: u8Trigger Audio Track playback without any quantization or syncing to other Audio Tracks.
trig_mode: u8Quantization when this Audio Track is Triggered for Playback.
Options
N/A and ONE: 0 (Default)
ONE2: 1
HOLD: 2trig_quant: u8Track Trigger Quantization.
Options
N/A and TR.LEN: 0 (Default)
1/16: 1
2/16: 2
3/16: 3
4/16: 4
6/16: 5
8/16: 6
12/16: 7
16/16: 8
24/16: 9
32/16: 10
48/16: 11
64/16: 12
96/16: 13
128/16: 14
192/16: 15
256/16: 16
DIRECT: 255oneshot_trk: u8Whether to play the track as a ONESHOT track.
Trait Implementations§
Source§impl Clone for TrackPatternSettings
impl Clone for TrackPatternSettings
Source§fn clone(&self) -> TrackPatternSettings
fn clone(&self) -> TrackPatternSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrackPatternSettings
impl Debug for TrackPatternSettings
Source§impl Default for TrackPatternSettings
impl Default for TrackPatternSettings
Source§impl<'de> Deserialize<'de> for TrackPatternSettings
impl<'de> Deserialize<'de> for TrackPatternSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrackPatternSettings
impl PartialEq for TrackPatternSettings
Source§impl Serialize for TrackPatternSettings
impl Serialize for TrackPatternSettings
impl Copy for TrackPatternSettings
impl StructuralPartialEq for TrackPatternSettings
Auto Trait Implementations§
impl Freeze for TrackPatternSettings
impl RefUnwindSafe for TrackPatternSettings
impl Send for TrackPatternSettings
impl Sync for TrackPatternSettings
impl Unpin for TrackPatternSettings
impl UnwindSafe for TrackPatternSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more