If you know the exact length of the audio track for each one you’re using, such as “0:12.59 seconds”, then you can set it up with a logic_timer. You can use a logic_relay as well, but it won’t be as effective as the logic_timer.
Refire Interval: (set to whatever the time is of the last ending sound in outputs)
- OnTimer, Sound01, playsound, 00.00
- OnTimer, Sound02, playsound, 12.59
- OnTimer, Sound01, playsound, 28.34
- OnTimer, Sound03, playsound, and so on.
Keep in mind if the sounds you’re using have a loop point coded into the WAV through a WAV editor, you will need to add “StopSound” outputs. Otherwise playsound will be sufficient.
Now, if you want to make the timer disabled, you need a trigger or a button. Add these two outputs to it:
- OnTrigger(OnPressed), loopsounds01, disable
Unfortunately, all sounds will continue to play until the timer has been completely used… The only way around this is to use a chain of logic_timers, or a chain of logic_relay.