whitenoise generates a soundfile which contains uniformly generated random sample values. Using the -e option, the random number generator can be seeded with the given integer. Seeding with a value of 0 will instead seed with the current time. Generating whitenoise soundfiles with the same random number seed will create identical sound samples.
Whitenoise contains all frequencies with energy evenly distributed by frequency. the output from the whitenoise program can be slightly lowpassed by holding the random samples by more than one sample. The random samples generated can be held for a specified number of samples using the -h option.
|
|
Usage: whitenoise [-d duration|-s samples][-a amp-env] [-e seed][-h hold] outsound Options: -d = duration of the output in seconds (default 1.0). -s = duration of the output in samples (default is null). will override the -d option if specified. -a = amplitude envelope (default "0 1 1 1"), -h = number of samples to hold the randomly generated sample (default is 1). -e = random number seed, 0 will generate random seed (default is 0) --options = list of all options, aliases and defaults.
# whitenoise examples: # Here is an example for whitenoise which makes a soundfile with # one second of whitenoise with a triangular amplitude envelope. whitenoise noise.snd -d 1.0 -a "0 0 1 1 2 0"