PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-05-31 (6 years ago) RSS 2.0 feedStarStarStarStar 74%Total: 3,366 This week: 1All time: 978 This week: 1,201Down
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  

View score, player and virtual intrument in a web page
Please help me musicxml intranet!

Picture of Fluxus
Name: Fluxus <contact>
Classes: 1 package by
Country: Germany Germany
Age: 47
All time rank: 88257 in Germany Germany
Week rank: 934 Down45 in Germany Germany Up

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,366All time:978
 This week:1This week:1,201Down
 User Ratings  
 
 All time
Utility:96%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:82%StarStarStarStarStar
Examples:92%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:86