From alsa-devel-owner@alsa.jcu.cz  Wed Jul 29 21:53:08 1998
Received: from obelix.fvdpol.inter.nl.net (frank@bd99-18.Breda.NL.net [193.79.246.243])
	by marvin.jcu.cz (8.8.8/8.8.8) with ESMTP id VAA03720;
	Wed, 29 Jul 1998 21:52:52 +0200
Received: (from frank@localhost) by obelix.fvdpol.inter.nl.net (8.8.7/8.7.3) id VAA14791; Wed, 29 Jul 1998 21:52:36 +0200
From: Frank van de Pol <F.K.W.van.de.Pol@Inter.NL.net>
Message-Id: <199807291952.VAA14791@obelix.fvdpol.inter.nl.net>
Subject: Re: kernel MIDI interface
To: perex@jcu.cz (Jaroslav Kysela)
Date: Wed, 29 Jul 1998 21:52:35 +0200 (MET DST)
Cc: alsa-devel@jcu.cz (alsa)
In-Reply-To: <Pine.LNX.3.96.980728223732.21432A-100000@entry.jcu.cz> from "Jaroslav Kysela" at Jul 28, 98 10:50:56 pm
Content-Type: text
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Jaroslav Kysela wrote:
> 
> > With control changes and pitchbend messages I receive an odd sequence.
> > Instead of the expected 3 byte message I get 2 messages of 2 bytes. Instead
> > of eg. a "bf,6c,xx" message I get a "bf,6c" and a "bf,xx" message. 
> 
> I don't have any trouble by me (I tried 0xEx - bender & 0xBx - control).
> Maybe this problem is caused by bellow bug (if stream is interleaved with
> some common messages).

See my earlier posting, perhaps your synth is not using running status? I
didn't spot common messages in the midi stream.
 
> > For sysex streams I only seem to get the start of sysex and end of sysex
> > message and not the actual data (I get "f0,f7").
> 
> Oops. I found small typo in receive MIDI stream parser:
> This bug should affect parsing all common MIDI commands (0xFx).

I'll give it a try.

> 
> > Other thing I noticed: in the alsa-driver-0.1.x series I could do a cat
> > /dev/sndmidi00 > file, and get the midi bytes in that file, but now I get no
> > data in that file.
> 
> You are using bad command... Program cat does output buffering if output
> is file (by me 4kB) - try 'dd if=/dev/sndmidi00 of=file bs=1' rather...

OOoops sorry for me bothering you with thus stupid questions I should have
known. (slammin' head agains the monitor...)

Cheers,
Frank.

+---- --- -- -  -   -    - 
|Frank van de Pol                  -o)
|F.K.W.van.de.Pol@inter.NL.net     /\\
|                                 _\_v
|Linux - Why use Windows, since there is a door?
|
|ALSA Sequencer: http://www.inter.nl.net/users/F.K.W.van.de.Pol/alsa/

