voc(4) voc(4)
voc - Creative Voice Audio File Format
#include <dmedia/audiofile.h>
The Audio File Library currently supports 13 of the commonly found audio
file formats, i.e., is able to recognize, read, and write sample data and
header information to and from files in these formats. It is important
not to confuse sample or audio data formats with file formats. The
former refers to the bit-wise organization of the sound samples in the
file, i.e., whether the format is 8-bit integer or 16-bit unsigned, etc.
Audio file format refers to the structure of the audio file header, the
chunk of on-disk data which preceeds the samples and which provides
information about the file to the audio program. A single audio file
format may support a large variety of sample formats.
The Creative Voice File Format (voc) was created by Creative Labs, Inc.,
for use on PC computers. It consists of a variable-length header
followed by a usually-contiguous block of binary data representing the
sound samples. Occasionally, additional chunks of non-audio information
will be placed after the sound sample block, and on some occasions the
audio sample data will be divided into blocks (not supported by the Audio
File Library).
DATA FORMAT SPECIFICATIONS [Toc] [Back] Sample Formats:
Two's complement integer for 16-bit, unsigned for 8-bit.
Sample Widths:
8-bit and 16-bit only.
Byte Orders:
Always littleendian.
Channel Counts:
No known restrictions on channel count.
Compression Formats:
CCITT G.711 ulaw
CCITT G.711 A-Law
Note that VOC ADCPM compression types are not currently supported by
the Audio File Library.
FILE FORMAT SPECIFICATIONS [Toc] [Back] VOC file headers can contain additional information.
Page 1
voc(4) voc(4)
Instrument Configurations:
None currently supported.
Markers:
None currently supported.
Miscellaneous Chunks:
AF_MISC_NAME name string
afInitFileFormat(3dm), afGetFileFormat(3dm), afIntro(3dm),
PPPPaaaaggggeeee 2222 [ Back ]
|