Wav trigger resume

Hi, I’m using a sparks fun wav trigger for a pinball machine retheme and I’m wondering if what id like it to do is possible. I want trigger 1 to play background music poly while other triggers ( say 1-3 ) activate different sounds different sounds over it ( pop bumpers, drop targets, etc ). I hover want to have certain switches in the game pause track 1 to play something else without it in the background. When those switches are activated ( let’s say trigger 4 for example ), id like trigger 1 to pause, play trigger 4’s dedicated wav file, and then once finished playing resume back to trigger 1’s wav. Is this possible or would I have to use multiple switches for start, stop, pause. I assumed the pause feature was what I wanted, otherwise I can’t understand the differences between using stop/pause. Any help on how to program this in the init file would be appreciated, and if not, is there another way to achieve this?

Thanks!

If I understand correctly, you can’t do this with just the trigger inputs, since a trigger can only do one thing (i.e. it can’t both pause Track 1 and start Track 4), and there’s no way to cause something to happen when a track finishes (i.e. resume Track 1).

However, you can do this easily with an Arduino, the WAV Trigger Arduino Library and some code. You just have to wire your buttons/switches to the Arduino, and then you can use the library to create any complex logic you want. The library also has functions that will tell you when a track is finished, which you can use to resume your background track.

Hope this helps.