Hi there, I’m just 2 months into learning JUCE and have a long way to go. For the past couple of weeks I’ve been trying to speed up and slow down audio in the getNextAudioBlock member function, using ResamplingAudioSource() and setResamplingRatio(), however my knowledge is still too limited to figure this out. I have an audiofile loading and playing, and now hoping to get real time control of playback speed, hence the getNextAudioBlock and not simply altering the sample rate in prepareToPlay.
I would be grateful if anyone could point me in a direction to achieve this.
Thanks and apologies for the basic question!
void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) override
if (readerSource.get() == nullptr)