VOGONS


OPL Emulation 0.73

Topic actions

First post, by BloodySword

User metadata
Rank Newbie
Rank
Newbie

Hello out there!

The OPL Emulation is now amazing fast on my Intel Core 2 Duo 2x2GHz Laptop.

But with Keen 6, the fabric tower level musik sounds still kinda werid. The FM-Synthesis sounts very sharp, I don't remember this in the past.

I had to set the sampling frequenzy of the sound output and opl emulation to 96000 Hz, now it sounds a bit better.

An Example file will follow.

regards

Reply 1 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

rate=49716
oplrate=49716

Reply 2 of 7, by BloodySword

User metadata
Rank Newbie
Rank
Newbie

That's really amazing. IT sounds like it sounded in my old 386 with SB16. How does it come to this odd rate? Is this the rate, the Yamaha OPL chip used internally?

In 0.36 and downwarts, the sound sounded like noise only. FM was not supported, wasn't it?

Reply 3 of 7, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

yeah that is the internal rate of the opl chip.

Water flows down the stream
How to ask questions the smart way!

Reply 4 of 7, by BloodySword

User metadata
Rank Newbie
Rank
Newbie

How did the SB16 this? Was this resampled to 44100 or was the output of the OPL chip analog?

A VST plugin implementation of the good old OPL-Chip would be great for Cubase xDD.

Reply 5 of 7, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Obviously the sb16 had better resampling than dosbox...

Reply 6 of 7, by BloodySword

User metadata
Rank Newbie
Rank
Newbie

I tested it. Upsamling is no problem, downsampling sounds not so great. You should take a look at libsamplerate for this. In the config it would be great if the user could switch between libsamplerate default resampler and the sinc resampler wich is built in libsamplerate, too.

Reply 7 of 7, by Roxor

User metadata
Rank Newbie
Rank
Newbie

Performing real-time sample-rate conversion sounds like a good idea, but there should probably be an option to use simple methods or disable it for those with slow machines.

Also, where would this be applied? Within the sound devices? Between them and the mixer? Both?

How does DOSBox handle a game that wants to output sound at a lower sample-rate than the sound device it's trying to use and/or the mixer, anyway?