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

Pedro Lopez-Cabanillas pedro.lopez.cabanillas at gmail.com
Mon Jul 25 16:55:38 UTC 2005


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: amsgsysex.c
Type: text/x-csrc
Size: 2393 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20050725/50823697/attachment.c>


More information about the Linux-audio-dev mailing list