|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Cam profile evaluation. More...
Cam profile evaluation.
Evaluates LUTE-generated cam transfer function tables. A cam table maps [0, 1] input to arbitrary float output via precomputed breakpoint-interpolated lookup tables.
Rate-agnostic: works at control rate (200 Hz knob updates) or audio rate (48 kHz modulation reshaping).
A Cam carries a table and its size together, taken from the table's array type, so a size cannot be paired with another table. CamPitchAxis maps a frequency or a pitch onto a cam's input, for a cam drawn over pitch.
Usage:
Definition in file cam.hpp.
#include <cmath>#include <cstddef>#include <cstdint>Go to the source code of this file.
Classes | |
| struct | sbl::control::Cam |
| struct | sbl::control::CamPitchAxis |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::control |
| The control stack: scheduler, event queue, merge, CC mapping, calibration. | |
Functions | |
| float | sbl::control::cam_evaluate (const float *table, uint16_t size, float input) |
| void | sbl::control::cam_evaluate (const float *table, uint16_t size, const float *in, float *out, uint16_t frames) |
| float | sbl::control::cam_evaluate (const Cam &cam, float input) |
| void | sbl::control::cam_evaluate (const Cam &cam, const float *in, float *out, uint16_t frames) |
| template<size_t N> | |
| float | sbl::control::cam_evaluate (const float(&table)[N], float input) |
Variables | |
| constexpr size_t | sbl::control::CAM_GUARD_POINTS = 1 |