Re: [linux-audio-dev] HOw to create an ALSA out port

From: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@email-addr-hidden>
Date: Mon Jul 25 2005 - 19:55:38 EEST

On Monday 25 July 2005, Jens M Andreasen wrote:
> On Mon, 2005-07-25 at 00:50 +0200, Christoph Eckert wrote:
> > I only need to write sysex data which are kept in a character
> > array. Is there a possibility to easily
> > * connect to a certain port of a device (the Midisport control
> > port)
> > * send the contents of the array to this port
[...]
> Let's see if not someone will post the alsa version ... soon.

I hope the attached program to be simple enough to be useful in your context.

Compile it with:
        $ gcc -o amsgsysex -l asound amsgsysex.c

Use it with;
        $ amsgsysex 64:1

Regards,
Pedro

Received on Mon Jul 25 20:15:24 2005

This archive was generated by hypermail 2.1.8 : Mon Jul 25 2005 - 20:15:24 EEST