Midi ToolsExtending the midi toolbox in matlabThe Midi Toolbox is a great tool for analyzing midi files, but it can't handle files with tempo changes properly. I've also had trouble using it with Windows 7. My code can substitute for the read_midi.m and write_midi.m functions of the Midi Toolbox.Installation:
Examples:
* If you don't have write access to classpath.txt or pathdef.m (the file that is modified by File -> Set Path...), you can make local copies of these files, which you can modify. Then, when you start Matlab, you will need to specify the location of these files in the command line. For example, in Linux/Unix, you would use the command "Matlab /path/to/classpath.txt /path/to/pathdef.m." |