Creative Voice file

Last updated
VOC
Filename extension
.voc
Internet media type
audio / x-voc
Developed by Creative Technology

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

Contents

Construction

Original 8-bit format

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 bytes)Content
0x0019 ASCII stringCreative Voice File
0x1331A 1A 00 (hexadecimal)
0x162[Version] (major, minor), hexadecimal, e.g. 0x010a, version 1.10
0x182Validation: ~version + 0x1234, hexadecimal, truncated to 16 bits, e.g. 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. 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 0x00 terminator, and 0x07 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 descriptionSize (3 bytes)Info
0x00Terminator
0x01Sound data2 + size of the data
Audio content
OffsetDescriptionMeaning
0x00Sampling rate256-(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 0x02Audio data in the specified format (codec)
0x02Sound continueSize of the dataadditional audio data in the same format as the previous block
0x03Silence3
Silence
OffsetDescriptionMeaning
0x00-01Length of silence in the unit of the sampling rateInteger -1
0x02 sampling rate as with audio content
0x04Marker2Marker number (2 bytes): remains in an intermediate memory during playback and can be jumped on again.
0x05 ASCII stringLength of the stringNull-terminated string
0x06Repeat2Number of repetitions (2-byte integer)

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

0x07End repeat

The file optionally ends with the terminator block (data block of 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 . [4]

The spread of the file format disappeared noticeably with the advent of RIFF WAVE, which was already supported in Windows. 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.

Related Research Articles

Ogg Open container format maintained by the Xiph.Org Foundation

Ogg is a free, open container format maintained by the Xiph.Org Foundation. The authors of the Ogg format state that it is unrestricted by software patents and is designed to provide for efficient streaming and manipulation of high-quality digital multimedia. Its name is derived from "ogging", jargon from the computer game Netrek.

The Real-time Transport Protocol (RTP) is a network protocol for delivering audio and video over IP networks. RTP is used in communication and entertainment systems that involve streaming media, such as telephony, video teleconference applications including WebRTC, television services and web-based push-to-talk features.

Waveform Audio File Format is an audio file format standard, developed by IBM and Microsoft, for storing an audio bitstream on PCs. It is the main format used on Microsoft Windows systems for uncompressed audio. The usual bitstream encoding is the linear pulse-code modulation (LPCM) format.

Audio Interchange File Format (AIFF) is an audio file format standard used for storing sound data for personal computers and other electronic audio devices. The format was developed by Apple Inc. in 1988 based on Electronic Arts' Interchange File Format and is most commonly used on Apple Macintosh computer systems.

The Resource Interchange File Format (RIFF) is a generic file container format for storing data in tagged chunks. It is primarily used to store multimedia such as sound and video, though it may also be used to store any arbitrary data.

In computing, tar is a computer software utility for collecting many files into one archive file, often referred to as a tarball, for distribution or backup purposes. The name is derived from "tape archive", as it was originally developed to write data to sequential I/O devices with no file system of their own. The archive data sets created by tar contain various file system parameters, such as name, timestamps, ownership, file-access permissions, and directory organization.

Sound Blaster Family of sound cards by Creative Technology

Sound Blaster is a family of sound cards designed by Singaporean technology company Creative Technology. Sound Blaster sound cards were the de facto standard for consumer audio on the IBM PC compatible system platform, until the widespread transition to Microsoft Windows 95, which standardized the programming interface at application level, and the evolution in PC design led to onboard audio electronics, which commoditized PC audio functionality. By 1995, Sound Blaster cards had sold over 15 million units worldwide and accounted for seven out of ten sound card sales.

ZIP is an archive file format that supports lossless data compression. A ZIP file may contain one or more files or directories that may have been compressed. The ZIP file format permits a number of compression algorithms, though DEFLATE is the most common. This format was originally created in 1989 and was first implemented in PKWARE, Inc.'s PKZIP utility, as a replacement for the previous ARC compression format by Thom Henderson. The ZIP format was then quickly supported by many software utilities other than PKZIP. Microsoft has included built-in ZIP support in versions of Microsoft Windows since 1998 via the "Windows Plus!" addon for Windows 98. Native support was added as of the year 2000 in Windows ME. Apple has included built-in ZIP support in Mac OS X 10.3 and later. Most free operating systems have built in support for ZIP in similar manners to Windows and Mac OS X.

The BMP file format, also known as bitmap image file, device independent bitmap (DIB) file format and bitmap, is a raster graphics image file format used to store bitmap digital images, independently of the display device, especially on Microsoft Windows and OS/2 operating systems.

Truevision TGA, often referred to as TARGA, is a raster graphics file format created by Truevision Inc.. It was the native format of TARGA and VISTA boards, which were the first graphic cards for IBM-compatible PCs to support Highcolor/truecolor display. This family of graphic cards was intended for professional computer image synthesis and video editing with PCs; for this reason, usual resolutions of TGA image files match those of the NTSC and PAL video formats.

In computer programming, the term magic number has multiple meanings. It could refer to one or more of the following:

On the Amiga, the Old File System was the filesystem for AmigaOS before the Amiga Fast File System. Even though it used 512-byte blocks, it reserved the first small portion of each block for metadata, leaving an actual data block capacity of 488 bytes per block. It wasn't very suitable for anything except floppy disks, and it was soon replaced.

Binary file Non-human-readable computer file encoded in binary form

A binary file is a computer file that is not a text file. The term "binary file" is often used as a term meaning "non-text file". Many binary file formats contain parts that can be interpreted as text; for example, some computer document files containing formatted text, such as older Microsoft Word document files, contain the text of the document but also contain formatting information in binary form.

CD-Text CD-based format that allows for song information to be stored alongside audio data

CD-Text is an extension of the Red Book Compact Disc specifications standard for audio CDs. It allows for storage of additional information on a standards-compliant audio CD.

GUID Partition Table Computer disk partitioning standard

The GUID Partition Table (GPT) is a standard for the layout of partition tables of a physical computer storage device, such as a hard disk drive or solid-state drive, using universally unique identifiers, which are also known as globally unique identifiers (GUIDs). Forming a part of the Unified Extensible Firmware Interface (UEFI) standard, it is nevertheless also used for some BIOS systems, because of the limitations of master boot record (MBR) partition tables, which use 32 bits for logical block addressing (LBA) of traditional 512-byte disk sectors.

Unified Emulator Format (UEF) is a container format for the compressed storage of audio tapes, ROMs, floppy discs and machine state snapshots for the 8-bit range of computers manufactured by Acorn Computers. First implemented by Thomas Harte's ElectrEm emulator and related tools, it is now supported by major emulators of Acorn machines and carried by two online archives of Acorn software numbering thousands of titles.

Shapefile Geospatial vector data format

The shapefile format is a geospatial vector data format for geographic information system (GIS) software. It is developed and regulated by Esri as a mostly open specification for data interoperability among Esri and other GIS software products. The shapefile format can spatially describe vector features: points, lines, and polygons, representing, for example, water wells, rivers, and lakes. Each item usually has attributes that describe it, such as name or temperature.

Real-Time Messaging Protocol (RTMP) is a communication protocol for streaming audio, video, and data over the Internet. Originally developed as a proprietary protocol by Macromedia for streaming between Flash Player and a server, Adobe has released an incomplete version of the specification of the protocol for public use.

ADX (file format) File format family

CRI ADX is a lossy proprietary audio storage and compression format developed by CRI Middleware specifically for use in video games; it is derived from ADPCM. Its most notable feature is a looping function that has proved useful for background sounds in various games that have adopted the format, including many games for the Sega Dreamcast as well as some PlayStation 2, GameCube and Wii games. One of the first games to use ADX was Burning Rangers, on the Sega Saturn. Notably, the Sonic the Hedgehog series from the Dreamcast generation up to at least Shadow the Hedgehog have used this format for sound and voice recordings. Jet Set Radio Future for original Xbox also used this format.

The Creative Music File (CMF) is a synthesised music file format, similar to MIDI, designed by Creative Labs for use with their Sound Blaster cards. The format actually stores its song data in MIDI format but it differs in that while General MIDI instruments are standardised, CMF instruments' data are stored in the file itself, much like MOD files. This allows a large range of instruments to be used, and unlike MIDI the song should sound the same regardless of which synthesiser it is played through. While MOD files store their instruments as digital data ("samples"), CMF instruments are stored as a set of register values that can be programmed into the OPL chips that were part of all early Sound Blaster cards

References

  1. Greg. "Greg figures out most of the .VOC Format". Archived from the original on 2015-10-28. Retrieved 2018-06-01.
  2. John. "John chimes in with further analysis of the .VOC Format". Archived from the original on 2015-10-28. Retrieved 2018-06-01.
  3. Bagwell, Chris (1998-11-14). "Audio File Formats FAQ". pp. Chapter 11: File Formats. Retrieved 2018-06-01. Documentation (FAQ) for the SoX audio editor
  4. movAX13h. "Dr. Riptide Dissected" (README file). GitHub.