> On Oct 30, 2017, at 5:37 PM, Greg London <[email protected]> wrote: > > Is there an audio format that lets you take a song and embed command data > to be executed as the song plays? > > And is there a perl module that could read/write such a file. > > I thinking of embedding some high level commands into music that would > then inform some perl code as to how to generate some constrained > randomized DMX data packets to some lighting. > > But I know nothing of audio formats, so I dont even know if its a thing. > And attempts to google fail miserably.
I vaguely recall that the MP3 format has ID3 metadata available, and I think there is one that is just “arbitrary comments”. I don’t know if the ID3 tags can be anywhere, or if they have to be in one place, but you could presumably encode the time-points you want things to happen at. According to the Wikipedia article, there is also something called “ancillary data”, but I don’t know what that in particularly referring to. If the ID3 tags work, I can see in a quick MetaCPAN search at least three modules that will handle them in some way or other. Ricky The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

