On Fri, 8 Feb 2002, Frank Neumann wrote:

> Hi,
> I would like to know how I go about creating a small program that lets
> me send /received patch sets ("banks") into my synthesizers via SysEx MIDI
> communication.
>
> I know all about the actual required SysEx parameters, and I had also once
> written such a program for OSS (simply using read()/write() to/from
> /dev/midi), but now I'd like to port this to ALSA.
>
> As far as I can tell, there is either the "rawmidi" interface or the
> more complex(?) way by going through snd_seq_open(...).
>
> I have some problems with rawmidi; if I try the test program from the
> current (0.9.0beta10) alsa-lib source the way it suggests, I always get:
>
> franky@faramir:/u1/src/ALSA/0.9.0beta10/alsa-lib-0.9.0beta10/test> ./rawmidi -i 0 0
> ALSA lib rawmidi.c:184:(snd_rawmidi_open_noupdate) Unknown RawMidi 0
> snd_rawmidi_open 0 failed: -2

It's a wrong syntax. You should use:

./rawmidi -i hw:0,0

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA Project  http://www.alsa-project.org


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to