DaisySP
|
808 bass drum model, revisited. More...
#include <analogbassdrum.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process (bool trigger=false) |
void | Trig () |
void | SetSustain (bool sustain) |
void | SetAccent (float accent) |
void | SetFreq (float f0) |
void | SetTone (float tone) |
void | SetDecay (float decay) |
void | SetAttackFmAmount (float attack_fm_amount) |
void | SetSelfFmAmount (float self_fm_amount) |
808 bass drum model, revisited.
Initialize the module
sample_rate | Audio engine sample rate |
Get the next sample.
trigger | True strikes the drum. Defaults to false. |
Set the amount of fm attack. Works together with self fm.
attack_fm_amount | Works best 0-1. |
Set the decay length of the drum.
decay | Works best 0-1. |
Set the amount of self fm. Also affects fm attack, and volume decay.
self_fm_amount | Works best 0-1. |
Set the bassdrum to play infinitely
sustain | True = infinite length |
void AnalogBassDrum::Trig | ( | ) |
Strikes the drum.