Zrythm
a highly automated and intuitive digital audio workstation
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
e
f
g
i
m
p
r
t
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
a
b
c
e
f
g
i
k
m
n
p
r
s
t
u
z
Enumerator
a
u
z
Macros
_
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
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
};
23
enum class
BalanceControlAlgorithm
{
…
};
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