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

#include <clockednoise.h>

Public Member Functions

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

Detailed Description

@brief Clocked Noise Module
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.

Member Function Documentation

◆ Init()

void ClockedNoise::Init ( float sample_rate)

Initialize module

Parameters
sample_rateAudio engine sample rate

◆ Process()

float ClockedNoise::Process ( )

Get the next floating point sample

◆ SetFreq()

void ClockedNoise::SetFreq ( float freq)

Set the frequency at which the next sample is generated.

Parameters
freqFrequency in Hz

◆ Sync()

void ClockedNoise::Sync ( )

Calling this forces another random float to be generated


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