DaisySP
|
808 HH, with a few extra parameters to push things to the CY territory... More...
#include <hihat.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 | SetNoisiness (float noisiness) |
808 HH, with a few extra parameters to push things to the CY territory...
|
inline |
Initialize the module
sample_rate | Audio engine sample rate |
|
inline |
Get the next sample
trigger | Hit the hihat with true. Defaults to false. |
|
inline |
Set how much accent to use
accent | Works 0-1. |
|
inline |
Set the length of the hihat decay
decay | Works > 0. Tuned for 0-1. |
|
inline |
Set the hihat tone's root frequency
f0 | Freq in Hz |
|
inline |
Sets the mix between tone and noise
snappy | 1 = just noise. 0 = just tone. |
|
inline |
Make the hihat ring out infinitely.
sustain | True = infinite sustain. |
|
inline |
Set the overall brightness / darkness of the hihat.
tone | Works from 0-1. |
|
inline |
Trigger the hihat