Re: [linux-audio-user] Python & ALSA --- documentation

From: Rob Fell <robin.fell2@email-addr-hidden>
Date: Wed Aug 03 2005 - 22:09:18 EEST

Peter Brinkmann wrote:
> On Sat, Jul 23, 2005 at 01:49:04PM +0200, Leonard paniq Ritter wrote:
>
>>any chance you could break off the alsa midi part and make it a separate
>>package?
>
> Done. You can find it at
> http://www.math.tu-berlin.de/~brinkman/software/pyseq/
> I've taken the opportunity to enhance the bindings ever so slightly and
> add a proper installation script, which should make it a little easier to
> get started.

Hi Peter

First - thanks: this is just what I needed to get me back to scratching
my itches!

I may be showing my Python naivety here, but I'm struggling to see how
to integrate the MIDI thread with other threads in a safe way. I see
that the low-level bindings incorporate a time-out on the poll(), but
there's no callback that'd allow for polling Python Queues, and you
don't appear to release the GIL during the poll().

Am I going at this from the wrong direction, or would this be a useful
feature?

Thanks
Rob
Received on Thu Aug 4 00:15:06 2005

This archive was generated by hypermail 2.1.8 : Thu Aug 04 2005 - 00:15:06 EEST