#include <clockednoise.h>
@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.
◆ Init()
void ClockedNoise::Init |
( |
float | sample_rate | ) |
|
Initialize module
- Parameters
-
sample_rate | Audio 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
-
◆ Sync()
void ClockedNoise::Sync |
( |
| ) |
|
Calling this forces another random float to be generated
The documentation for this class was generated from the following files: