Jump to content
  • 0

Sounds?


PlanetaryDoomDev

Question

7 answers to this question

Recommended Posts

  • 0
Quote

Sound lumps in the WAD file are stored in the DMX format; which consists of a short header followed by raw 8-bit, monaural (PCM) unsigned data, typically at a sampling rate of 11025 Hz, although some sounds use 22050 Hz. Each sample is one byte (8 bits).

https://doomwiki.org/wiki/Sound

 

Also:

https://doomwiki.org/wiki/DMX

 

And for ZDoom specifically:

https://zdoom.org/wiki/Sound_format

Share this post


Link to post
  • 0

No, of course not, that'd be ridiculous. You can use .wav files, DMX supports them.

Quote

DMX supports its own native sound effect formats, two of which are used in Doom: format 0 is used for PC speaker sound effects while format 3 is used for digitized sounds. Formats 1 and 2 are reserved for MIDI-based sound effects, known in the DMX library as GSS. DMX can also play Microsoft WAVE format effects, but Doom does not use the API required for it.

 

Share this post


Link to post
  • 0
44 minutes ago, PlanetaryDoomDev said:

By Each sample is one byte, does that mean I have to constrain myself to only REALLY SHORT sounds?

There are 11025 samples each second (11025 Hz), and each of those are one byte, so a one-second sound would be about 11 kilobytes in size, which is tiny for today's computers.

 

I expect that Slade would be able to convert sounds into the format used by Doom. I know it can for graphics, so I assume it can for sounds, too.

Share this post


Link to post
  • 0

They should be able to. If vanilla Doom can read the sound, then it should work in DOS.

Also, SLADE is a much more modern version of SLumpEd, so I think you should use it, but looking through it real quick suggests it can't convert sound types. It seems like you'd have to do that yourself. Here's a thread on that:

It's ancient, but it should have the answer you're looking for here.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...