Audio Applications Question


#1

I have used JUCE to develop an audio plugin, but now I am interested in building an audio app. I went through two tutorials: “Build an audio player” and “Processing audio input”. I tried to combine the two, so I could play and audio file and process the audio as it played. Problem: the processing I did in getNextAudioBlock got overwritten by transportSource.getNextAudioBlock, resulting in straight playback with no processing. Where can I get into the audio player stream and mess with the samples?


#2

I moved my processing code after the call to transportSource.getNextAudioBlock and this seems to have solved the problem. I now have an audio player with play, stop, pause, and resume plus a level control! Onward to equalization, reverb, wave tracing and more!