dev-master
9999999-devMIDI parsing library
WTFPL
The Development Requires
parser music midi
1.1.0
1.1.0.0MIDI parsing library
WTFPL
The Development Requires
parser music midi
MIDI parsing library
Licensed under WTFPL, (*2)
If you clone the repository, you can run ant sample
to run the sample
script at ./sample/test.php, which will generate
an HTML report., (*3)
The following snippet is an example of how to generate a plaintext report., (*4)
require_once 'vendor/autoload.php'; use Tmont\Midi\Parsing\FileParser; use Tmont\Midi\Reporting\TextFormatter; use Tmont\Midi\Reporting\Printer; //create a new file parser $parser = new FileParser(); //replace this path with the path to an actual MIDI file $parser->load('/path/to/midi/file.mid'); //create a Printer object $printer = new Printer(new TextFormatter(), $parser); //output the parse result $printer->printAll();
If you want more control over the data, you can use the parser directly. See the print notes sample script for an example of how to do this., (*5)
```bash, (*6)
composer install, (*7)
vendor/bin/phpunit ```, (*8)
MIDI parsing library
WTFPL
parser music midi
MIDI parsing library
WTFPL
parser music midi