Circular Drum Sequencer

I decided I would go forward doing the sound bits using Synthesiser class and SamplerSound, SamplerVoice classes…

I managed to read in the binary sample wav files referencing this discussion:

and a youtube video I found:

In that video, it is mentioned that I need to call renderNextBlock within a loop it sounds like to render the audio to some output. I set the project up initially as an Animated Application… So I only have my main Component.

Would it be acceptable to call this audio rendering function within the component update call somehow?

I am worried about frame dropping on mobile and going out of sync.

Is there a preferred place to call this renderNextBlock function?