13#include "Filters/svf.h"
14#include "Utility/dsp.h"
40 void Init(
float sample_rate);
96 void Init(
float sample_rate);
99 inline float DistortedSine(
float phase,
float phase_noise,
float dirtiness);
110 float Process(
bool trigger =
false);
160 float accent_, new_f0_, tone_, decay_;
161 float dirtiness_, fm_envelope_amount_, fm_envelope_decay_;
171 float transient_env_;
172 float transient_env_lp_;
181 int body_env_pulse_width_;
Attack Noise generator for SyntheticBassDrum.
Definition synthbassdrum.h:62
float Process()
Definition synthbassdrum.cpp:33
void Init()
Definition synthbassdrum.cpp:27
Click noise for SyntheticBassDrum.
Definition synthbassdrum.h:32
float Process(float in)
Definition synthbassdrum.cpp:16
void Init(float sample_rate)
Definition synthbassdrum.cpp:7
Naive bass drum model (modulated oscillator with FM + envelope).
Definition synthbassdrum.h:88
float TransistorVCA(float s, float gain)
Definition synthbassdrum.cpp:89
float Process(bool trigger=false)
Definition synthbassdrum.cpp:95
void SetSustain(bool sustain)
Definition synthbassdrum.cpp:190
void SetFmEnvelopeDecay(float fm_envelope_decay)
Definition synthbassdrum.cpp:227
void SetFmEnvelopeAmount(float fm_envelope_amount)
Definition synthbassdrum.cpp:222
void SetAccent(float accent)
Definition synthbassdrum.cpp:195
void Trig()
Definition synthbassdrum.cpp:185
void SetDecay(float decay)
Definition synthbassdrum.cpp:211
float DistortedSine(float phase, float phase_noise, float dirtiness)
Definition synthbassdrum.cpp:72
void SetDirtiness(float dirtiness)
Definition synthbassdrum.cpp:217
void SetFreq(float freq)
Definition synthbassdrum.cpp:200
void Init(float sample_rate)
Definition synthbassdrum.cpp:41
void SetTone(float tone)
Definition synthbassdrum.cpp:206
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16