You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
- #!/usr/bin/env zsh
-
- case $1 in
- w) noise_type='whitenoise' ;;
- b) noise_type='brownnoise' ;;
- p) noise_type='pinknoise' ;;
- *) printf "%s is a wrong noise type\n" $1 >&2 ; exit 1 ;;
- esac
-
- exec play -n synth $noise_type
|