VOGONS


First post, by Dude123

User metadata
Rank Newbie
Rank
Newbie

hi,

I have 3 questions:

* I can read in news:
"Add two new opl2+opl3 emulators. (better speed, different implementation approach)"

1) I understand you can choose them with 'oplemu'.
I regulary record sound blaster music to wav files. I was wondering: will those new opl emulators sound different then the one used in dosbox 0.72?
So will I have to record music again with dosbox 0.73?

2) Which one of the following is the one used in dosbox 0.72: default, compat, fast or old? Is it the 'old' one in this list?

* in conf file I see you now can choose 49716 as setting for 'rate' and 'oplrate'.

3) I don't understand this number. CD-quality is 44100 Hz, so why this strange number and how can dosbox increase the sound quality even higher then CD-quality? I thought CD-quality (44100 Hz) was the highest audio quality produced by sound cards those days.
And if I choose 49716 there and I record it to wav file, in what format will it be stored: 44100 or really 49716 Hz?

thank you very much!

Reply 1 of 25, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

49716 is the internal rate of a real opl2 card.
old is the 0.72 version

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

Reply 2 of 25, by Dude123

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

49716 is the internal rate of a real opl2 card.
old is the 0.72 version

so conclusion is that dosbox 0.73 just uses higher quality emulation but it should sound the same as dosbox 0.72?

Reply 3 of 25, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

No, how ever you drew that conclusion.

Reply 4 of 25, by Dude123

User metadata
Rank Newbie
Rank
Newbie
wd wrote:

No, how ever you drew that conclusion.

because in dosbox 0.72 you can only choose 48000 Hz as maximum frequency.
Dosbox 0.73 uses higher frequency so logically thinking it's better audio quality?

Can you tell me what the difference between dosbox 0.72 and 0.73 opl emulation is then, if I'm wrong?

thx

Reply 5 of 25, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

because in dosbox 0.72 you can only choose 48000 Hz as maximum frequency.

Says who? There's no such limit.

Can you tell me what the difference between dosbox 0.72 and 0.73 opl emulation is then, if I'm wrong?

Different emulation core, check the sources if you need details.

Reply 6 of 25, by Dude123

User metadata
Rank Newbie
Rank
Newbie
wd wrote:
Says who? There's no such limit. […]
Show full quote

because in dosbox 0.72 you can only choose 48000 Hz as maximum frequency.

Says who? There's no such limit.

euhm, why is 48000 then indicated as highest value in conf file of dosbox 0.72 and suddenly in dosbox 0.73 there is a higher value 49716 added?

Can you tell me what the difference between dosbox 0.72 and 0.73 opl emulation is then, if I'm wrong?

Different emulation core, check the sources if you need details.

Yes, but I'm not a programmer. I would like in human words an explanation between the emulation cores of opl. Do they sound different or do they all sound the same but just different workload for the pc?

thx

Reply 7 of 25, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Don't you hear the difference??

1+1=10

Reply 8 of 25, by Dude123

User metadata
Rank Newbie
Rank
Newbie
h-a-l-9000 wrote:

Don't you hear the difference??

so I can conclude then those different opl emulation cores of dosbox 0.73 all sound different?

But what opl emulation core is the 'real' emulation of the original sound blaster 16 card then? 😕

I'm confused because nobody really explains it after re-asking this question

Reply 9 of 25, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

they are all attempts at emulating the "real" sound

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

Reply 10 of 25, by Zorbid

User metadata
Rank Member
Rank
Member

To make things clear :
Old is based on an old version of the MAME OPL2 emulator. Newer versions of this code cannot be used because of license issues.

Fast and Compat are new cores, based on an emulator written by Ken Silverman (of Duke Nukem 3D), and improved by the DOSBox team (Harekiet). They should sound better than the old one.

The 49716Hz sampling frequency should give the most accurate results. Not because it's higher, but because that's what the real thing used.

Some sound cards (usually the cheap/integrated ones) cannot handle custom sampling rates, this might explain your limitations. You can still use the OPL emulation at the optimal frequency, then set the mixer at 48000Hz.

Reply 11 of 25, by Dude123

User metadata
Rank Newbie
Rank
Newbie
Zorbid wrote:

To make things clear :
Old is based on an old version of the MAME OPL2 emulator. Newer versions of this code cannot be used because of license issues.

do those new emulators only work when 'oplmode' is set to 'opl2' or also when it's set to other values like 'opl3', ...?

I have still 1 question: what's the 'default' value of 'oplemu'?
So in other words, what emulator is used when I choose 'default' there?
Is it 'old', 'compat' or 'fast' or even another one?

thx!

Reply 12 of 25, by Zorbid

User metadata
Rank Member
Rank
Member

OPL 2 and 3, actually, yes for both the old and the new emus.

Reply 13 of 25, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

what's the 'default' value of 'oplemu'?

Currently it's fast.

Reply 14 of 25, by soundblastermusic

User metadata
Rank Newbie
Rank
Newbie
Zorbid wrote:

Fast and Compat are new cores, based on an emulator written by Ken Silverman (of Duke Nukem 3D), and improved by the DOSBox team (Harekiet). They should sound better than the old one.

What's the difference in sound output between fast and compat?
Or are they the same but 'fast' tries to use less cpu cycles?

Reply 15 of 25, by soundblastermusic

User metadata
Rank Newbie
Rank
Newbie
Zorbid wrote:

Fast and Compat are new cores, based on an emulator written by Ken Silverman (of Duke Nukem 3D), and improved by the DOSBox team (Harekiet). They should sound better than the old one.

where can I download Ken's emulator (and source)?

Reply 16 of 25, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

What's the difference in sound output between fast and compat?

None ideally.

where can I download Ken's emulator (and source)?

Silverman's homepage obviously.

Reply 17 of 25, by soundblastermusic

User metadata
Rank Newbie
Rank
Newbie
wd wrote:

None ideally.

What do you mean by 'ideally'? Are they 100% the same or what are the differences?

wd wrote:

Silverman's homepage obviously.

I searched on http://www.advsys.net/ken/ but can't find it. Can you give me the link please?

Reply 19 of 25, by soundblastermusic

User metadata
Rank Newbie
Rank
Newbie
wd wrote:
Capture two samples, adjust the play start and do a binary diff. […]
Show full quote

Are they 100% the same or what are the differences?

Capture two samples, adjust the play start and do a binary diff.

I searched on http://www.advsys.net/ken/ but can't find it.

http://www.advsys.net/ken/download.htm

- yes, of course. But you wrote dosbox, can't you tell me in human language what the difference is? I'm not a developer.

- Sorry but I can only find games he made there. Where is the SB16 emulator?