Sound Blaster Pro & 16
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Sound Blaster Pro & 16
Try rev 748. I'm really not doing well today...
Re: Sound Blaster Pro & 16
Fixed.
Doom still doesn't detect the OPL3 core, it plays as OPL2. (mono).
Please put top priority on the stereo issue.
Doom still doesn't detect the OPL3 core, it plays as OPL2. (mono).
Please put top priority on the stereo issue.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Sound Blaster Pro & 16
Okay, I've done some experimenting with MPXPlay, and I seem to be getting better stereo separation than you've reported - have a listen to http://pcem-emulator.co.uk/files/440.zip. '440 panning.wav' is the raw output that PCem sends to OpenAL, and '440 panning output.wav' is recorded from my sound card output, ie what OpenAL is outputting. Both look to be about a 40 dB difference to me?
What version of OpenAL are you using, where did you get the libraries from? A quick Google search suggests that OpenAL Soft has bad stereo separation, so that might be the problem.
What version of OpenAL are you using, where did you get the libraries from? A quick Google search suggests that OpenAL Soft has bad stereo separation, so that might be the problem.
Re: Sound Blaster Pro & 16
You are absolutely right, I was using a OpenAL32.dll form other place.
The OpenAL32.dll from V12 is working perfectly fine.
Please forgive my ignorance and this waste of time.
The OpenAL32.dll from V12 is working perfectly fine.
Please forgive my ignorance and this waste of time.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Sound Blaster Pro & 16
No worries! I'm just glad this wasn't some hideously weird bug.
Re: Sound Blaster Pro & 16
Please change the 55000 values in sound_sb.c to 51000, to restore balance.
Note that the OPL cores PCem uses are inaccurate and may not match the real card exactly, they do in 86Box.
I will ask the 86Box branch devs for a Diff file only for the NukedOPL core.
Another thing, SB16 can receive 0-15 volume steps through addresses 0x22 0x04 0x26 0x28 but PCem truncates it to 0-8 using shifts (4 >> then << 3, then >> 3) commands.
I tried to adjust that with no success, and lost volume because of wrong shifts.
Code: Select all
out_l = ((((sb->opl.buffer[c] * mixer->fm_l) >> 16) * 51000) >> 16);
I will ask the 86Box branch devs for a Diff file only for the NukedOPL core.
Another thing, SB16 can receive 0-15 volume steps through addresses 0x22 0x04 0x26 0x28 but PCem truncates it to 0-8 using shifts (4 >> then << 3, then >> 3) commands.
I tried to adjust that with no success, and lost volume because of wrong shifts.
Re: Sound Blaster Pro & 16
- SarahWalker: Make sure though to still allow the user to select DOSBox OPL if they so desire, because at least on my Pentium Dual-Core, NukedOPL makes the emulator on average 10% slower.
- James-F: I will try to make a diff for NukedOPL later today, it should be fairly easy.
- James-F: I will try to make a diff for NukedOPL later today, it should be fairly easy.
Re: Sound Blaster Pro & 16
I've noticed running Doom (v1.2 under DOS 6.2 with SB16) then quitting it and running it again seems to have sound playing without the filter
Re: Sound Blaster Pro & 16
Yes, Doom disables the filter after you quit; It is exactly the same on the real hardware.
You should use the SBPro mixer software SBP-SET.EXE with /DNFI:ON to restore the filter.
Some games change the mixer setting, this is the reality of it.
You should use the SBPro mixer software SBP-SET.EXE with /DNFI:ON to restore the filter.
Some games change the mixer setting, this is the reality of it.
-
- Posts: 33
- Joined: Tue 24 Mar, 2015 10:51 pm
Re: Sound Blaster Pro & 16
Hi what is is version openal32.dll is OK?
https://openal.org/downloads/ This version is fault?
https://openal.org/downloads/ This version is fault?