[alsa-devel] pyalsa: synchronizing queue with MIDI clock events
Christopher Arndt
chris.arndt at web.de
Tue Jul 21 18:20:46 CEST 2009
Clemens Ladisch schrieb:
> Christopher Arndt wrote:
>> What is a sensible number of ticks to take
>> into account for measurement?
>
> Large enough that you get a stable average, but small enough that you
> can detect actual changes.
I figured out that much on my own :) I was just wondering if anybody had
already experimented with this...
> You can tell ALSA to timestamp all events that are received; just call
> the snd_seq_port_info_set_timestamping() function and set a queue that
> is running, then you'll get the queue's current time in each event.
> This isn't implemented in pyalsa, but you can set this for a specific
> connection with the queue, time_update, and time_real parameters of the
> connect_ports function.
I'll look into this.
Many thanks for your comments!
Chris
More information about the Alsa-devel
mailing list