The way to detect OPL3 clone

Discussion about old sound cards, MIDI devices and sound related accessories.

The way to detect OPL3 clone

Postby nukeykt » 2017-7-29 @ 08:29

Today i wrote program that can help to detect OPL3 clone. This program plays simple 440hz sound. It sounds like simple sine wave on OPL3 and like FM sound on clones. This program relies on hardware bug that presents in the real OPL3 core. I've tested it on YMF718 and various emulators.
Report your results here. I'll add them to this list.
Results:
YMF718 - Pass
DOSBox Fast core - Fail
DOSBox Compat core - Fail
Nuked OPL3 v1.7.4 - Fail
Nuked OPL3 v1.8 - Pass
CMI8738 - Pass
YMF744 - Pass
ESS1938 - Pass
FM801 - Fail
ALS4000 - Pass
MediaGX CX5530 - Fail
OPTI82C931 - Fail
CS4236 - Fail
AD1868 - Fail
ALS100Plus - Pass
ALS300 - Pass
CT1747 - Pass
YMF262 - Pass
CQM - Fail
YM3812 - Pass
ES1370 - Fail
ES18178 - Pass
VirtualPC - Fail
VMware - Fail
Download:
oplclone.zip
(10.75 KiB) Downloaded 50 times

Samples:
YMF718:
oplclone_ymf718.mp3
(243.96 KiB) Downloaded 93 times

DOSBox fast:
oplclone_dosbox_fast.mp3
(156.53 KiB) Downloaded 82 times
Last edited by nukeykt on 2018-3-22 @ 15:58, edited 12 times in total.
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Re: The way to detect OPL3 clone

Postby James-F » 2017-7-29 @ 09:03

Does that mean you can improve NukedOPL to be exactly like the hardware?
User avatar
James-F
Oldbie
 
Posts: 1428
Joined: 2015-11-30 @ 04:10

Re: The way to detect OPL3 clone

Postby nukeykt » 2017-7-29 @ 09:13

James-F wrote:Does that mean you can improve NukedOPL to be exactly like the hardware?

Yes, it is already fixed in upcoming NukedOPL3 v2.0.
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Re: The way to detect OPL3 clone

Postby James-F » 2017-7-29 @ 10:32

If you can/want/will, please provide a patch in .diff form when it's ready so it can be implemented in DOSBox ECE.

The current iteration of nukedOPL is already remarkably close to the original even in RTF measurements, I thought it was bit perfect already.
User avatar
James-F
Oldbie
 
Posts: 1428
Joined: 2015-11-30 @ 04:10

Re: The way to detect OPL3 clone

Postby Stretch » 2017-8-03 @ 01:16

I cannot hear a difference between the 3 sound cards I recorded from. I ran the program under Windows 98 SE command.com
Attachments
oplclone_ymf744.mp3
Yamaha YMF-744
(268.13 KiB) Downloaded 37 times
oplclone_ess1938.mp3
ESS Solo-1
(261.22 KiB) Downloaded 45 times
oplclone_cmi8738.mp3
CMI 8738
(237.75 KiB) Downloaded 44 times
Win98SE - Intel SE440BX-2 - Pentium II 233 Mhz - 256 MB System Ram - Voodoo 3 1000 AGP - Yamaha YMF-724 PCI - Soundblaster 32 ISA
Stretch
Member
 
Posts: 284
Joined: 2013-11-16 @ 00:57

Re: The way to detect OPL3 clone

Postby nukeykt » 2017-8-03 @ 06:24

Stretch wrote:I cannot hear a difference between the 3 sound cards I recorded from. I ran the program under Windows 98 SE command.com

Interesting results. YMF744 has real OPL3 so no question here. CMI8738 is believed to have real OPL3 and this recording confirm it. But ESS1938 is surprising. Perhaps they were aware of this bug. Does this card use hardware FM synthesis, or FM is emulated in software?
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Re: The way to detect OPL3 clone

Postby Stretch » 2017-8-03 @ 11:40

nukeykt, ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.
Attachments
ESS Solo-1 Device Manager.png
(11.51 KiB) Not downloaded yet
Win98SE - Intel SE440BX-2 - Pentium II 233 Mhz - 256 MB System Ram - Voodoo 3 1000 AGP - Yamaha YMF-724 PCI - Soundblaster 32 ISA
Stretch
Member
 
Posts: 284
Joined: 2013-11-16 @ 00:57

Re: The way to detect OPL3 clone

Postby nukeykt » 2017-8-03 @ 13:00

Stretch wrote:nukeykt, ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

How accurate it is? Or it is just ESFM?
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Re: The way to detect OPL3 clone

Postby Jo22 » 2017-8-03 @ 15:08

Stretch wrote:ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

Is that 2K/XP w/ classic theme or Win9x ?
I owned a TT-Solo and FM sounded not so well with the built-in XP drivers.
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 2638
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: The way to detect OPL3 clone

Postby Kamerat » 2017-8-03 @ 15:51

Here's the ALS4000 PCI sound card, the FM synth should be the same as the ALS120. Sounds legit.

Edit: Also added the FM801-AU, doesn't come close to the real deal...
Attachments
oplclone_fm801.mp3
(121.36 KiB) Downloaded 37 times
oplclone_als4000.mp3
(162.18 KiB) Downloaded 42 times
User avatar
Kamerat
Oldbie
 
