Skip to main content

Crate iced_audio

Crate iced_audio 

Source

Modules§

h_slider
Display an interactive horizontal slider that controls a NormalParam
knob
Display an interactive rotating knob that controls a NormalParam
knob_angle_range
The range between the minimum and maximum angle (in radians) a knob will rotate.
math
Math helper functions
mod_range_input
Display an interactive dot that controls an NormalParam
modulation_range
The state of a modulation range
normal
An f32 value that is gauranteed to be constrained to the range of
offset
Offset type
param
Module for the NormalParam struct
ramp
Display a ramp control that controls a NormalParam. It is usually used to represent the easing of a parameter between two points in time.
range
Ranges of parameter values that map to a Normal
style
Various styles for widgets
text_marks
tick_marks
v_slider
Display an interactive vertical slider that controls a NormalParam
virtual_slider
xy_pad
Display an interactive 2D XY Pad that controls two NormalParam parameters at once. One in the x coordinate and one in the y coordinate.

Structs§

DBRange
A range that defines a continuous logarithmic range of dB values, with an inflection/stationary point at 0 dB
FloatRange
A range that maps a continuous linear range of f32 values to a Normal
FreqRange
A NormalParam that defines a continuous logarithmic range of f32 frequency values, with each octave in the 10 octave spectrum spaced evenly.
HSlider
A horizontal slider GUI widget that controls a NormalParam
IntRange
A range that defines a discrete linear range of i32 values
Knob
A rotating knob GUI widget that controls a NormalParam
KnobAngleRange
The range between the minimum and maximum angle (in radians) a knob will rotate.
ModRangeInput
An interactive dot that controls an NormalParam
ModulationRange
The state of a modulation range
Normal
An f32 value that is guaranteed to be constrained to the range of
NormalParam
A paramater that contains a normalized value and a default_value.
Offset
A 2D offset vector with a horizontal and vertical offset in pixels.
Ramp
A ramp GUI widget that controls a NormalParam. It is usually used to represent the easing of a parameter between two points in time.
VSlider
A vertical slider GUI widget that controls a NormalParam
XYPad
A 2D XY pad GUI widget that controls two NormalParam parameters at once. One in the x coordinate and one in the y coordinate.

Enums§

Gesture
The current state of the user gesturing this widget.

Constants§

DEFAULT_ANGLE_MAX
The default maximum angle of a rotating widget such as a Knob
DEFAULT_ANGLE_MIN
The default minimum angle of a rotating widget such as a Knob