projects
/
pubbin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3ab07
)
update noise
author
Dan White
<dan@whiteaudio.com>
Thu, 18 Jan 2024 04:02:46 +0000
(22:02 -0600)
committer
Dan White
<dan@whiteaudio.com>
Thu, 18 Jan 2024 04:02:46 +0000
(22:02 -0600)
noise
patch
|
blob
|
history
diff --git
a/noise
b/noise
index 849fdb00725e0891f58fae377b09767a1f36b999..022754d8d151766396b107e9df15cf4ea7a2cea7 100755
(executable)
--- a/
noise
+++ b/
noise
@@
-2,11
+2,17
@@
# Play brown noise in the background
-DEFAULT_GAIN="
-3
6"
+DEFAULT_GAIN="
2
6"
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}