Class daisysp::SmoothRandomGenerator¶
ClassList > daisysp > SmoothRandomGenerator
Smooth random generator for internal modulation. .More...
#include <smooth_random.h>
Public Functions¶
Type | Name |
---|---|
void | Init (float sample_rate) |
float | Process () |
void | SetFreq (float freq) |
SmoothRandomGenerator () |
|
~SmoothRandomGenerator () |
Detailed Description¶
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.
Public Functions Documentation¶
function Init¶
Initialize the module
Parameters:
sample_rate
Audio engine sample rate.
function Process¶
Get the next float. Ranges from -1 to 1.
function SetFreq¶
How often to slew to a new random value
Parameters:
freq
Rate in Hz
function SmoothRandomGenerator¶
function ~SmoothRandomGenerator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Utility/smooth_random.h