From: Dan White Date: Thu, 18 Jan 2024 04:02:46 +0000 (-0600) Subject: update noise X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=5a8d8368e3502718f98fd187fae29935858e188e;p=pubbin.git update noise --- diff --git a/noise b/noise index 849fdb0..022754d 100755 --- a/noise +++ b/noise @@ -2,11 +2,17 @@ # Play brown noise in the background -DEFAULT_GAIN="-36" +DEFAULT_GAIN="26" GAIN=${1:-$DEFAULT_GAIN} -echo $GAIN +echo "gain: ${GAIN}" + +# amplitude distribution seems sketchy +# play -c 2 -n synth brownnoise gain ${GAIN} + + +# generate 1/f^2 noise by integrating white spectrum +play -c 2 -n synth whitenoise lowpass -1 1 gain ${GAIN} -play -c 2 -n synth brownnoise gain ${GAIN}