Created
March 11, 2011 23:11
-
-
Save xguse/866778 to your computer and use it in GitHub Desktop.
brown noise generator using sox for linux. keywords: white pink red brown noise
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
len='7:00:00' | |
vol=1 | |
if [ "$1" != '' ]; then | |
len=$1 | |
fi | |
if [ "$2" != '' ]; then | |
vol=$2 | |
fi | |
play -v $vol -t sl - synth $len brownnoise band -n 1200 200 tremolo .1 40 < /dev/zero |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, I expanded the one-liner to a fully documented "stereo" script where the CPU usage is reduced by 95%, https://gist.github.com/1209835 -- thanks very much for your tremolo parameters because the widely used one-liners are not optimal.