#!/bin/sh echo "MIDI Connect : EWI-USB to UMONE" aconnect `aconnect -i | awk '/client.*EWI-USB/{print $2}'`0 `aconnect -o | awk '/client.*UMONE/{print $2}'`0
#!/bin/sh echo "MIDI Connect : nanoPad2 to EWI-5000" aconnect `aconnect -i | awk '/client.*nanoPAD2/{print $2}'`0 `aconnect -o | awk '/client.*EWI5000/{print $2}'`0
#!/bin/sh echo "MIDI Connect : UM-ONE to EWI-5000" aconnect `aconnect -i | awk '/client.*UMONE/{print $2}'`0 `aconnect -o | awk '/client.*EWI5000/{print $2}'`0
#!/bin/sh echo "MIDI Connect : USB Uno to EWI-5000" aconnect `aconnect -i | awk '/client.*USB Uno/{print $2}'`0 `aconnect -o | awk '/client.*EWI5000/{print $2}'`0
この機種はPROGRAM CHANGEだけでなくBANK情報も送ってしまいます。
したがって、EWI-5000で使用するとFACTORY PRESET(赤LED)の方になってしまい、USER PRESET(緑LED)が使えません。
これに対応するために、MIDI FILTERを導入します。
$ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install mididings $ sudo reboot
使い方はこちら
http://das.nasophon.de/mididings/
$ mididings "Filter(PROGRAM)" &
$ aaconnect `aconnect -i | awk '/client.*UM-ONE/{print $2}'`0 `aconnect -o | awk '/client.*mididings/{print $2}'`0 $ aconnect `aconnect -i | awk '/client.*mididings/{print $2}'`1 `aconnect -o | awk '/client.*EWI5000/{print $2}'`0
UM-ONE→mididings(FILTER)mididings→EWI-5000
#!/bin/sh echo "MIDI Connect : UM-ONE to EWI-5000" aconnect -x mididings "Filter(PROGRAM)" & sleep 1 aconnect `aconnect -i | awk '/client.*UM-ONE/{print $2}'`0 `aconnect -o | awk '/client.*mididings/{print $2}'`0 aconnect `aconnect -i | awk '/client.*mididings/{print $2}'`1 `aconnect -o | awk '/client.*EWI5000/{print $2}'`0