Is there a way to read samples from multiple sources (& mix) into a single buffer?
I am building a sampler wich loads layered samples (think of the regular SamplerSound, but with N layers of actual sample files). It would be awesome if I can keep my version of SamplerSound with just one buffer, not a buffer per layer.
In other words, is there something like AudioFormatReader::readAndMix (AudioSampleBuffer* buffer,...) or an easy way to make it?
Thanks in advance for any responses.