Smooth random generator for internal modulation.
.
More...
#include <smooth_random.h>
Smooth random generator for internal modulation.
.
- Author
- Ported by Ben Sergentanis
- Date
- Jan 2021 Ported from pichenettes/eurorack/plaits/dsp/noise/smooth_random_generator.h
to an independent module.
Original code written by Emilie Gillet in 2016.
◆ Init()
void daisysp::SmoothRandomGenerator::Init |
( |
float | sample_rate | ) |
|
|
inline |
Initialize the module
- Parameters
-
sample_rate | Audio engine sample rate. |
◆ Process()
float daisysp::SmoothRandomGenerator::Process |
( |
| ) |
|
|
inline |
Get the next float. Ranges from -1 to 1.
◆ SetFreq()
void daisysp::SmoothRandomGenerator::SetFreq |
( |
float | freq | ) |
|
|
inline |
How often to slew to a new random value
- Parameters
-
The documentation for this class was generated from the following file: