DOS sounds

Discussion in 'Computers and Technology' started by Fenix, Jun 1, 2009.

DOS sounds

Discussion in 'Computers and Technology' started by Fenix, Jun 1, 2009.

  1. Fenix

    Fenix Moderator

    Joined:
    May 21, 2007
    Messages:
    6,769
    Likes received:
    11
    Trophy points:
    0
    Ok, so, this one's like...waaaaay far out there, but I'm curious. Does anyone know how to extract the sound from a DOS based .exe? There's like...three program files including the setup and readme's...
     
  2. Lobsterlegs

    Lobsterlegs Guest

    VERY unlikely.
    But why not just record the sounds from your computer?
    [​IMG][​IMG]
     
    Last edited by a moderator: Jun 1, 2009
  3. Fenix

    Fenix Moderator

    Joined:
    May 21, 2007
    Messages:
    6,769
    Likes received:
    11
    Trophy points:
    0
    Cause the quality generally sucks when you do that, as well as the fact that since it's in DOS, I can't really access most of my Windows functions...
     
  4. jasmine

    jasmine New Member

    Joined:
    Feb 26, 2009
    Messages:
    506
    Likes received:
    5
    Trophy points:
    0
    From:
    England
    It's likely to be encoded in some obscure format. It was common to do that back then. There isn't necessarily a formatting header to the sounds either when they're embedded in the application. :)

    If you open the exe in a wave editor initially as 16-bit unsigned at 11kHz , and listen to the binary. Somewhere should be the block of sound effects sounding very crackly because they'll probably be using a non standard bit depth (eg, 11-bit) and obscurely signed, or use u-law encoding. Once you've isolated the sound, dump it to a raw file and to work out what format it is. You'll need to determine, in roughly this order:

    - Bit depth.
    - Number of channels.
    - The signing.
    - The correct sample rate.
    - The dynamics law
    - Whether or not it's differential encoded, or uses linked channels.