add binaural noise to noisescript

This commit is contained in:
Felix Van der Jeugt 2017-05-23 09:40:30 +02:00
parent 4048720e54
commit 76ccd52540
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 4 additions and 8 deletions

View File

@ -1,10 +1,6 @@
#!/bin/sh
len='7:00:00'
if [ "$1" != '' ]; then
len=$1
fi
play -t sl - synth $len brownnoise \
band -n 1200 200 tremolo 20 .1 < /dev/zero
case "$1" in
"binaural") play -n -t sl - synth sine %-29 sine %-30 ;;
"brown"|*) play -t sl - synth brownnoise band -n 1200 200 tremolo 20 .1 < /dev/zero ;;
esac