Jaroslav,
   Hi. Actually, I had been looking around for where to report this sort of
problem. I'm using an HDSP 9652 for MIDI input and getting stuck notes on
all soft synths I'm using. (amSynth, ZynAddSubFx and iiwusynth) I'm at a bit
of a loss as to how to debug this, but I do see the problem.

   I have found that it is independent of MIDI applications, as I see the
problem if I just use kaconnect to hook MIDI input to the soft synth and
qjackconnect to hook analog output to my speakers.

Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jaroslav
Kysela
Sent: Wednesday, February 12, 2003 12:42 PM
To: Ryan Pavlik
Cc: [EMAIL PROTECTED]
Subject: Re: Further info: [Alsa-devel] Bug: ALSA Sequencer or MTPAV -
easy to reproduce


On Wed, 12 Feb 2003, Ryan Pavlik wrote:

> On Wed, 12 Feb 2003 11:28:35 -0800
> Ryan Pavlik <[EMAIL PROTECTED]> wrote:
>
> <snipped>
>
> Further info:  The bug is definitely above the hardware level.  I added
> a printk to snd_mtpav_send_byte() for logging device/bytes sent, and
> came up with the attached log, which I commented on.  This log was
> generated by playing the two tracks as described in my previous message.
>
> As you can see (a page or two down, look for '??'), the status byte
> for some midi messages is getting lost before it gets to
> snd_mtpav_send_byte(). I'm going to go through and see if this is due
> to complications elsewhere in mtpav.c, but I'm only about 50% sure
> that's where the problem is.

It seems that mtpav don't remeber the old status byte for each channels.
If it's true, then we need to take care about the expansion in the mtpav
driver, because the sequencer MIDI driver removes duplicated status bytes
to opmitize throughput.

To test this behaviour, please, try this patch:

Index: seq_midi_event.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_midi_event.c,v
retrieving revision 1.10
diff -u -r1.10 seq_midi_event.c
--- seq_midi_event.c    31 Jan 2003 15:19:34 -0000      1.10
+++ seq_midi_event.c    12 Feb 2003 20:41:30 -0000
@@ -349,6 +349,8 @@
 {
        unsigned int cmd, type;

+       dev->nostat = 1;
+
        if (ev->type == SNDRV_SEQ_EVENT_NONE)
                return -ENOENT;



                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
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




-------------------------------------------------------
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