Doom playable over an audio connection
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.
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.
You will need PortAudio development libraries, named portaudio19-dev
in Debian repositories.
Creates doom_audio/doom_audio
cd src
make
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
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.
A huge thank you goes out to: