From 4b3ab07889d059b6b5b4c32589eff1f5dcd46b73 Mon Sep 17 00:00:00 2001 From: Dan White Date: Wed, 17 Jan 2024 13:44:13 -0600 Subject: [PATCH] add noise generator --- noise | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 noise 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} + -- 2.25.1