midi files to text

May 11, 2011 at 8:51pm

midi files to text

I’m trying to convert midi files to list of events ordered chronologically. ajm midi2coll is close to delivering the right results but it seems to be fairly buggy and I don’t know ruby so I cannot repair it. it seems strange to me that it is really this difficult to work with midi files textually. Does anyone have any recommendations?

#57079
May 11, 2011 at 9:06pm

try the dump function from John MacCallum’s “midifile”. works great for this even with huge files. its just simple java.

http://cycling74.com/forums/topic.php?id=31555

#204500
May 12, 2011 at 12:58am

I ultimately went with Andrew r. Browns midi2text.jar. But thank you for the input.

#204501
May 12, 2011 at 10:57am

i also asked a friend to write me a midi2text.jar, but we have never finished it.

then i tried reading midi files using [filein], but that is a bit messy as you have to work
with midi as symbols – or as decimal representation, which is not very intuitive during
programming.

if you only need note events and continuos controllers, you could try using [detonate].
it works relatively good to bring midi files into coll or text – as loing as you do not need
to batchprocess thousands of files (including folder and disk management, which was my
original idea. but for using ONE file right in max, it should be the most straightforward.)

#204502

You must be logged in to reply to this topic.