[linux-audio-dev] ALSA MIDI Sync

Clemens Ladisch clemens at ladisch.de
Tue Dec 13 09:02:28 UTC 2005


Peter Brinkmann wrote:
> I'm trying to figure out how to build an ALSA MIDI sequencer that'll
> sync with other sequencers. I've looked around but didn't see any
> recent information.
> So, my question is, what's the recommended way of synchronizing two
> MIDI sequencers these days, using ALSA? Is there any protocol (MTC,
> MMC...) that you would recommend so as to be compatible with a large
> number of other software packages?

ALSA itself doesn't support any synchronization protocol; the only
possible timer source is some hardware timer interrupt.
It is possible to adjust the queue tempo relative to the timer
interrupt frequency with snd_seq_queue_tempo_set_skew().

> Pointers to sample implementations of MIDI sync with ALSA would be
> great.

AFAICS Ardour supports MTC.


HTH
Clemens



More information about the Linux-audio-dev mailing list