DaisySP
Loading...
Searching...
No Matches
daisysp::SmoothRandomGenerator Class Reference

Smooth random generator for internal modulation.
. More...

#include <smooth_random.h>

Public Member Functions

void Init (float sample_rate)
 
float Process ()
 
void SetFreq (float freq)
 

Detailed Description

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.

Member Function Documentation

◆ Init()

void daisysp::SmoothRandomGenerator::Init ( float sample_rate)
inline

Initialize the module

Parameters
sample_rateAudio 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
freqRate in Hz

The documentation for this class was generated from the following file: