|
Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Stereo panning and mixing (Audio Stack — Atoms) More...
Stereo panning and mixing (Audio Stack — Atoms)
Definition in file stereo.hpp.
#include <cstdint>#include <cmath>Go to the source code of this file.
Classes | |
| struct | sbl::dsp::stereo::PanGain |
| Stereo pan gains (float) More... | |
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::dsp |
| namespace | sbl::dsp::stereo |
| Stereo panning. | |
Functions | |
| PanGain | sbl::dsp::stereo::constant_power (float position) |
| Compute constant-power pan gains (-3 dB at center) | |
| void | sbl::dsp::stereo::pan_mix (const float *mono, float *left, float *right, PanGain gain, uint16_t frames) |
| Apply pan gains to a mono buffer and accumulate into stereo buffers. | |