Skip to content

daisysp::ClockedNoise

More...

#include <clockednoise.h>

Public Functions

Name
ClockedNoise()
~ClockedNoise()
void Init(float sample_rate)
float Process()
void SetFreq(float freq)
void Sync()

Detailed Description

class daisysp::ClockedNoise;

Author: Ported by Ben Sergentanis

Date: Jan 2021 Noise processed by a sample and hold running at a target frequency.

Ported from pichenettes/eurorack/plaits/dsp/noise/clocked_noise.h

to an independent module.

Original code written by Emilie Gillet in 2016.

@brief Clocked Noise Module

Public Functions Documentation

function ClockedNoise

inline ClockedNoise()

function ~ClockedNoise

inline ~ClockedNoise()

function Init

void Init(
    float sample_rate
)

Parameters:

  • sample_rate Audio engine sample rate

Initialize module


function Process

float Process()

Get the next floating point sample


function SetFreq

void SetFreq(
    float freq
)

Parameters:

  • freq Frequency in Hz

Set the frequency at which the next sample is generated.


function Sync

void Sync()

Calling this forces another random float to be generated

---

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