First post, by James-F
- Rank
- Oldbie
Recently I have been doing experiments with DOSBox audio output levels and found that dosbox actually boosts the audio signal and clips at its output.
Long story short, I needed to set "mixer master 60" to completely eliminate clipping while some games still reach -0.5dbFS (as I read the signal in my DAW), they do not clip.
To test this simply run Doom, full SFX volume, idkfa, choose weapon 6, and shoot straight into space, and look at the DAW sound level meters.
This creates a very loud sound which clips the audio output and reaches 0.0dbFS (digital) if Master set above 60.
I also created a WAV test file with distorted pink noise to create the loudest sound possible and I had to turn DOSBox mixer master to 60 to prevent clipping at dosbox output.
Moreover, I tested this with my retro PC and found that the sound card (Yamaha YMF719) has plenty of headroom and does not distort like DOSBox.
Dosbox Devs;
Is there a reason the output of dosbox is clipping when mixer master = 100 (default)?
I am willing to provide more info, collaboration and audio test files to solve this minor "bug" which results in less that ideal sound output.
The default mixer master 100, is obviously distorting the sound because there is no headroom left, real sound card in DOS has plenty of headroom before clipping.
Setting anything above master 60 will distort the output.
Mixer Master 60 Doom, -1.17dbFS before clipping:
Mixer Master 60 Noise, -0.7dbFS before clipping
Mixer Master 70 Doom and Noise, -0.1dbFS (clipping):