Crate rusty_daw_core

Crate rusty_daw_core 

Source

Modules§

atomic
block_buffer
decibel
pcm

Structs§

Declick
DeclickOutput
Frames
Unit of time length (of a single de-interleaved channel) in samples.
MusicalTime
Musical time in units of beats + super-beats.
ParamF32
An auto-smoothed parameter with an f32 value.
ParamF64
An auto-smoothed parameter with an f64 value.
ParamF32Handle
A handle to get and update the value of an auto-smoothed ParamF32 from a UI.
ParamF64Handle
A handle to get and update the value of an auto-smoothed ParamF64 from a UI.
SampleRate
Sampling rate in samples per second.
Seconds
Unit of time in “Seconds”
SmoothF32
SmoothF64
SmoothOutputF32
SmoothOutputF64
SuperFrames
Unit of time length (of a single de-interleaved channel) in super-frames.

Enums§

Gradient
The gradient used when mapping the normalized value in the range [0.0, 1.0] to the desired value.
SmoothStatus
Unit
The unit of this parameter. This signifies how the value displayed to the end user should differ from the actual value used in DSP.

Constants§

DEFAULT_DB_GRADIENT
A good default value to use as gradient parameter when creating a ParamF32/ParamF64 that deals with decibels.
DEFAULT_SMOOTH_SECS
A good default value to use as smooth_secs parameter when creating a ParamF32/ParamF64.

Statics§

SUPER_UNITS
(56,448,000) This number was chosen because it is nicely divisible by a whole slew of factors including 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 24, 32, 64, 128, 256, 512, 1024, and 1920, as well as common sampling rates such as 22050, 24000, 44100, 48000, 88200, 96000, 176400, and 192000. This ensures that any recording of note or sample data in this format will always be at-least sample-accurate.