|
Zrythm
a highly automated and intuitive digital audio workstation
|
Panning mono sources. More...
#include <glib/gi18n.h>

Go to the source code of this file.
Macros | |
| #define | PAN_MINUS_3DB_AMP (-0.292054216f) |
| The amplitude of -3dBfs (0.707945784f). | |
| #define | PAN_MINUS_6DB_AMP (-0.498812766f) |
| The amplitude of -6dBfs (0.501187234f). | |
Enumerations | |
| enum class | PanLaw { PAN_LAW_0DB , PAN_LAW_MINUS_3DB , PAN_LAW_MINUS_6DB } |
| These are only useful when changing mono to stereo. More... | |
| enum class | PanAlgorithm { PAN_ALGORITHM_LINEAR , PAN_ALGORITHM_SQUARE_ROOT , PAN_ALGORITHM_SINE_LAW } |
| See https://www.harmonycentral.com/articles/the-truth-about-panning-laws. More... | |
Functions | |
| void | pan_get_calc_lr (PanLaw law, PanAlgorithm algo, float pan, float *calc_l, float *calc_r) |
Panning mono sources.
Definition in file pan.h.
| #define PAN_MINUS_3DB_AMP (-0.292054216f) |
| #define PAN_MINUS_6DB_AMP (-0.498812766f) |
|
strong |
|
strong |
These are only useful when changing mono to stereo.
No compensation is needed for stereo to stereo. See https://www.hackaudio.com/digital-signal-processing/stereo-audio/square-law-panning/