sfcreate - create soundfile header, or change existing one
sfcreate [ -r sampling_rate ] [ -c num_channels ] [ -t header_format ] [ -i | -f ] [ -b | -l ] [ --force ] file_name
If file_name doesn't exist, sfcreate creates a new file with the specified soundfile header. If file_name already exists, sfcreate puts a soundfile header at the beginning of the file, overwriting whatever was there. (See WARNINGS below.) Without a file_name argument, sfcreate just prints a help summary.
This command is mainly useful for disk-based Cmix scripts, in which the output function expects to find a file with a soundfile header. You can run sfcreate from within such a script by using the system function.
aiff (or aifc for floats) is the default.
sfprint, sfhedit, sffixsize
John Gibson <johgibso at indiana edu>, based on the original Cmix sfcreate, but revised to work with multiple soundfile header types. Thanks to Bill Schottstaedt, whose sndlib sound file library makes this possible.