From 5a8d8368e3502718f98fd187fae29935858e188e Mon Sep 17 00:00:00 2001 From: Dan White Date: Wed, 17 Jan 2024 22:02:46 -0600 Subject: [PATCH] update noise --- noise | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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} -- 2.25.1