Re: midi re-tempoizer
[email protected] (zentara) Sun, 05 Dec 2004 08:20:39 -0500
| Newsgroups | perl.midi |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 5 Dec 2004 08:52:34 +0000, [email protected] (Jean-Pierre Vidal) wrote: >Le vendredi 3 Décembre 2004 10:18, zentara a écrit : >> I've been wracking my brain trying to figure out how to >> get the total playlength of a midi using Perl. >> >> Would anyone know how to do this? >Try this: > >#!perl -w >use strict; >use MIDI; script snipped.... >Better would be a bridge between MIDI::Opus and MIDI::Score, and a function >$score->duration;-) > >Jean-Pierre Thanks, your script didn't quite work for me, but it does give me "direction". :-) -- I'm not really a human, but I play one on earth. http://zentara.net/japh.html