Skip to content

wojciech-graj/doom-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOOM-audio

DOOM playable over an audio connection!

DOOM-audio outputs its video as audio for viewing as a spectrogram, and takes audio input. Check it out in action here.

SCREENSHOT

Source-port of doomgeneric.

You will need a WAD file (game data). If you don't own the game, the shareware version is freely available.

Requirements

You will need PortAudio development libraries, named portaudio19-dev in Debian repositories.

Building

Creates doom_audio/doom_audio

cd src
make

Playing

Display

You will need software capable of generating a live spectrogram to view the game's output. The best software for this is ocenaudio with the following configuration:

Recording:
- Sample Rate: 44100 Hz
- Channels: Mono
- Resolution: 32 bits
Sound preferences:
- Buffer Size: 64 samples
Spectrogram preferences:
- Number of Bins: 512
- Window Size: 100%
- Dynamic Range: 130dB
- Normalize

Input

For your convenience, a python script src/controller.py exists that emits sine waves with the appropriate frequencies based on the keys being pressed. You will need to provide this script's audio output to your default audio input. The controls are based on the "Default controls" found here.

Credits

A huge thank you goes out to:

Languages