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.
This is a simple class that can keep track of page accesses by storing the number of user accesses in server side files.
The class can store the access counts of multiple pages of a site in single file. That file contains a serialized array with entries that store the number of accesses for each of the site pages being tracked.