Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Making sounds

From Quake Wiki

Revision as of 04:28, 28 May 2023 by (talk) (Sound File Formats: clarity in intro)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Sound File Formats[edit]

Most sounds in the original Quake are mono WAV files with a sample rate of 11025 Hz and a bit depth of 8. This is usually referred to as "11kHz 8-bit mono". You can use other sample rates, but they may be resampled to 11kHz depending on the end-user's engine and configuration.

All engines load WAVs as 16bit, unless the user sets the loadas8bit cvar (which basically exists only for running in DOS with only 8MB RAM, something that's generally not gonna happen nowadays...).

Looping Sounds[edit]

Looping sounds can be created in the Quake engine by adding a cue point at the start of the WAV file, for example with LoopAuditioner.

Engines that support Vorbis or other formats for non-music sounds also usually make the ambientsound builtin force looping (from the start of the file, when there's no explicit cue point set).