From d037d1d455871d78b54e4e451b2ca3c3c25f6873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20V=C3=A1squez=20P=C3=A9rez?= Date: Wed, 4 Jul 2018 13:17:53 -0700 Subject: [PATCH] added script to connect the piano piano --- bash/play_piano_on_axiom.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bash/play_piano_on_axiom.sh diff --git a/bash/play_piano_on_axiom.sh b/bash/play_piano_on_axiom.sh new file mode 100755 index 0000000..c16dc99 --- /dev/null +++ b/bash/play_piano_on_axiom.sh @@ -0,0 +1,9 @@ +qsynth & +sleep 2 +out=$(aconnect -o | grep client.*'FLUID Synth' | grep -o [0-9]*[\:] | sed 's/\://') +in=$(aconnect -o | grep client.*'USB Axiom 49' | grep -o [0-9]*[\:] | sed 's/\://') +echo aconnect $in $out +aconnect $in $out + + +