Re: Extract tempo / signatures from a MIDI file

From: Alexandre Ratchov <>
Date: Wed Jul 30 2008 - 21:42:05 CEST
On Wed, Jul 30, 2008 at 09:29:20PM +0200, laurent schwartz wrote:
> >
> > thanks! this helped me fix a bug in the ``import'' code. Can you
> > confirm that it's fixed now? the fix is in the new snapshot.
> >
> Yes, i confirm there was a bug on imported signatures with this sample midi
> file.
> It seems to be fixed now for signature changes but tempo events are still
> wrong (tempo values does not correspond to all rosegarden tempo/signatures
> events view values).

ATM i heve no machines on which rosegarden could run; so no way to

Does midish report twice larger tempos ?

midish returns ``beats per minute'' (BPM) as units, while certain
software may use ``quarter-notes per minute'' (QPM).

In your .mid file, the time signature is often 4/8, 5/8, and 6/8.
In such cases, the beat is an eighteen note and there are two beats
per quarter note. So the tempo expressed in BPM is twice the same
tempo expressed in QPM.

just trying to guess..

-- Alexandre
Received on Wed, 30 Jul 2008 21:42:05 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:20 CET