diff --git a/huekbd.sh b/huekbd.sh new file mode 100755 index 0000000..f09ad67 --- /dev/null +++ b/huekbd.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +while [ true ]; do + read -n 1 tipka + echo "tipka: $tipka" + koda=$(perl -e "print ord(\"$tipka\") * 10") + play -n synth 4 pluck $koda & + echo "koda: $koda" +done