Sequencing multiple audio files on a single channel
Hi there, I'm working on a DAW-like sequencer and trying to allow arbitrary audio files to be scheduled on each track. I'd like to keep a track limited to one channel. Is there a good strategy for scheduling playback with something like this? All I've been able to find is making a separate AESequencerChannel for each audio file and then scheduling those individually, which is obviously a bad solution. Thanks!
I've not announced it widely yet (going to get into that over the next days), but you might want to investigate TAAE2: https://github.com/TheAmazingAudioEngine/TAAE2
Awesome! I will check it out
Having a tough time getting any scheduling to work. When I try this....
...it only works if timeVal is 0. My understanding was that I run
[output start:error]and it plays my file timeVal seconds later. Is that how this is supposed to work?
Ah never mind! Didn't realize the clock was already ticking... In case anyone else is confused, I needed to add AECurrentTimeInHostTicks() to the playtime
Got another question related to this: I'm able to sequence events, but I'm getting a very loud click when each file reaches its end (not the overlap point). Looping is off. There's no discontinuity in the audio files themselves. Any ideas here would be much appreciated (I'm completely new to non-matlab audio programming). Below is the start method in my audio controller... Thanks!
Hey @daliparton - sorry about the delay. Hmm, that's weird; any chance of providing a little sample app that demonstrates this? I don't think I can diagnose blind on this one, and your code looks good to me.