Convert MIDI to others by PHP using midi.class.php
.
midi.class.php
is a class for reading, writing, analyzing, modifying, creating, downloading and playing (embedding) standard MIDI files (*.mid, *.rmi) of type 0 or 1.
MIDI songs are internally represented as lists of tracks, where each track is a list of messages, and each message is a string. The message string format is the same as the one used by the command line tools MF2T/T2MF created by Piet van Oostrum.
The class provides methods to generate and manipulate MIDI data and to import and export binary midi files (SMF, *.mid), text in the MF2T/T2MF format and MIDI XML.
- midi to txt converter - Binary midi file to text (MF2T/T2MF format) conversion
- txt to midi converter - Text (MF2T/T2MF format) to binary midi file conversion
- midi to xml converter - Binary midi file to midi XML conversion
- xml to midi converter - midi XML to binary midi file conversion
- midi to rttl converter - Simple binary midi file to RTTL ringtone conversion
- rttl to midi converter - RTTL ringtone to binary midi file conversion
php midi2xml.php xxx.mid [> xxx.xml]
php midi2txt.php xxx.mid [> xxx.txt]
php midi2score.php xxx.mid