pub struct NoteSetup {Show 21 fields
pub sample_rate: f32,
pub channels: usize,
pub total_samples: usize,
pub start_sample: usize,
pub attack_samples: usize,
pub decay_samples: usize,
pub release_samples: usize,
pub sustain_level: f32,
pub pluck_click: f32,
pub pluck_click_samples: usize,
pub drive: f32,
pub filters: Vec<FilterSpec>,
pub filter_states: Vec<FilterState>,
pub lfo_rate: f32,
pub lfo_depth: f32,
pub lfo_target: Option<String>,
pub voices: usize,
pub unison_detune: f32,
pub volume_env: HashMap<String, Value>,
pub pan_env: HashMap<String, Value>,
pub pitch_env: HashMap<String, Value>,
}Fields§
§sample_rate: f32§channels: usize§total_samples: usize§start_sample: usize§attack_samples: usize§decay_samples: usize§release_samples: usize§sustain_level: f32§pluck_click: f32§pluck_click_samples: usize§drive: f32§filters: Vec<FilterSpec>§filter_states: Vec<FilterState>§lfo_rate: f32§lfo_depth: f32§lfo_target: Option<String>§voices: usize§unison_detune: f32§volume_env: HashMap<String, Value>§pan_env: HashMap<String, Value>§pitch_env: HashMap<String, Value>Auto Trait Implementations§
impl Freeze for NoteSetup
impl RefUnwindSafe for NoteSetup
impl Send for NoteSetup
impl Sync for NoteSetup
impl Unpin for NoteSetup
impl UnwindSafe for NoteSetup
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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