A sine an octave below the body, gated by the body's own envelope. More...
#include <layers.hpp>
Public Member Functions | |
| void | prepare (double sample_rate) |
| void | reset () |
| void | set_level (double level) |
| double | level () const |
| void | trigger () |
| double | process (double body_hz, double body_envelope) |
| Next sample at half of body_hz, scaled by the body's envelope. | |
A sine an octave below the body, gated by the body's own envelope.
This is a mastering layer rather than a synthesis one. It exists because the fundamental of a kick often sits where small speakers cannot reproduce it, and an octave-down sine gives the ear a second, lower reference that survives; it is gated by the body so it cannot outlast the note and turn into a drone.
RT contract: allocates nothing anywhere.
|
inline |
|
inline |
|
inline |
Next sample at half of body_hz, scaled by the body's envelope.
|
inline |
|
inline |
|
inline |