Music track to fire pyrotechnics

I do pyrotechnics with digital synced control but the fireing code is one of the music channels, so I am familiar with the concept. I would like to do something similar for my lighting display. instead of timing my show with delays in the code I would like to put my code in a music track so I can pop in any SD card with songs I have programmed and play them with out setting up the timing. Can you suggest a process. Thanks

Normally this is done by smpte time-code recorded on one track of a multi track machine

SMTP code is usually on the right channel or left channel of the audio track.
Thus the time code is always matched to the music score