|
MAME's OPL emulation
#311700 - 07/20/13 04:52 PM
|
|
|
MAME's opl emulators are using wrong key scale level:
0.0 dB/oct, 1.5 dB/oct, 3.0 dB/oct, 6.0 dB/oct instead of 0.0 dB/oct, 3.0 dB/oct, 1.5 dB/oct, 6.0 dB/oct
|
|
|
|
Re: MAME's OPL emulation
[Re: Alexey]
#311702 - 07/20/13 06:36 PM
|
|
|
> MAME's opl emulators are using wrong key scale level: > > 0.0 dB/oct, 1.5 dB/oct, 3.0 dB/oct, 6.0 dB/oct instead of > 0.0 dB/oct, 3.0 dB/oct, 1.5 dB/oct, 6.0 dB/oct
Wrong according to what?
|
|
|
|
Re: MAME's OPL emulation
[Re: Phil Bennett]
#311718 - 07/21/13 03:20 AM
|
|
|
YMF262(OPL3) Datasheet YMF278B(OPL4) Application manual
|
|
|
|
Re: MAME's OPL emulation
[Re: Alexey]
#311736 - 07/21/13 03:28 PM
|
|
|
> YMF262(OPL3) Datasheet > YMF278B(OPL4) Application manual
I see. Has this been verified on a real chip? There are many mistakes in Yamaha's datasheets and MAME's OPL emulation incorporates a lot of research based on experiments with real hardware.
|
|
|
|
Re: MAME's OPL emulation
[Re: Phil Bennett]
#311738 - 07/21/13 05:36 PM
|
|
|
|
|
Re: MAME's OPL emulation
[Re: Alexey]
#311752 - 07/22/13 12:55 AM
|
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: MAME's OPL emulation
[Re: Phil Bennett]
#311775 - 07/22/13 04:51 PM
|
|
|
> > Yes. I verified. > > Doom 2 MAP 09 > > MAME's emulation(SkullTag): > > http://www.youtube.com/watch?v=Ms5xEbzDHtc > > Real OPL(SB16): > > http://www.youtube.com/watch?v=_RFd_rq0uvA > > Great, thanks. I'll see to it that it gets fixed.
Fair warning: most GPL projects like SkullTag use a very, very old version of MAME's FM which predates a lot of the quality work we've put into it since, oh, 2003 or so
People who've A/B'ed current MAME OPL with hardware via DOSBox generally don't show the sorts of obvious errors that Alexey's samples here do.
|
|
|
|
Re: MAME's OPL emulation
[Re: Alexey]
#311777 - 07/22/13 06:09 PM
|
|
|
For about two years ago so did i compare an MAME recording and an arcade PCB recording i had done from the game Vimana and i could not hear any difference at all.
Now i don't know about skulltag but never compare OPL2 with OPL3 as they sound different, not so obvious in some music while others sound totally different on OPL3 compared to OPL2.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
|
> For about two years ago so did i compare an MAME recording and an arcade PCB > recording i had done from the game Vimana and i could not hear any difference at all. > > Now i don't know about skulltag but never compare OPL2 with OPL3 as they sound > different, not so obvious in some music while others sound totally different on OPL3 > compared to OPL2.
Vimana doesn't have sound emulation in MAME?
|
|
|
|
Re: MAME's OPL emulation
[Re: R. Belmont]
#311779 - 07/22/13 06:41 PM
|
|
|
oops... :-) I am getting senile... i cant even remember the name, but it was a game that uses OPL2 and i am sure it was a Toaplan game... now i don't dare to say any exact title ;-)
> > Vimana doesn't have sound emulation in MAME?
|
|
|
|
|
|
AWJ |
|
|
|
Reged: 03/08/05
|
Posts: 936
|
Loc: Ottawa, Ontario
|
|
Send PM
|
|
|
Re: MAME's OPL emulation
[Re: Phil Bennett]
#311784 - 07/22/13 11:39 PM
|
|
|
|
|
|
> > Here's the MESS 0.149u1 OPL2 rendition of Into Sandy's City > > Can we get before and after recordings to verify that this change really does make > the difference?
Oh ye of little faith...
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: MAME's OPL emulation
[Re: Phil Bennett]
#311790 - 07/23/13 01:47 AM
|
|
|
> > > Here's the MESS 0.149u1 OPL2 rendition of Into Sandy's City > > > > Can we get before and after recordings to verify that this change really does make > > the difference? > > Oh ye of little faith...
Can you post it in some normal format? It's super-hard to play flac on Linux even though it's allegedly open-source. I have no idea why.
Edited by R. Belmont (07/23/13 01:47 AM)
|
|
|
redk9258 |
Regular
|
|
|
Reged: 09/21/03
|
Posts: 3968
|
Loc: Troy, Illinois USA
|
|
Send PM
|
|
|
|
Here ya go.
I don't know why, but there is a huge DC offset in the file...
|
|
|
|
|
I recorded MESS output, after fixing ksl.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: MAME's OPL emulation
[Re: redk9258]
#311836 - 07/23/13 05:29 PM
|
|
|
> Here ya go. > > I don't know why, but there is a huge DC offset in the file...
Thanks.
There's definitely bad distortion in there due to the DC offset. I assume this is recorded from the MESS PC driver? Anything with a speaker or DAC output causes DC offsets bad in MAME/MESS. Real h/w couples the output through a capacitor to block that normally but we don't have any equivalent.
|
|
|
|
Re: MAME's OPL emulation
[Re: R. Belmont]
#311841 - 07/23/13 06:59 PM
|
|
|
> > > Yes. I verified. > > > Doom 2 MAP 09 > > > MAME's emulation(SkullTag): > > > http://www.youtube.com/watch?v=Ms5xEbzDHtc > > > Real OPL(SB16): > > > http://www.youtube.com/watch?v=_RFd_rq0uvA > > > > Great, thanks. I'll see to it that it gets fixed. > > Fair warning: most GPL projects like SkullTag use a very, very old version of MAME's > FM which predates a lot of the quality work we've put into it since, oh, 2003 or so > > People who've A/B'ed current MAME OPL with hardware via DOSBox generally don't show > the sorts of obvious errors that Alexey's samples here do.
Skulltag is no longer maintained.
They're now working on it over here:
http://zandronum.com/
|
"Note to Noobs:
We are glad to help you but simply posting that something does not work is not going to lead to you getting help. The more information you can supply defining your problem, the less likely it will be that you will get smart-alec replies.
C.D.~"
|
|