How to use timer CHOP in different times

Hello everyone,
I am trying to use the timer CHOP to trigger in different times, to explain better I have some Audio Files that I connect to a switch CHOP, each file have different Length so i can’t trigger in same period. I need that each file starts automatically and change to next when the file ends.
Anyone have some tip or Approach to solve this problem?
.
.
.
I will be very grateful, thank you.

hey @Rawlim,

I don’t fully understand your description what you are trying to accomplish, but my first recommendation is to open Help->Operator Snippets, and go to the Timer CHOP. There you’ll find 27 different examples and I have high hopes there is at least one which can inspire you.

hello @nettoyeur, I am trying to trigger audiofiles in sequence, when the frist file is done then starts the next but i am struggle to find a approach to do that, do you know some tip to do that?

Few different ways to approach this but I would use an info CHOP connected to an audio file. Use the index fraction (afk but I think that’s the name in TD).
When index = 1 play the next file

@Rawlim here’s a rudimentary example.
It uses the approach @FaustoB mentioned. No Timer CHOPs were harmed for this experiment.

play_audio_files_in_sequence.tox (7.1 KB)

Hi guys, thanks for the tips,
Actually I had to change the project but I followed a similar logic. I’m creating a light installation using the DMX protocol, and I created some patterns, the big doubt I had about the audio files applies to this example in a different but complementary way. So I had to find a way to sequence these patterns by time, each with unique times and following the timeline.
I used the timer callback DAT, the “done” function to connect different chains of patterns to replace CHOP.
I also used execute DaAT to initialize some commands, I haven’t finished the project yet I still need to insert the audio files and output them to different speakers using the MOTU sound card. Anyway,
I know it’s a little out of the question but I wanted to share my progress and thanks @FaustoB and @nettoyeur for the tips.
And if anyone knows how to use MOTU to output different channels to different speakers it would be perfect, I’m researching but I don’t find such relevant documentation that applies to my doubt.
Best regards
.
.
.
Gustavo Milward
DMXscenes.toe (22.7 KB)