The air a strike moves: a longer, coloured noise layer under the body. More...
#include <layers.hpp>
Public Member Functions | |
| void | prepare (double sample_rate) |
| void | reset () |
| void | set_level (double level) |
| void | set_decay_ms (double ms) |
| double | level () const |
| void | trigger () |
| bool | is_active () const |
| A silent layer is never active – see the note on ClickLayer. | |
| double | process (double coloured) |
| Next sample. | |
The air a strike moves: a longer, coloured noise layer under the body.
Distinct from the click in what it is for, not just in how long it lasts. The click is the contact; this is the sound of the head and the room responding to it, which is why it is coloured (the spectrum is tilted) and decays over tens or hundreds of milliseconds rather than a few.
RT contract: prepare() allocates nothing; every other method allocates nothing and takes no locks.
|
inline |
A silent layer is never active – see the note on ClickLayer.
|
inline |
|
inline |
|
inline |
Next sample.
coloured is a sample from the voice's generator with its colour filter applied.
|
inline |
|
inline |
|
inline |
|
inline |