From f37315d5893421281513748aaddb2175298f630b Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Sat, 13 Mar 2010 11:40:52 +0100 Subject: [PATCH] Modificato shell.sh --- Filtering/shell.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Filtering/shell.sh b/Filtering/shell.sh index 9fb833a..cedd1b3 100755 --- a/Filtering/shell.sh +++ b/Filtering/shell.sh @@ -5,5 +5,9 @@ if [[ "$1" == "convert" ]]; then sox "$3".wav -e signed -b 16 "$3" channels 1 rate 44100 rm "$3".wav else +if [[ "$1" == "check" ]]; then + diff -s "$2" "$3" +else aplay -r 44100 -f s16_le "$1" fi +fi -- 2.1.4