Cycling through Songparts / long footswitch presses

Finally moved it in the public area :wink:

Some time ago I did a script to cycle within the Song Parts of a song with a foot switch button. However, I use the same button to switch to the next song on my Bandhelper list. This works great for me a long time now.

Today I cleaned up this early script of mine and added some features

  • a long press –3s let me jump out of any song part to the first song part of the next song
  • a even longer press (~5s) let me jump to the fist song part of the currently selected song

So I can basically have 3 functions with only one foot switch :sunglasses:
(one could even add more…)

On the other hand it’s one more example how to do time based actions and state machines in GPscript

The attached Demo-CycleSongparts V2.gig (77.2 KB) provides a gig scripts which monitors the incoming CC67 from a dedicated device which needs to be setup in the rig manager.

If we are in setlist mode, we now can cycle through the song parts, if the name of the last part starts with an ‘*’. Otherwise we jump out and go to the next song

Prerequisites:

  • setup a MIDIInDevice in rig manager to provide a device name for the script
  • copy the script to your gig script
  • setup the same CC au used in the script in Setlist/Songs options for ‘Next Song Part’ → momentary!
  • set ‘Next/Previous song part stays within song’ to OFF

I use this for simple songs where I toggle between two patches :wink:

Please enjoy and let me know your thoughts!

BBB

Some screen shots

4 Likes

Indeed :sunglasses:

Thanks! :beers:

Logic bug fix and minor improvements: Demo-CycleSongparts V3.gig (80.2 KB)

  • the footswitch/button now always starts the desired action when releasing it (normal, long, very long)
  • I added temporary display messages to provide some visual feedback, when you can release a button for the two defined long press times

Have fun!