King's Quest V - bad sound in scummvm

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
princeofpersia
Posts: 2
Joined: Sat Dec 22, 2018 11:42 pm

King's Quest V - bad sound in scummvm

Post by princeofpersia »

Does anyone else get distorted sounds (eg bird sounds in the very first screen) playing KQ5 in ScummVM? For some reason, this only happens in ScummVM and not DOSBox. I have managed to record the sound in both dosbox and scummvm. Have a listen:

DOSBox:
https://instaud.io/2xtx

ScummVM:
https://instaud.io/2xtw
User avatar
MusicallyInspired
Posts: 1138
Joined: Fri Mar 02, 2007 8:03 am
Location: Manitoba, Canada
Contact:

Re: King's Quest V - bad sound in scummvm

Post by MusicallyInspired »

Bizarre! Doesn't happen to me.
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3560
Joined: Mon Oct 31, 2005 7:39 am

Re: King's Quest V - bad sound in scummvm

Post by eriktorbjorn »

The bird chirps sound different to me in ScummVM and DOSBox as well, if I use AdLib sound. I had hoped than changing which AdLib emulator ScummVM uses would fix it, but if there was any difference it was minimal.

I don't know how to debug this, though.
Lillesvamp
Posts: 16
Joined: Tue Dec 15, 2015 1:56 pm

Re: King's Quest V - bad sound in scummvm

Post by Lillesvamp »

Snover's SCI AdLib code here seems to fix it.
princeofpersia
Posts: 2
Joined: Sat Dec 22, 2018 11:42 pm

Re: King's Quest V - bad sound in scummvm

Post by princeofpersia »

Sorry for the late response.
Lillesvamp wrote: Tue Feb 12, 2019 8:38 pm Snover's SCI AdLib code here seems to fix it.
How would you incorporate this code into ScummVM? Is this something you have to compile?
MusicallyInspired wrote: Sat Feb 09, 2019 11:29 pm Bizarre! Doesn't happen to me.
Which version of KQ5 do you use (Floppy disk, Voice CD, Sierra Originals, etc)?
Lillesvamp
Posts: 16
Joined: Tue Dec 15, 2015 1:56 pm

Re: King's Quest V - bad sound in scummvm

Post by Lillesvamp »

princeofpersia wrote: Mon Feb 25, 2019 12:02 am
How would you incorporate this code into ScummVM? Is this something you have to compile?
That branch is getting old, but if you download it from the page I linked to, with the green "Clone or download" button, it should still compile using the instructions in the Wiki. EDIT: Fixed link.

Incorporating it into the current ScummVM codebase would be a little more difficult.
princeofpersia wrote: Mon Feb 25, 2019 12:02 am
Which version of KQ5 do you use (Floppy disk, Voice CD, Sierra Originals, etc)?
I've only been able to reproduce this bug using AdLib sound with the DOS version. EDIT 2: That is, the version you get by choosing DOS rather than Windows when adding the GOG/Steam version of KQV to ScummVM. If I choose Windows, I'm unable to select AdLib sound.
filipetolhuizen
Posts: 89
Joined: Wed Jul 11, 2007 1:18 am

Re: King's Quest V - bad sound in scummvm

Post by filipetolhuizen »

Most of bad sound issues in ScummVM is due to SDL2 versions 2.0.6 to 2.0.8. Version 2.0.9 fixed all sound issues I was experiencing with ScummVM and everything else that uses SDL2.
Lillesvamp
Posts: 16
Joined: Tue Dec 15, 2015 1:56 pm

Re: King's Quest V - bad sound in scummvm

Post by Lillesvamp »

I'm building ScummVM with SDL 2.0.9, and I can definitely hear the issue described above.
Post Reply