Hi,

At Wed, 18 Sep 2002 14:10:19 -0700 (PDT),
Ivan Middleton wrote:
> 
> Hi all,
> 
> I'm having a problem with the ALSA sequencer.  First I was using
> 0.9.0rc2, and then I switched to cvs, hoping that things would be fixed
> there.  But alas, the problems occur in both.  I was going to try the
> 0.5 release, but it didn't want to compile for me.
> 
> The problem is as follows: I am running a program (called Linux Pipe
> Organ) which reads from the external MIDI port (64:0) via an ALSA
> sequencer connection, and which also starts a TiMidity process and
> sends events to it via ALSA sequencer connections.  (Basically, the
> program is just relaying MIDI events, after some modifications.)  This
> works fine for a few minutes, and then suddenly... nothing.  The ALSA
> sequencer stops relaying events from the external MIDI port.  Now, my
> digital piano is connected to the MIDI port, and it sends something
> like 30 MIDI events per second (I don't know exactly what these are)
> even when no keys are being pressed.  The problem I just described
> occurs even if I never press any keys on the piano; I can tell by
> watching /proc/asound/seq/clients, looking at the following lines
> 
> Client 132 : "Linux Organ" [User]
>   Port   0 : "Linux Organ" (rWe-)
>     Connected From: 64:0
>   Input pool :
>     Pool size          : 200
>     Cells in use       : 0
>     Peak cells in use  : 30
>     Alloc success      : 27513
>     Alloc failures     : 0
> 
> and noticing that after a while the "Alloc success" number stops
> changing (when everything is working it goes up by about 30 every
> second).

this could be due to the timer routine.
could you check /proc/asound/seq/queue and /proc/asound/seq/timer
whether the timer and queue are still running correctly in such a
situation?


thanks,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to