First post, by Jepael
Frankly I'm a bit surprised that in 2009 we still haven't found the Valhalla of emulation yet. The digital end is pretty straight-forward and emulating an AdLib one would think would be quite possible.
So I guess my question is, is it that the emulation is that difficult or is it that not enough people, with the talent to knock the doors off this, really care about it today?
Emulation is not exactly easy. OPL2 and OPL3 chips (YM3812 and YMF262) have little documentation how they actually do their stuff internally. Most often things go wrong when some parameter is modified after the sound is already playing. I have also tried to gain knowledge how these chips work internally, but I will never be able to achieve same level as Jarek and others who already have made rather good emulators.
My main reason for not creating the most perfect Adlib emulator is lack of time, I have work and family, so maybe other people too.
If however there would be a 100% bit accurate Adlib emulator, the sound would have to be processed to some extent before it goes to soundcard, like resampling from the original 49716 sampling rate. Emulators in DosBox and ScummVM have internal scaling so they create the samples at some wanted frequency, not the original frequency.
My opinion is that a good emulator would first create the original samples at original rate and then resample to whatever is needed.
If the sound generation is done like the original chips do it (via lookup tables) instead of how current implementations do it (multiplication), it would propably use less CPU horsepower too.
So do the FM chip emulator guys hang out here or where can they be reached? I may have some ideas if they are interested.