Signalsmith Audio's DSP Library  1.6.0
Useful C++ classes/templates for audio effects
Classes | Functions
mix.h File Reference
#include "./common.h"
#include <array>

Classes

class  signalsmith::mix::Hadamard< Sample, size >
 Hadamard: high mixing levels, N log(N) operations. More...
 
class  signalsmith::mix::Hadamard< Sample, -1 >
 Hadamard with dynamic size. More...
 
class  signalsmith::mix::Householder< Sample, size >
 Householder: moderate mixing, 2N operations. More...
 
class  signalsmith::mix::Householder< Sample, -1 >
 Householder with dynamic size. More...
 
class  signalsmith::mix::StereoMultiMixer< Sample, channels >
 Upmix/downmix a stereo signal to an (even) multi-channel signal. More...
 

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...