[LAU] Extracting the tempo track from a MIDI file
Brendon Oliver
brendon.oliver at gmail.com
Mon Sep 24 22:16:39 EDT 2007
On Tuesday 25 September 2007 12:00:38 Ken Restivo wrote:
> Is there any command-line tool to extract and print the tempo of a MIDI
> file?
>
> I suppose I could read the MIDI spec, and hack something up pretty quickly
> in Python/Perl/PD/C/etc to extract that data, but why reinvent the wheel
> if there's already a tool that'll do that?
If you're going to write something in perl, have a look at MIDI-Perl:
http://search.cpan.org/~sburke/MIDI-Perl-0.81/
shouldn't be too hard to cobble up what you need with that.
cheers,
- Brendon.
--
MOUNT TAPE U1439 ON B3, NO RING
12:15:12 up 12 days, 10:32, 2 users, load average: 0.28, 0.68, 0.94
More information about the Linux-audio-user
mailing list