Wednesday, 25 April 2018

Play WAV files from FreeDOS with E2B

You can play wav files using FreeDOS through your PC speaker, the sound quality is amazingly good!

This works on computers that have an internal PC speaker fitted but won't work on a VM as the PC Speaker is connected to a hardware timer chip which is not emulated by most VMs.

1. Go to http://www.vgmpf.com/Wiki/index.php/Digital_Sound_System#Download and download the 2006 version
2. Unpack the contents to a newly created \DSS folder on your E2B drive
3. Edit the \DSS\dss.ini file and change the SoundDevice section to use the PC Speaker as  device 8

[SoundDevice]
Device=8

4. Copy a .wav file to the \DSS folder (or several)

To play the wav file (e.g. ring03.wav)

1. Boot to E2B on a system that has a PC Speaker
2. Go to the DOS menu and boot to the FreeDOS floppy image
3. At the C: prompt type

cd \DSS
DSS ring03.wav /L-

The /L- tells it not to loop

You can press F1 for help, or type DSS /? for command line options.

Try pressing the Fn keys for different screen affects whilst it is playing.

I got a repetitive clicking sound approx. every second, but if you use the down-arrow to reduce the volume, it is less intrusive.

If you play an MP3 file, you get some horrible noise for a few seconds, but then it plays OK.
You cannot play midi files via the PC Speaker.

It does not seem to work on all systems for some strange reason (e.g no sound, bad sound or DSS crashes!), but does work on other systems.

Good Luck!