From: Dan White Date: Wed, 17 Jan 2024 19:44:13 +0000 (-0600) Subject: add noise generator X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=4b3ab07889d059b6b5b4c32589eff1f5dcd46b73;p=pubbin.git add noise generator --- diff --git a/noise b/noise new file mode 100755 index 0000000..849fdb0 --- /dev/null +++ b/noise @@ -0,0 +1,12 @@ +#!/usr/bin/bash + +# Play brown noise in the background + +DEFAULT_GAIN="-36" + +GAIN=${1:-$DEFAULT_GAIN} + +echo $GAIN + +play -c 2 -n synth brownnoise gain ${GAIN} +