Get Current Song Part?

Hi all!

I am currently getting most of the info I need via OSC:

Song: /CurrentSongName
BPM: /CurrentBPM
Transpose: /CurrentGlobalTranspose

However, I am having a trouble getting the current song part.

Does anyone have the correct OSC path for current song part name/index?


The answer is /SelectSongPart.

Thanks David at Gig Performer for the extremely fast ~20 minute support ticket response time!

1 Like

Don’t forget the invaluable manual… :wink:


However some of these paths aren’t called out on the manual: /CurrentGlobalTranspose isn’t there, for example.

There is a /SetGlobalTranspose and a /GetGlobalTranspose, but I am using Open Stage Control and creating an OSC listener with the path of /CurrentGlobalTranspose. That listener then gets automatically updated by Gig Performer any time transpose changes.

1 Like

Welcome to the fabulous world of Gig Performer :wink:

If you monitor the OSC communication you will also learn a lot about what’s happening when doing this or that in GP. Here are a few ways to do it:


Is there a way to return the NAME of the current song part?
/SelectSongPart returns a number.

All I found is this


Returns a list of available song parts for the current song

1 Like

Thanks for looking!
just returns ‘undefined’ for me… :confused:

Sorry for the question, but are you sure you were in Setlist mode?

1 Like

Well, I must be doing something daft, but not that. Definitely in setlist mode. :slight_smile:

Does /Song/GetSongParts require anything in the address field as well as the value field?
(for example, OSC{/CurrentSongName} doesn’t.)

I use /SongPart’n’Name
‘n’ is a ID of song part
e.g. /SongPart0Name

1 Like

Ok, that lets me see the name of one of the song parts in a song, but does not tell me which one I’m on.

Have a look at my example here:


Awesome stuff! Using a Switch widget seems to be the way.
Just need to get it working the same way in my session.

Screenshot 2022-05-05 at 1.26.14 pm

1 Like

Indeed. I also share this to the Open Stage Control forum. :slight_smile:

Great! :beers:

Once I realised I had to add an invisible widget for songpt_count everything works as expected.

Many Thanks