Reply 360 of 406, by zyzzle
crazii wrote on 2023-02-28, 16:53:Update:
1. added option /k to set sample rate. /k22050 or /k44100, default 22050
Thank you for adding /K option. This (28-Feb) version seems most stable by far on Intel High Def. audio. I noticed sample rate of 44.1khz works well, however, you were wise to not make it default, since original SB / SB Pro is limited to 22050 hz.
In my testing (HDA sound), now it is GREAT to be able to change settings "on the fly" with SBEMU. However, when changing th sample rate "on the fly" from 44100 to 22050, this results in silencing the output in the games I tested (real-mode games) ; strangely both OPL *and* digital audio go away when changing /K44100 to /K22050 "on the fly" without rebooting. The problem is easily rectified by simply rebooting and running SBEMU with /T1 or /T5 (and /K22050 default setting).
However, this is minor as the main news is that /K44100 does now work in playing .FLACs, .MODs, and .WAVs from CDs at the proper sample rate and fidelity -- and the quality is outstanding. The modern PCI onboard sound cards like HDA do not have the analogue noise issues that the old ISA cards did (they have better digital to analogue conversion and less distortion), so SBEMU is such a blessing, for it now enables to play high-fidelity 16-bit stereo audio in DOS with even better fidelity than these old, noisy DOS ISA cards did.
So, I'm glad to reboot the machine if I need to switch back to 22050 internal sampling rate for SB / SB Pro emulation instead.
Incidently, the DOS emulators I've tried so far work wonderfully with SBEMU. This includes Nesticle, ROCKNES, z26, ZSNES, PC Atari Emulator, ColEm, Mame. It is great to play "Super Mario Bros 3", "Galaga", "Prince of Persia" for NES, or Doom or "Ms. Pac Man" for SNES in (protected mode) DOS with full, wonderful, emulated digital sound. It is a fantastic result.
Only problem remaining for me on HDA is that many Real Mode games still produce only 1-2 seconds of (fast) digital audio, with perfect OPL sound, then cut out entirely with Digital audio, but not OPL. Nothing I've been able to do to rectify this with SBEMU settings alone. Some real mode games do this, some don't: Apogee games do, many others have perfect audio. I still couldn't get MDK to work with sound, either.
I should compile a list of working and non-working games (on HDA sound) and comments, if it would help others at all for troubleshooting.