Overview
This describes how to import and export .VOC files for Duke Nukem 3D. The same process also applies to most other Build engine games. This guide requires Audacity. It’s free software, BTW.
Import
Open Audacity.
Select Files > Import > Raw Data. Select your .VOC file
Here are the import settings to use:
Encoding: Signed 16-bit PCM
Byte order: Little-endian
Channels: 1 Channel (Mono)
Start offset: 0
Amount to import: 100
Rate: 22050 or 11025. 90% of the time it’s 22050 but always play the sound. If it sounds too high or low-pitched, try the other one.
Export
Before exporting, make sure the channels are set to mono.
Make sure your project rate is the same as the VOC file it’s replacing.
File name: whatever.VOC
Save as type: Other uncompressed files
Header: VOC (Creative Labs)
Encoding: Signed 16-bit PCM