"mu-law8" - 8-bit 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 "float32" - 32-bit IEEE floating-point data "text" - text dataThe data formats available depend on the output file type. AFsp (Sun) audio files:
mu-law, A-law, 8-bit integer, 16-bit integer, floatRIFF WAVE files:
mu-law, A-law, offset-binary 8-bit integer, 16-bit integerAIFF-C audio files:
mu-law, A-law, 8-bit integer, 16-bit integerHeaderless files:
all data formats
"AFsp", "Sun" or "sun" - AFsp (Sun) audio file "WAVE" or "wave" - RIFF WAVE file "AIFF-C" - AIFF-C audio file "raw" or "raw_native" - Headerless file (native byte order) "raw_swap" - Headerless file (byte swapped) "raw_big-endian" - Headerless file (big-endian byte order) "raw_little-endian" - Headerless file (little-endian byte order)
For AFsp output files, the audio file header contains an information string.
Standard Header Information: date:1994/01/25 19:19:39 UTC date user:kabal@aldebaran user program:GenNoise program nameThis information can be changed with the header information string which is specified as one of the command line options. Structured information records should adhere to the above format with a named field terminated by a colon, followed by numeric data or text. Comments can follow as unstructured information. For the purpose of this program, records are terminated by newline characters. However in the header itself, the newline characters are replaced by nulls. To place a newline character into the header, escape the newline character by preceding it with a '\' character. If the first character of the user supplied header information string is a newline character, the header information string is appended to the standard header information. If not, the user supplied header information string replaces the standard header information.