一个快速的谷歌搜索返回了这个... http://valentin.dasdeck.com/php/midi/ http://www.phpclasses.org/package/1362-PHP-Read-write-and-manipulate-MIDI-files-and-data.html