GenNoise [options] AFile
Generate an audio file containing uncorrelated Gaussian noise samples
This program generates zero-mean uncorrelated pseudo-random Gaussian deviates. These white noise samples are written to an audio file. Each invocation of this program generates a different random sequence unless the random number generator seed is specified. Options are available to specify the number of samples, the sampling frequency and the data format of the output file.
".au" - AU audio file ".wav" - WAVE file ".aif" - AIFF sound file ".afc" - AIFF-C sound file ".raw" - Headerless file (native byte order) ".txt" - Text audio file (with header)
"AU" or "au" - AU audio file "WAVE" or "wave" - WAVE file. Whether or not to use the WAVE file extensible format is automatically determined. "WAVE-EX" or "wave-ex" - WAVE file. Use the WAVE file extensible format. "WAVE-NOEX" or "wave-noex" - WAVE file; do not use the WAVE file extensible format "AIFF-C" or "aiff-c" - AIFF-C sound file "AIFF-C/sowt" or "aiff-c/sowt" - AIFF-C (byte-swapped data) "AIFF" or "aiff" - AIFF sound file "noheader" or "noheader-native" - Headerless file (native byte order) "noheader-swap" - Headerless file (byte swapped) "noheader-big-endian" - Headerless file (big-endian byte order) "noheader-little-endian" - Headerless file (little-endian byte order) "text-audio" - Text audio file (with header)
"mu-law8" - 8-bit mu-law data "mu-lawR8" - 8-bit bit-reversed mu-law data "A-law8" - 8-bit A-law data "unsigned8" - offset-binary 8-bit integer data "integer8" - two's-complement 8-bit integer data "integer16" - two's-complement 16-bit integer data "integer24" - two's-complement 24-bit integer data "integer32" - two's-complement 32-bit integer data "float32" - 32-bit IEEE floating-point data "float64" - 64-bit IEEE floating-point data "text16" - text data, scaled the same as 16-bit integer data "text" - text data, scaled the same as float/double data
See routine CopyAudio for a description of other parameters.
P. Kabal / v10r5 2023-04-10