Can a song part change trigger the audio file player to play from beginning

What’s a good route to make a song part change trigger the audio file player so that the audio file player starts over from the beginning of its audio files?

I see a parameter in Audio File Player named “play from the beginning”, and I’ve mapped it to a button, but I ran into a problem. I have a script that is doing a quantized song part change for me, The script makes the song part change on the next 1st bar. So sometimes I trigger this to happen on the 2 or the 3rd bar, and then the song part changes on the next 1.

so I would need the actual song part change to trigger the play from the beginning since my hit will be before the actual song part changes. I’ve set these song parts to have their own variation but I don’t know how to trigger this play from the beginning when a song part happens.

I saw in the other topic that you have a MacBook. You could look at using the Song Part Properties (Midi Messages) to send a CC message to the virtual midi port: IAC Driver Bus 1 (or whatever you call it).

Then you can midi learn a pad widget to this message (not using Learn - just manually configure it via the Edit button).

Hi Lobstafari,

could you be so kind and send me your script, that makes the change of the song part on the next 1st bar? This sounds great!

Greets Christoph

https://community.gigperformer.com/t/gig-quantize-song-parts-changes/7480
https://community.gigperformer.com/t/gp-sd3-starting-a-midi-loop-in-time-with-click-but-half-time-with-song/9906/16

Those are the threads. one is from Rank 13 who wrote it. And one is my question that he answered, pointing me to his post and then helping me out with a few key insights. I don’t use it anymore and I don’t remember it at the moment, but it was hella cool when I was in it, I was dubbing live and changing sound parts so that different song parts had different backing loops and I just needed to hit it between the last hit and the first hit of the next 4 bars and it would change the part on exactly the 1st beat of the next 4 bars