Nuked OPL3 Patch for DOSBox(+Windows build)

Here you can discuss the development of patches.

Nuked OPL3 Patch for DOSBox(+Windows build)

Postby nukeykt » 2016-8-03 @ 14:11

This patch adds my Nuked OPL3 emulator to DOSBox SVN.
Set oplemu to nuked in config file. Also set oplrate and mixer rate to 49716 for best sound quality.
You do not have the required permissions to view the files attached to this post.
nukeykt
Newbie
 
Posts: 59
Joined: 2013-8-28 @ 11:11
Location: Russia


Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby James-F » 2016-8-28 @ 11:10

Make absolutely sure that both the Mixer and oplrate set to 49716 in DOSBox config else there is high level of harmonic distortion in the OPL emulation.
User avatar
James-F
Oldbie
 
Posts: 1134
Joined: 2015-11-30 @ 04:10

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby KainXVIII » 2016-8-31 @ 11:51

James-F wrote:Make absolutely sure that both the Mixer and oplrate set to 49716 in DOSBox config else there is high level of harmonic distortion in the OPL emulation.

What about real sound card setting? 48KHz is not enough and you need set higher (i.e. 96KHz if you can, of course)?
User avatar
KainXVIII
Member
 
Posts: 137
Joined: 2015-5-20 @ 15:04
Location: Yaroslavl

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby James-F » 2016-9-02 @ 10:00

No, for the real sound card DirectX (if you are on Windows) handles the sample rate conversion so everything should be right.
SDL which DOSBox uses for audio has far from alright sample rate conversion.

Anything but 49716 on both mixer and OPL, sounds distorted and noisy.
This applies to the Fast/Compat modes as well as for Nuked.

49.png

44.png

48.png


Real OPL3 for reference (YMF719):
YMF719.png
You do not have the required permissions to view the files attached to this post.
User avatar
James-F
Oldbie
 
Posts: 1134
Joined: 2015-11-30 @ 04:10

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby synamax » 2016-10-02 @ 22:28

Awesome stuff! I'm currently listening to MegaRace's music right now and it sounds perfect! At first, the song "Maeva" was playing weird but it turns out I had the oplmode set to "opl3gold" (which I turned on earlier for my reverse engineer work on Dune and MegaRace's music format). Everything went back to normal once I switched the oplmode back to "opl3". Keep up the excellent work!
User avatar
synamax
Newbie
 
Posts: 46
Joined: 2016-9-07 @ 04:57

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby notindeed » 2017-1-09 @ 17:58

Is this now added to any of the dosbox forks? (As the attached is 64bit only).

Or can I just use this : viewtopic.php?f=9&t=36667 and then set dosbox to use it as midi? (i'm guessing not as i don't think dosbox supports external soundcard emulation?)
notindeed
Newbie
 
Posts: 78
Joined: 2010-9-19 @ 01:08

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby James-F » 2017-1-09 @ 18:14

The user Yesterplay80 is compiling all the latest SVN versions with many useful patches.
https://drive.google.com/drive/folders/0BxEUSpZ8xHkvaW1aYXlRRkRpVE0

The Enhanced version has a PATCHES.TXT which lists all the patches applied to the SVN.
Including the bit perfect Nuked OPL3 emulation.
User avatar
James-F
Oldbie
 
Posts: 1134
Joined: 2015-11-30 @ 04:10

Re: Nuked OPL3 Patch for DOSBox(+Windows build)

Postby notindeed » 2017-1-10 @ 01:00

Thanks, I'll try it.

Are there any good crt filters/shaders for dosbox too? That's something I always missed (along with scaling options)
notindeed
Newbie
 
Posts: 78
Joined: 2010-9-19 @ 01:08


Return to DOSBox Patches

Who is online

Users browsing this forum: No registered users and 1 guest