StrainConstantsKeys

Struct StrainConstantsKeys 

Source
pub struct StrainConstantsKeys {
Show 36 fields pub base: StrainConstants, pub ln_end_threshold_ms: f32, pub chord_clump_tolerance_ms: f32, pub graph_interval_size_ms: i32, pub graph_interval_offset_ms: i32, pub s_jack_lower_boundary_ms: f32, pub s_jack_upper_boundary_ms: f32, pub s_jack_max_strain_value: f32, pub s_jack_curve_exponential: f32, pub t_jack_lower_boundary_ms: f32, pub t_jack_upper_boundary_ms: f32, pub t_jack_max_strain_value: f32, pub t_jack_curve_exponential: f32, pub roll_lower_boundary_ms: f32, pub roll_upper_boundary_ms: f32, pub roll_max_strain_value: f32, pub roll_curve_exponential: f32, pub bracket_lower_boundary_ms: f32, pub bracket_upper_boundary_ms: f32, pub bracket_max_strain_value: f32, pub bracket_curve_exponential: f32, pub roll_ratio_tolerance_ms: f32, pub roll_ratio_multiplier: f32, pub roll_max_length: f32, pub roll_length_multiplier: f32, pub vibro_action_duration_ms: f32, pub vibro_action_tolerance_ms: f32, pub vibro_multiplier: f32, pub vibro_max_length: f32, pub vibro_length_multiplier: f32, pub ln_layer_threshold_ms: f32, pub ln_layer_tolerance_ms: f32, pub ln_base_multiplier: f32, pub ln_release_after_multiplier: f32, pub ln_release_before_multiplier: f32, pub ln_tap_multiplier: f32,
}
Expand description

Strain constants specific to Keys mode

Fields§

§base: StrainConstants

Base strain constants

§ln_end_threshold_ms: f32

When Long Notes start/end after this threshold, it will be considered for a specific multiplier. Non-Dynamic Constant. Do not use for optimization.

§chord_clump_tolerance_ms: f32

When separate notes are under this threshold, it will count as a chord. Non-Dynamic Constant. Do not use for optimization.

§graph_interval_size_ms: i32

Size of each graph partition in milliseconds. Non-Dynamic Constant. Do not use for optimization.

§graph_interval_offset_ms: i32

Offset between each graph partition in milliseconds. Non-Dynamic Constant. Do not use for optimization.

§s_jack_lower_boundary_ms: f32§s_jack_upper_boundary_ms: f32§s_jack_max_strain_value: f32§s_jack_curve_exponential: f32§t_jack_lower_boundary_ms: f32§t_jack_upper_boundary_ms: f32§t_jack_max_strain_value: f32§t_jack_curve_exponential: f32§roll_lower_boundary_ms: f32§roll_upper_boundary_ms: f32§roll_max_strain_value: f32§roll_curve_exponential: f32§bracket_lower_boundary_ms: f32§bracket_upper_boundary_ms: f32§bracket_max_strain_value: f32§bracket_curve_exponential: f32§roll_ratio_tolerance_ms: f32§roll_ratio_multiplier: f32§roll_max_length: f32§roll_length_multiplier: f32§vibro_action_duration_ms: f32§vibro_action_tolerance_ms: f32§vibro_multiplier: f32§vibro_max_length: f32§vibro_length_multiplier: f32§ln_layer_threshold_ms: f32§ln_layer_tolerance_ms: f32§ln_base_multiplier: f32§ln_release_after_multiplier: f32§ln_release_before_multiplier: f32§ln_tap_multiplier: f32

Implementations§

Trait Implementations§

Source§

impl Clone for StrainConstantsKeys

Source§

fn clone(&self) -> StrainConstantsKeys

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for StrainConstantsKeys

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.