Huekbd omagash

master
Jure Podgoršek 2017-03-07 17:53:19 +01:00
parent 3a60b3306b
commit eb0aa8562b
1 changed files with 9 additions and 0 deletions

9
huekbd.sh 100755
View File

@ -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