Subject: Re: [linux-audio-user] using cat to send a MIDI string ?
From: Tommi Sakari Uimonen (tuimonen_AT_cc.hut.fi)
Date: Wed Sep 22 2004 - 13:23:33 EEST
> You can use "amidi", from "alsa-utils":
> $ amidi -S 'F0 43 10 4C 00 00 7E 00 F7'
> sends an XG Reset to the default port; `man amidi` for details.
>
> To can use "echo", too:
> $ echo -ne '\xf0\x7f\x01\x06\x02\xf7' > /dev/midi01
>
> BTW, you can try a MIDI realtime message "start" like this:
> $ echo -ne '\xfa' > /dev/midi
I just edited a sysex.txt file with hex editor, and then
cat sysex.txt > /dev/midi
and my Korg received them ok.
With hex editor, it is easy to input the hex values, instead of cryptic
printf's or other methods
Tommi
This archive was generated by hypermail 2b28 : Wed Sep 22 2004 - 13:26:12 EEST