PHP MIDI CLASS
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 commandline tools MF2T/T2MF
created by Piet van Oostrum (see README.TXT
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
- audio toys
- ringtone creators
- musical education/training
demonstrates manipulation of MIDI data (imported MIDI file) in various
little online sequencer, 4 drum tracks, 4 instrument tracks, 1 bar
only, result can be saved (simple mix format: serialized post array).
demonstrates binary MIDI file to text (MF2T/T2MF format) conversion
demonstrates text (MF2T/T2MF format) to binary MIDI file conversion
demonstrates binary MIDI file to MIDI XML conversion
demonstrates MIDI XML to binary MIDI file conversion
shows content of all meta events in the first track of a MIDI file. These events are often used for song title, copyright informations etc. (like ID3 tags in mp3 files).
demonstrates how to find the duration of a MIDI file. uses a simple child class.
converts MIDI files of type 1 to type 0. uses a simple child class.
demonstrates changing the (channel) volume(s). uses a simple child class.
demonstrates trimming a midi file. uses a simple child class.
demonstrates (simple) binary MIDI file to RTTL ringtone conversion (uses the RTTL extension, see downloads
demonstrates RTTL ringtone to binary MIDI file conversion (uses the RTTL extension, see downloads
MIDI Manufacturers Association (MMA)
MMA's MIDI XML Specifications
Standard MIDI File DTD: MIDI XML
fluxus at freenet dot de