I made a PHP program to upload midi files to my site. I need a utility which will simply read the how long the midi will play in seconds so I can do a system call which will return the play-length. Anyone know where I can find such a utility?