From 07949eef7bb8f98147f724ae13458c873066b3da Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 23 Mar 2011 17:09:18 -0400 Subject: Initial commit. --- backing.wav | Bin 0 -> 21551194 bytes graduatedegree.wav | Bin 0 -> 270388 bytes nutty.wav | Bin 0 -> 71728 bytes out.wav | Bin 0 -> 507644 bytes play.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ sandwich.wav | Bin 0 -> 141356 bytes withlove.wav | Bin 0 -> 141168 bytes youngfolks.wav | Bin 0 -> 146688 bytes 8 files changed, 42 insertions(+) create mode 100644 backing.wav create mode 100644 graduatedegree.wav create mode 100644 nutty.wav create mode 100644 out.wav create mode 100755 play.sh create mode 100644 sandwich.wav create mode 100644 withlove.wav create mode 100644 youngfolks.wav diff --git a/backing.wav b/backing.wav new file mode 100644 index 0000000..29c182b Binary files /dev/null and b/backing.wav differ diff --git a/graduatedegree.wav b/graduatedegree.wav new file mode 100644 index 0000000..902706d Binary files /dev/null and b/graduatedegree.wav differ diff --git a/nutty.wav b/nutty.wav new file mode 100644 index 0000000..ef6b2bc Binary files /dev/null and b/nutty.wav differ diff --git a/out.wav b/out.wav new file mode 100644 index 0000000..8cb24b0 Binary files /dev/null and b/out.wav differ diff --git a/play.sh b/play.sh new file mode 100755 index 0000000..4bdf959 --- /dev/null +++ b/play.sh @@ -0,0 +1,42 @@ +pid=0; + +echo "== keys ==" +echo "- f - nutty" +echo "- j - with love" +echo "- n - graduate degree" +echo "- v - young folks" +echo "- h - sandwich" +echo +echo "--" +echo "-- by using this you agree that any thing --" +echo "-- made by it or its contents is not owned by you --" +echo "--" +echo + + +aplay backing.wav >/dev/null 2>&1 & + +while read -n 1 c; do + +if [ $c == "f" ]; then + f="nutty.wav" +elif [ $c == "j" ]; then + f="withlove.wav" +elif [ $c == "n" ]; then + f="graduatedegree.wav" +elif [ $c == "v" ]; then + f="youngfolks.wav" +elif [ $c == "h" ]; then + f="sandwich.wav" +else + continue +fi + +if [ $pid -gt 0 ]; then + kill -9 $pid 2>/dev/null & +fi + +aplay $f >/dev/null 2>&1 & +pid=$! + +done diff --git a/sandwich.wav b/sandwich.wav new file mode 100644 index 0000000..dfd20e8 Binary files /dev/null and b/sandwich.wav differ diff --git a/withlove.wav b/withlove.wav new file mode 100644 index 0000000..2c5d7ba Binary files /dev/null and b/withlove.wav differ diff --git a/youngfolks.wav b/youngfolks.wav new file mode 100644 index 0000000..f71123e Binary files /dev/null and b/youngfolks.wav differ -- cgit v1.2.3-59-g8ed1b