Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
stereo.hpp File Reference
#include <cstdint>
#include <cmath>
Include dependency graph for stereo.hpp:
This graph shows which files directly or indirectly include this file:

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 functionality.
 
namespace  sbl::dsp
 DSP atoms for audio signal processing.
 
namespace  sbl::dsp::stereo
 Stereo panning utilities.
 

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.