With the demise of the extended version of Pure Data, we’ve lost the seq object for reading/playing MIDI files. I know there are alternative libraries out there but I would like to play a MIDI file in PD for teaching purposes. Sequencing in PD vanilla is really done with the qlist object, which I love, though I do find it a little frustrating that PD can’t handle reading that most standard of files, the MIDI file. On a more positive note, qlist is also available in Max so it’s a really handy object/format in both environments.
Anyway, I’ve just added a new function (midi2qlist) to slippery chicken that converts from a MIDI file to a qlist text file format. I’ve tried it with a few different MIDI files and it seems to be working fine, but it wouldn’t hurt if other people took a poke. You can get the code via (update-app-src …) or from the svn-latest tag on the svn server.
What’s the function called?
Sorry i missed this dan as I always love to send you an RTFM: first line of 2nd para: midi2qlist
Hi Michael. I just read this article and would be thrilled to have midi2qlist as an abstract or object within my PD projects. Is it available as a library or abstract for me to use? Thanks in advance, Joost Nelissen
Thanks Joost. This is a Common Lisp function so can’t be directly included in PD or Max. But you can call if from PD if you have Lisp up and running and my slippery chicken software loaded:
http://michael-edwards.org/sc/robodoc/cm_lsp.html#robo134
http://michael-edwards.org/sc/index.html
Best, Michael