projects
/
pubbin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1e484
)
add noise generator
author
Dan White
<dan@whiteaudio.com>
Wed, 17 Jan 2024 19:44:13 +0000
(13:44 -0600)
committer
Dan White
<dan@whiteaudio.com>
Wed, 17 Jan 2024 19:44:13 +0000
(13:44 -0600)
noise
[new file with mode: 0755]
patch
|
blob
diff --git a/noise
b/noise
new file mode 100755
(executable)
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}
+