Version 2 of the tools have moved and are here. I have extended the tools
quite a bit.
Make sure your version of Matlab has a recent enough java run-time environment. At the matlab prompt, type
. Matlab should say at least Java 1.5.0. I think that Matlab R14 and later should work.
and KaraokeMidiJava.jar. midiToolboxNM is a wrapper for the java code and can be called just like read_midi.m.
Tell Matlab where the jar is by editing
At the matlab prompt, type
Add a line at the end telling Matlab the location of the jar:
where <path-to-jar> is the path to wherever you have saved
KaraokeMidiJava.jar. Obviously, if you are running Windows, use a
Save classpath.txt and restart Matlab. (Matlab only reads classpath.txt at startup.)
At the Matlab prompt, type
nm = midiToolboxNM('<name_of_file.mid>');
where <name_of_file.mid> is the name of the midi file you want to
read. The nm variable will now have a notematrix just like the
one defined in MidiToolbox.