Skip to content

Instantly share code, notes, and snippets.

@xguse
Created March 11, 2011 23:11
Show Gist options
  • Save xguse/866778 to your computer and use it in GitHub Desktop.
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
#!/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
@xguse
Copy link
Author

xguse commented Nov 10, 2011

Rad. I'll have to check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment