The op is talking about a specific MIDI message called Song Select – he is not referring to the Gig Performer concept of responding to changing the current song.
I guess (that’s the only thing i can do here) it is about using the midi file player, since his other questions also were related to that topic. @progster: Maybe a little more information of what you are about to do (and how) would be very helpful to understand your question and maybe also to help you with that…
If you’re going to insert messages in your MIDI file, why don’t you just insert a CC message with some unused number, detect that in your scriptlet and then GENERATE a SongSelect message if you want it.
Hi. Interesting suggestion, which I had not thought of.
Issues and possible issues:
Files created with a custom-purpose CC whose intent is actually SongSelect would not be fit-for-purpose outside of the GP environment. Files created with actual SS message would still do their intended thing even outside of GP.
The presumably “dedicated” custom-purpose CC could be in conflict with other uses of that CC which are already in the file, or desired in the future.
The use of actual SongSelect in file is self-documenting. Use of a custom-purpose CC is not.
This list is not necessarily exhaustive .
–
If I may ask from this side -
Is there any way in which GP providing a SongSelectEvent() callback is a non-trivial thing to implement?
Is there today a way to do actual code for the pseudocode of: if (msg = SongSelect )
If not, would that be a non-trivial thing to implement?