Re: midi clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux