midi2coll python script

Richard Westhaver's icon

hey guys! just wanted to share this script I made that takes a midi file or folder of midi files as an argument and spits out a txt file formatted for use with coll. At the moment it is FAR from perfect, but it works.

As part of the patch I'm working on I needed the ability to translate midi into a format that the seq~ object can understand. The txt file created uses the following format:
index, note_start(ticks) note_end(ticks) note_val velocity_val;

Feel free to use if it's useful to you, and since I'm not really a developer, feel free to fork the branch if you want to make some optimizations ;)