[linux-audio-user] using cat to send a MIDI string ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux