Skip to content

Class daisysp::ClockedNoise

ClassList > daisysp > ClockedNoise

More...

  • #include <clockednoise.h>

Public Functions

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

Detailed Description

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.

Public Functions Documentation

function ClockedNoise

inline daisysp::ClockedNoise::ClockedNoise () 

function Init

void daisysp::ClockedNoise::Init (
    float sample_rate
) 

Initialize module

Parameters:

  • sample_rate Audio engine sample rate

function Process

float daisysp::ClockedNoise::Process () 

Get the next floating point sample


function SetFreq

void daisysp::ClockedNoise::SetFreq (
    float freq
) 

Set the frequency at which the next sample is generated.

Parameters:

  • freq Frequency in Hz

function Sync

void daisysp::ClockedNoise::Sync () 

Calling this forces another random float to be generated


function ~ClockedNoise

inline daisysp::ClockedNoise::~ClockedNoise () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Noise/clockednoise.h