Hi!
C++ developer here, completely new to audio and JUCE. I have a project where I need to do a real-time analysis of an audio signal, whether it’s something input by a microphone or something playing on an output.
I looked at a few tutorials, and most of them seem to rely on calls to getNextAudioBlock
to process what’s in the input buffers. I’d like to bind my analysis on data coming in the buffers rather than being called when an device calls back to output something.
I feel like the answer lies around AudioFormatWriter::ThreadedWriter::IncomingDataReceiver but I am not so sure that I should use this class directly, as it’s quite deep in the API.
Any recommendation on how to “just” read audio whenever it’s written to an input or output buffer?
Cheers!