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 » Sat Feb 09, 2019 7:13 am

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: 1014
Joined: Fri Mar 02, 2007 8:03 am
Location: Manitoba, Canada
Contact:

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

Post by MusicallyInspired » Sat Feb 09, 2019 11:29 pm

Bizarre! Doesn't happen to me.

User avatar
eriktorbjorn
ScummVM Developer
Posts: 3306
Joined: Mon Oct 31, 2005 7:39 am

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

Post by eriktorbjorn » Sun Feb 10, 2019 8:16 am

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: 12
Joined: Tue Dec 15, 2015 1:56 pm

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

Post by Lillesvamp » Tue Feb 12, 2019 8:38 pm

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 » Mon Feb 25, 2019 12:02 am

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: 12
Joined: Tue Dec 15, 2015 1:56 pm

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

Post by Lillesvamp » Mon Feb 25, 2019 4:20 pm

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: 76
Joined: Wed Jul 11, 2007 1:18 am

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

Post by filipetolhuizen » Sun Mar 17, 2019 5:43 pm

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: 12
Joined: Tue Dec 15, 2015 1:56 pm

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

Post by Lillesvamp » Mon Mar 18, 2019 8:33 pm

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

Post Reply