Crate rusty_daw_core
source · [−]Modules
Structs
Unit of time length (of a single de-interleaved channel) in samples.
Musical time in units of beats + super-beats.
An auto-smoothed parameter with an f32
value.
A handle to get and update the value of an auto-smoothed ParamF32
from a UI.
An auto-smoothed parameter with an f64
value.
A handle to get and update the value of an auto-smoothed ParamF64
from a UI.
Sampling rate in samples per second.
Unit of time in “Seconds”
Unit of time length (of a single de-interleaved channel) in super-frames.
Enums
The gradient used when mapping the normalized value in the range [0.0, 1.0]
to the
desired value.
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
Statics
(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.