Scheduling AEAudioFilePlayers for a simple DAW
First of all, a huge thank you to Michael for such an awesome framework, and the depth of knowledge I’ve found on these forums
I am interested if it is possible to sequence triggering AEAudioFilePlayers using AEBlockScheduler using TAAE1.x. I am trying to build a simple DAW where preloaded files (of different lengths) must play in time one after another.
I’m unclear if the AEAudioFilePlayer is designed for this purpose, where it can be queued up on the fly.
I am aware of the AEAudioFilePlayer::playAtTime() functionality, but I believe there are too many files to play at once without overloading the render callback.
Also, as the scheduler calls back in the audio thread, doesn’t this mean that any ObjC calls to the AEAudioFilePlayer are simply out of the question? So would I actually need to drop down into some custom C code here and stream the audio myself?
I have searched the forum and although this question has been touched upon, I cannot find a definitive answer. Perhaps TAAE2 makes this kind of thing easier?