Algorithms JUCE uses for mixing and resampling

Hi Jules,
I want to know what the algorithm you use for Mixing and resampling. Do you use standard algorithm or you have written your own algorithm or the enhancement of the standard algorithms. And can you give me the advantages and drawbacks of the algorithm.


For mixing…? I use the “add” operator!

For resampling, it’s a bog-standard interpolator with a low-pass anti-aliasing filter. There are better, much more complicated ways to resample, and this isn’t perfect, but it’s a simple, quick algorithm that gives a decent result.

If you want a careful resampler, look into libsamplerate at