Toggle SAFP start/stop via MIDI

Hi

I am In the middle of a cat and the mouse game. I have tried different methods do try to set up the SAFP play and stop buttons via midi controller. My Midi device is set in toggle mode so I have a led telling me if the player is working or not.

I want to set it up in a way that the first press starts two play music, and with the second, it should stop it. I have tried different ways and I can not make it work, for example using midi learn on the play widget (to send midi cc 127), and leaving the stop widget without midi leanr and using groups, also using midi learn for the second MIDI CC 00 but nothing seems to work, I also tried the widgets options to latch them on and off, but I think I am using something wrong here

could anyone help?

Did you try sync the SAFP to global play and use the global play?

omg, thx a lot, this did the trick!

I was too fast. While this solves the play/stop issue, I can see that the markers and controls got disabled. and actually, I was waiting to finish a song being played and in the end I noticed the SFAP went back in the time line of the song. so I am not sure what is going on here

What markers are disabled?

I mean, if I set the “sync to host” on an open the SFAP, I can see the controls become unaccessible in the same plugin but the widgets that control “go to next marker” in the global backspace are working fine. Anyway, lets assume the markers are ok, but if I set a marker in the end of a song, and the action is “go to the next song” and “track operation” to stop the audio, this will not stop the SFAP to play the next song. I also tried the option “playhead on/off” with the same result. I’m not sure what I am missing here

attaching file

Main Gig.gig (5.0 MB)

With little scripting pay/stop should be possible.

you mean scripting to control the sync to host or for the SFAP buttons? anyway the scripting should set the midi Max value (127) for one button/widget and the 0 for the remaining one, right?

Control the SFAP play and stop buttons with scripting

thanks