A library built for the Teensy Audio Library using ADC and IntervalTimer that concurrently feeds many AudioPlayQueue
objects with the samples taken from a user-defined set of corresponding pins.
if(!MuxADC::allocateChannels(4)) // must be an even number of channels!
Serial.println("Failed to allocate channels");
MuxADC::route(0, A0, &queue1);
MuxADC::route(1, A1, &queue2);
MuxADC::route(2, A2, &queue3);
MuxADC::route(3, A3, &queue4);
if(!MuxADC::begin())
Serial.println("Failed to begin MuxADC");