Skip to main content

Crate aura_params

Crate aura_params 

Source

Re-exports§

pub use sample::Float;
pub use sample::Sample;

Modules§

sample
Precision routing for f32 / f64.

Structs§

AudioTap
Lock-free single-producer/single-consumer sample tap for the audio → UI analyzer path (audio→UI sample ring).
BoolParam
A boolean parameter.
EnumParam
An enum parameter.
FloatParam
A continuous floating-point parameter.
IntParam
An integer parameter.
MeterSlot
A meter slot with an auto-assigned ID.
ParamFlags
ParamInfo
Metadata for a single parameter, used by format wrappers.
Smoother
Per-parameter smoother. All methods take &self for interior mutability, enabling use through Arc<Params>.

Enums§

MidiSource
MIDI message kind for ParamInfo::midi_map hints.
ParamRange
Defines how a parameter maps between plain and normalized values.
ParamUnit
ParamValueKind
Which strongly-typed *Param constructor produced this ParamInfo. The #[derive(Params)] macro sets it from the field type so format-side code can branch on the original typing without re-deriving it from range / unit.
SmoothingStyle
Smoothing style for a parameter.

Constants§

DEFAULT_TAP_CAPACITY
Default ring capacity in samples for AudioTap::default - two typical 2048-point analyzer FFT windows’ worth of headroom so a slightly late UI drain doesn’t lose a whole frame.

Traits§

FloatParamReadF32
Precision-routed read accessors for FloatParam at f32.
FloatParamReadF64
Precision-routed read accessors for FloatParam at f64. See FloatParamReadF32 for the contract.
ParamEnum
Trait for enums used as parameters.
Params
Trait implemented by #[derive(Params)] on a struct. Format wrappers use this to enumerate, read, and write parameters.

Functions§

format_param_value
Format a plain parameter value as a display string based on the parameter’s unit.
map_source_to_param
Resolve which parameter a MIDI source on channel is bound to from a param-info list (first match; derive rejects overlaps). Helper for tooling — format wrappers do not call this.
parse_param_value
Inverse of format_param_value for host text_to_value round-trips.