[Scummvm-tracker] [ScummVM :: Bugs] #13460: SCUMM: DOTT: Incorrect MIDI pitch bending
ScummVM :: Bugs
trac at scummvm.org
Thu Sep 8 10:28:57 UTC 2022
#13460: SCUMM: DOTT: Incorrect MIDI pitch bending
----------------------+----------------------------------
Reporter: AndywinXp | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: adlib | Game: Day of the Tentacle
----------------------+----------------------------------
Comment (by AndywinXp):
Very small update on that; I had a couple of idle minutes so I checked the
interpreter functions I posted a while ago in here (in particular the one
I named `IMUSE_PART_SetTranspose`):
in our `Part::set_transpose()`, changing `_transpose_eff = (_transpose ==
-128) ? 0 : transpose_clamp(_transpose + _player->getTranspose(), -24,
24);` to `_transpose_eff = (_transpose == -128) ? 0 :
transpose_clamp(_transpose + _player->getTranspose(), -12, 12);` seems to
fix the issue.
Of course, I'm guessing that by doing directly that I'm surely breaking
something else, and I unfortunately don't have time right now to properly
look at it, but at least I found the source of this peculiar problem.
--
Ticket URL: <https://bugs.scummvm.org/ticket/13460#comment:15>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list