Posts: 751
Joined: 2014-3-14 @ 19:09
Location: Oslo, Norway

Re: The way to detect OPL3 clone

Postby nukeykt » 2017-8-03 @ 18:01

Kamerat wrote:Here's the ALS4000 PCI sound card, the FM synth should be the same as the ALS120. Sounds legit.

Edit: Also added the FM801-AU, doesn't come close to the real deal...

Added, thanks.
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Re: The way to detect OPL3 clone

Postby SaxxonPike » 2017-8-03 @ 20:41

Fascinating results! Thanks for all your hard work, nukeykt, and the rest of you for running these tests.
User avatar
SaxxonPike
Member
 
Posts: 209
Joined: 2004-9-08 @ 20:04
Location: Wisconsin, USA

Re: The way to detect OPL3 clone

Postby Stretch » 2017-8-04 @ 00:23

Jo22 wrote:
Stretch wrote:ESS Solo-1 has hardware FM synthesis. Here's a screenshot of the FM port settings in device manager.

Is that 2K/XP w/ classic theme or Win9x ?
I owned a TT-Solo and FM sounded not so well with the built-in XP drivers.

Windows 98 SE. When I installed the unofficial service pack I picked the Win2k theme.
Win98SE - Intel SE440BX-2 - Pentium II 233 Mhz - 256 MB System Ram - Voodoo 3 1000 AGP - Yamaha YMF-724 PCI - Soundblaster 32 ISA
Stretch
Member
 
Posts: 284
Joined: 2013-11-16 @ 00:57

Re: The way to detect OPL3 clone

Postby Jo22 » 2017-8-04 @ 01:00

Here are some MP2 recordings for you. Opti 82C931 and MediaGX.
Stretch wrote:Windows 98 SE. When I installed the unofficial service pack I picked the Win2k theme.

Ah, okay, thanks ! :)
Edit: Quote fixed. :sweatdrop:
Attachments
oplclone_mediagx_cx5530.mp3
(328.29 KiB) Downloaded 35 times
oplclone_opti82c931.mp3
(275.27 KiB) Downloaded 37 times
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 2638
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: The way to detect OPL3 clone

Postby Kamerat » 2017-8-04 @ 04:30

Jo22 wrote:Here are some MP2 recordings for you. Opti 82C931 and MediaGX.

MediaGX sounded just like the SiS 7018. 8-O In Doom there's actually some noise. :lol:
User avatar
Kamerat
Oldbie
 
Posts: 751
Joined: 2014-3-14 @ 19:09
Location: Oslo, Norway

Re: The way to detect OPL3 clone

Postby Stretch » 2017-8-05 @ 23:40

I uploaded 2 more. Not sure why my recordings are so much lower than the others.

EDIT: I think we have to disregard these 2 because it seems my PC with ISA slots is not grounded properly.

Now the last major missing cards are YMF-262 and CQM.
Attachments
oplclone_cs4236.mp3
Crystal CS4236
(322.45 KiB) Downloaded 26 times
oplclone_ad1868.mp3
Analog Devices 1868 from Aztech SC16-3d
(273.47 KiB) Downloaded 18 times
Win98SE - Intel SE440BX-2 - Pentium II 233 Mhz - 256 MB System Ram - Voodoo 3 1000 AGP - Yamaha YMF-724 PCI - Soundblaster 32 ISA
Stretch
Member
 
Posts: 284
Joined: 2013-11-16 @ 00:57

Re: The way to detect OPL3 clone

Postby Jo22 » 2017-8-07 @ 00:56

One more recording. ALS100+, with built-in OPL3 (the chip can also be paired with an external YMF262). It's the "fixed" card used in this thread.

Kamerat wrote:MediaGX sounded just like the SiS 7018. 8-O In Doom there's actually some noise. :lol:

Cool, thanks for letting me know! :)
I guess this chipset was also used in Pentium III machines, since my dad's "year 2000" PC had a SB16 setting in BIOS.
https://en.wikipedia.org/wiki/SiS_630/730
Attachments
oplclone_als100plus_internal_opl.mp3
(278.33 KiB) Downloaded 29 times
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 2638
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: The way to detect OPL3 clone

Postby Jo22 » 2017-8-25 @ 00:58

And another one, again. ALS300 w/ built-in OPL3 core..
Attachments
oplclone_als300.mp3
(437.38 KiB) Downloaded 19 times
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 2638
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: The way to detect OPL3 clone

Postby Jo22 » 2017-8-25 @ 01:12

Creative "OPL", CT1747..
Attachments
oplclone_creative_opl_ct1747.mp3
(273.23 KiB) Downloaded 52 times
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel

//My video channel//
User avatar
Jo22
l33t
 
Posts: 2638
Joined: 2009-12-13 @ 07:06
Location: Europe

Re: The way to detect OPL3 clone

Postby nukeykt » 2017-8-25 @ 11:59

Thanks!
nukeykt
Newbie
 
Posts: 97
Joined: 2013-8-28 @ 11:11
Location: Russia

Next

Return to Sound

Who is online

Users browsing this forum: awgamer, infiniteclouds and 1 guest