10#ifndef DSY_SMOOTHRANDOM_H
11#define DSY_SMOOTHRANDOM_H
57 interval_ =
rand() * kRandFrac * 2.0f - 1.0f - from_;
59 float t = phase_ * phase_ * (3.0f - 2.0f * phase_);
60 return from_ + interval_ *
t;
Definition delayline.h:29
Smooth random generator for internal modulation. .
Definition smooth_random.h:31
float Process()
Definition smooth_random.h:50
void SetFreq(float freq)
Definition smooth_random.h:66
void Init(float sample_rate)
Definition smooth_random.h:39
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16
float fclamp(float in, float min, float max)
Definition dsp.h:64