Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
balance_control.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
11
#ifndef __AUDIO_BALANCE_CONTROL_H__
12
#define __AUDIO_BALANCE_CONTROL_H__
13
23
enum class
BalanceControlAlgorithm
24
{
37
BALANCE_CONTROL_ALGORITHM_LINEAR
,
38
};
39
44
void
45
balance_control_get_calc_lr
(
46
BalanceControlAlgorithm
algo,
47
float
pan,
48
float
* calc_l,
49
float
* calc_r);
50
55
#endif
balance_control_get_calc_lr
void balance_control_get_calc_lr(BalanceControlAlgorithm algo, float pan, float *calc_l, float *calc_r)
Returns the coefficients to multiply the L and R signal with.
BalanceControlAlgorithm
BalanceControlAlgorithm
See https://www.harmonycentral.com/articles/the-truth-about-panning-laws.
Definition
balance_control.h:24
BalanceControlAlgorithm::BALANCE_CONTROL_ALGORITHM_LINEAR
@ BALANCE_CONTROL_ALGORITHM_LINEAR
Classic "Balance" mode.
dsp
balance_control.h
Generated by
1.11.0