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
39
44void
47 float pan,
48 float * calc_l,
49 float * calc_r);
50
55#endif
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
See https://www.harmonycentral.com/articles/the-truth-about-panning-laws.
@ BALANCE_CONTROL_ALGORITHM_LINEAR
Classic "Balance" mode.