Skip to content

title: daisysp::SmoothRandomGenerator summary: Smooth random generator for internal modulation. .


daisysp::SmoothRandomGenerator

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

#include <smooth_random.h>

Public Functions

Name
SmoothRandomGenerator()
~SmoothRandomGenerator()
void Init(float sample_rate)
float Process()
void SetFreq(float freq)

Detailed Description

class daisysp::SmoothRandomGenerator;

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.

Public Functions Documentation

function SmoothRandomGenerator

inline SmoothRandomGenerator()

function ~SmoothRandomGenerator

inline ~SmoothRandomGenerator()

function Init

inline void Init(
    float sample_rate
)

Parameters:

  • sample_rate Audio engine sample rate.

Initialize the module


function Process

inline float Process()

Get the next float. Ranges from -1 to 1.


function SetFreq

inline void SetFreq(
    float freq
)

Parameters:

  • freq Rate in Hz

How often to slew to a new random value

---

Updated on 2024-01-03 at 19:38:46 +0000