pub enum ControlParamKind {
Show 13 variants
PotPosition,
LfoRate,
LfoDepth,
BbdClockRate,
BbdFeedback,
DelayTime,
DelayFeedback,
SpringDwell,
SpringDecay,
SpringDamping,
SpringMix,
SwitchPosition {
num_positions: usize,
},
Trigger,
}Expand description
Classification of a component’s controllable parameter.
Variants§
PotPosition
Potentiometer position (0–1) — resolved to PotInStage/PotInMultiNlStage/etc.
LfoRate
LFO rate (0–1 normalized).
LfoDepth
LFO depth/amplitude (0–1 normalized).
BbdClockRate
BBD clock rate (0–1 → delay time).
BbdFeedback
BBD feedback amount (0–1).
DelayTime
Delay line time (0–1 normalized).
DelayFeedback
Delay line feedback (0–1).
SpringDwell
Spring reverb dwell/drive input trim (0–1 normalized).
SpringDecay
Spring reverb decay → RT60 authority (0–1 normalized).
SpringDamping
Spring reverb damping LPF cutoff (0–1 normalized).
SpringMix
Spring reverb wet/dry mix (0–1 normalized).
SwitchPosition
Switch position selector.
Trigger
Fire a single-sample impulse (drum trigger).
Trait Implementations§
Source§impl Clone for ControlParamKind
impl Clone for ControlParamKind
Source§fn clone(&self) -> ControlParamKind
fn clone(&self) -> ControlParamKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControlParamKind
impl Debug for ControlParamKind
Source§impl PartialEq for ControlParamKind
impl PartialEq for ControlParamKind
Source§fn eq(&self, other: &ControlParamKind) -> bool
fn eq(&self, other: &ControlParamKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlParamKind
Auto Trait Implementations§
impl Freeze for ControlParamKind
impl RefUnwindSafe for ControlParamKind
impl Send for ControlParamKind
impl Sync for ControlParamKind
impl Unpin for ControlParamKind
impl UnsafeUnpin for ControlParamKind
impl UnwindSafe for ControlParamKind
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