Does one already exist in Juce? I’m using an AudioProcessorPlayer for realtime rendering at the moment, but I don’t see any way to use this in a nonrealtime mode. Calling setNonrealtime on the graph doesn’t seem to do anything in this context.
Assuming I have to roll my own, I guess looking at the AudioProcessorPlayer code is a good place to start. Apart from appropriate calls to ‘releaseResources’ and ‘prepareToPlay’, should allocating an AudioBuffer with the greatest number of channels used by any processor in the graph and then calling ‘processBlock(…)’ on the graph do the trick for the main chunk of work?