What exactly is the best way to play audio smoothly going back and forth between forward and reverse (think shuttle/jog wheel)?
I tried creating a buffering audio source that would do a setNextReadPosition to the previous block and then reverse the samples in getNextAudioBlock for going in reverse, but that didn’t even come close to working right. After digging around in the JUCE source trying to figure out exactly how it pulls an audio stream in, I came to the conclusion that all of the audio code is specifically written to play forward and doesn’t really work all that well for going backwards.
Am I just going to have to bite the bullet and build all my own AudioSource classes for smoothly handling forward/reverse, or am I missing something completely obvious?
- kbj