Utilities for stereo/multichannel mixing operations.
Files | |
file | mix.h |
Classes | |
class | signalsmith::mix::StereoMultiMixer< Sample, channels > |
Upmix/downmix a stereo signal to an (even) multi-channel signal. More... | |
Modules | |
Orthogonal matrices | |
Some common matrices used for audio. | |
Functions | |
template<typename Sample , typename Result > | |
void | signalsmith::mix::cheapEnergyCrossfade (Sample x, Result &toCoeff, Result &fromCoeff) |
A cheap (polynomial) almost-energy-preserving crossfade Maximum energy error: 1.06%, average 0.64%, curves overshoot by 0.3% See: http://signalsmith-audio.co.uk/writing/2021/cheap-energy-crossfade/. More... | |
void signalsmith::mix::cheapEnergyCrossfade | ( | Sample | x, |
Result & | toCoeff, | ||
Result & | fromCoeff | ||
) |
A cheap (polynomial) almost-energy-preserving crossfade Maximum energy error: 1.06%, average 0.64%, curves overshoot by 0.3% See: http://signalsmith-audio.co.uk/writing/2021/cheap-energy-crossfade/.