Creative Voice file

Creative Voice , filename extension .voc is an audio format for digital audio data for developed in the 1990s Sound Blaster - sound cards from Creative Technology .

VOC
Filename extension
.voc
Internet media type
audio / x-voc
Developed byCreative Technology

Construction

Original-Format (8-Bit)

The file format [1][2][3] consists of a 26-byte header and a series of subsequent data blocks containing the audio information. The byte order is Little Endian .

VOC-[Header]
Offset ([hex]) Length (in Byte) content
0x00 19 ASCII-StringCreative Voice File
0x13 3 1A 1A 00 (hexadecimal)
0x16 2 [Version] (Major, Minor), hexadecimal;

For Example: 0x010a, Version 1.10

0x18 2 Validation: ~Version + 0x1234, hexadecimal, truncated to 16-bit;

For Example: 0x1129

The header is followed by data blocks. Each data block begins with a type byte describing the contents of the data, followed by 3 bytes for the size of the data (as an integer ). For two of the 9 defined types, the subsequent size of the data is missing, so the block ultimately consists of only a single byte - these are 0x00the terminator , and 0x07the repeat end.

If a size is specified, the first 4 bytes will be followed by a block of the content resulting from the specified type with the specified size.

VOC-Data block
Type (hex) Type Description Size

(3-Byte-Integer)

Info
engl. deu.
0x00 Terminator Separator
0x01 Sound data Audio data 2+ size off the data
Audio Content
Offset Description Meaning
0x00 sampling rate 256-(1000000/Sample rate)
0x01 Codec see table

is ignored if a block of type 0x08( Extra info ) defines a codec (from version 1.20)

from 0x02 Audio data in the specified format (codec)
0x02 Sound continue further audio data Size of the data additional audio data in the same format as the previous block
0x03 Silence Silence 3
Stille
Offset description meaning
0x00-01 Length of silence in the unit of the sampling rate Integer-1
0x02 sampling rate as with audio content
0x04 Marker 2
Marker number (2 bytes)

The last marker remains in an intermediate memory during playback and can be jumped on again.

0x05 ASCII string ASCII-Character String Length of the string Null terminated string
0x06 Repeat To repeat 2 Number of repetitions (2-byte integer)

0x0000to 0xFFFE1-65,535 repetitions, 0xFFFFfor infinite

0x07 End repeat End of the repetition

The file optionally ends with the terminator block (data block of the type 0x00)

Use

Creative Voice files were used in various DOS games when they could use sound blaster cards for audio output, such as Eye of the Beholder.

The spread of the file format disappeared noticeably with the advent of RIFF WAVE , which was already supported in Windows by Microsoft operating system. However, the Creative Voice file format required the installation of additional player programs included with the Sound Blaster Card drivers. With the advent of AC'97 , WAVE, file extension .WAV, finally prevailed.

References

  1. Greg. "Greg figures out most of the .VOC Format" (Textdatei). Retrieved 2018-06-01. verlinkt von Programming Textfiles: Format Specifications
  2. John. "John chimes in with further analysis of the .VOC Format" (Textdatei). Retrieved 2018-06-01.
  3. Chris Bagwell (1998-11-14). "Audio File Formats FAQ". Chris Bagwell. pp. Kapitel 11: File Formats. Retrieved 2018-06-01. Dokumentation (FAQ) des SoX-Audioeditor
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.