[Scummvm-tracker] [ScummVM :: Bugs] #10838: SHERLOCK: Scalpel - Bad sound effect

ScummVM :: Bugs trac at scummvm.org
Sun Nov 28 19:45:13 UTC 2021


#10838: SHERLOCK: Scalpel - Bad sound effect
-------------------------+-------------------------------------------------
Reporter:  eriktorbjorn  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: Sherlock
 Version:                |  Resolution:
Keywords:                |        Game:  Sherlock Holmes: Case of the
                         |  Serrated Scalpel
-------------------------+-------------------------------------------------
Comment (by eriktorbjorn):

 The 3DO version of that scene can be found at about 12:25 into
 https://www.youtube.com/watch?v=ep4OBxq_xog&list=PL9tH-
 kQslZN3jrUjT9sll4gAvvdLoAGTE&index=10

 That would seem to confirm that 11000 Hz is appropriate here, so something
 like this should be the correct workaround:

 {{{
 diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
 index 0e5652d52c..423687a79b 100644
 --- a/engines/sherlock/sound.cpp
 +++ b/engines/sherlock/sound.cpp
 @@ -313,6 +313,14 @@ bool Sound::playSoundResource(const Common::String
 &name, const Common::String &

                 byte *decoded = (byte *)malloc((size - 1) * 2);

 +               // WORKAROUND: The door bell at Lord Brumwell's mansion
 sounds really
 +               // strange at 1100 Hz. The game isn't heavy on sounds, but
 other sound
 +               // effects seem to be mostly at 11000 Hz, and that sounds
 about right
 +               // here since it matches the 3DO version.
 +               if (name == "JFCHIME.SND" && rate == 1100) {
 +                       rate = 11000;
 +               }
 +
                 // Holmes uses Creative ADPCM 4-bit data
                 int counter = 0;
                 byte reference = ptr[0];
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/10838#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list