#include <vca.hpp>
|
| static void | process (float *audio, const float *control, uint16_t frames) |
| | Multiply audio by per-sample control signal (envelope)
|
| |
| static void | apply_gain (float *audio, float gain, uint16_t frames) |
| | Apply constant gain.
|
| |
Definition at line 16 of file vca.hpp.
◆ apply_gain()
| static void sbl::widgets::proc::Vca::apply_gain |
( |
float * |
audio, |
|
|
float |
gain, |
|
|
uint16_t |
frames |
|
) |
| |
|
inlinestatic |
Apply constant gain.
- Parameters
-
| audio | Audio buffer (modified in-place, float) |
| gain | Gain factor (0.0 = silence, 1.0 = unity) |
| frames | Number of samples |
Definition at line 42 of file vca.hpp.
◆ process()
| static void sbl::widgets::proc::Vca::process |
( |
float * |
audio, |
|
|
const float * |
control, |
|
|
uint16_t |
frames |
|
) |
| |
|
inlinestatic |
Multiply audio by per-sample control signal (envelope)
- Note
- All public methods are ISR-safe — bounded computation, no I/O.
Control signal is float [0.0, 1.0] matching Envelope output.
- Parameters
-
| audio | Audio buffer (modified in-place, float) |
| control | Control buffer (envelope output, [0.0, 1.0]) |
| frames | Number of samples |
Definition at line 29 of file vca.hpp.
The documentation for this class was generated from the following file: