Poly Aftertouch, OSC, and Multiple Gig Performer Instances

The existing M4L patch sends back the scene name.
So to avoid an OSC loop leave the artist field empty on the Song Properties.

Then create an OSC callback in GP Script to react on incoming message.
This is not very elegant, but could work.

Another approach could be that the M4L patch sends an OSC command which is recognized by Gig Performer.

When I am at home, I can do some investigation.

You can use the existing M4L Patch and this code in the gig script

var v_song : String

// Called when a specific osc message is received
On OSCMessageReceived(m : OSCMessage) Matching "/GlobalRackspace/Scene/SetCaption"
 v_song = OSC_GetArgAsString(m, 0)
 v_song = ReplaceString(v_song, "\"", "", false)
 SwitchToSongByIndex(GetSongIndex(v_song), 0)
End

Make sure no song is more than once in the actual selected SetList

With IAC on Mac you even do not need any M4L Patch and Scripting



Bildschirmfoto 2023-10-17 um 09.12.16

Just create dummy clips to send the correct PC message via IAC.
In Gig Performer each Song Variation can have its own PC

Just make sure you don’t have any MIDI Omni blocks

1 Like