MIDI Class: Read, write and manipulate MIDI files and data

Recommend this page to a friend!
  Info   View files (17)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
73%Total: 3,427 All time: 990 This week: 298
Version License Categories
midi 1.0.0FreewareAudio
Description Author

This is a class for reading, writing, analyzing, modifying, creating, downloading and playing (embedding) standard MIDI files (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.

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.

Recommendations
Picture of Fluxus
Name: Fluxus <contact>
Classes: 1 package by
Country: Germany Germany
Age: 52
All time rank: 92559 in Germany Germany
Week rank: 694 35 in Germany Germany

  Files  
File Role Description
bossa.txt Data MIDI text example
bossa.xml Data MIDI XML example
convert.php Example converts MIDI files of type 1 to type 0
documentation.htm Doc. Documentation
duration.php Example demonstrates how to find the duration of a MIDI file.
manipulate.php Example demonstrates manipulation of MIDI data
meta.php Example 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).
mid2rttl.php Example demonstrates binary MIDI file to RTTL ringtone conversion
mid2txt.php Example demonstrates binary MIDI file to text (MF2T/T2MF format) conversion
mid2xml.php Example demonstrates binary MIDI file to MIDI XML conversion
midi.class.php Class MIDI Class
readme.htm Doc. Readme
rttl.class.php Class RTTL extension
rttl2mid.php Example demonstrates RTTL ringtone to binary MIDI file conversion
sequencer.php Example little online sequencer, 4 drum tracks, 4 instrument tracks, 1 bar only
txt2mid.php Example demonstrates text (MF2T/T2MF format) to binary MIDI file conversion
xml2mid.php Example demonstrates MIDI XML to binary MIDI file conversion

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,427
This week:0
All time:990
This week:298
 User Ratings  
 
 All time
Utility:95%
Consistency:86%
Documentation:81%
Examples:91%
Tests:-
Videos:-
Overall:73%
Rank:205
  

For more information send a message to info at phpclasses dot org.