Re: [LAU] midi clock

From: Alexandre Ratchov <alex@email-addr-hidden>
Date: Sat Jun 07 2008 - 16:15:06 EEST

On Fri, Jun 06, 2008 at 10:08:28PM +0200, becks wrote:
> Hi all,
> i have one midi device that send midi clock info.
> this clock is used to set arpeggios and LFO time, and maybe other stuff.
> this device don't have lcd screen, so i can see exactly current bpm.
>
> 1) how compute (easily) bpm over midi channel? (with aseqdump i can
> see clock message repeated over and over)

MIDI uses 24 clock ticks per quarter note. So you can get the
average tempo by measuring the number of MIDI ticks per minute and
dividing by 24. The tempo must not be changing.

> 2) how to send standard midi message to set new bpm?
>

there's no such message. MIDI allows only one master that
continuously gives the tempo. The solution would be to put your
device in "slave mode", and to put your software in "master mode"
so you can choose the tempo.

-- Alexandre
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Jun 7 20:15:01 2008

This archive was generated by hypermail 2.1.8 : Sat Jun 07 2008 - 20:15:01 EEST