10#ifndef DSY_ANALOG_BD_H
11#define DSY_ANALOG_BD_H
16#include "Synthesis/oscillator.h"
17#include "Filters/svf.h"
40 void Init(
float sample_rate);
45 float Process(
bool trigger =
false);
86 inline float Diode(
float x);
90 float accent_, f0_, tone_, decay_;
91 float attack_fm_amount_, self_fm_amount_;
95 int pulse_remaining_samples_;
96 int fm_pulse_remaining_samples_;
808 bass drum model, revisited.
Definition analogbassdrum.h:32
void Trig()
Definition analogbassdrum.cpp:152
void SetSustain(bool sustain)
Definition analogbassdrum.cpp:157
void SetDecay(float decay)
Definition analogbassdrum.cpp:178
void SetSelfFmAmount(float self_fm_amount)
Definition analogbassdrum.cpp:189
float Process(bool trigger=false)
Definition analogbassdrum.cpp:50
void SetFreq(float f0)
Definition analogbassdrum.cpp:167
void Init(float sample_rate)
Definition analogbassdrum.cpp:7
void SetTone(float tone)
Definition analogbassdrum.cpp:173
void SetAccent(float accent)
Definition analogbassdrum.cpp:162
void SetAttackFmAmount(float attack_fm_amount)
Definition analogbassdrum.cpp:184
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16