[ scummvm-Bugs-780924 ] IMUSE: Pitchbend isn't reset when changing tracks

SourceForge.net noreply at sourceforge.net
Thu Jul 31 17:37:58 CEST 2003


Bugs item #780924, was opened at 2003-07-31 17:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=780924&group_id=37116

Category: iMuse/Music
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMUSE: Pitchbend isn't reset when changing tracks

Initial Comment:
This bug report will describe a specific case in Fate
of Atlantis, but it probably applies to iMUSE in general.

While walking around the outer circle of Atlantis, I
suddenly noticed that one of the parts was way out of
tune. It turned out that it had a pretty large
_pitchbend value. If I set it to 0 it sounded fine again.

I believe I've figured out what must have happend. I
even managed to reproduce it once, but it's tricky:

There seem to be three different tracks, numbered 0, 1
and 2, which are picked randomly when entering a room.
Changing tracks is done with the Player::scan() function.

Track 1 starts using pitchbend after about 35-40
seconds. The part that is being bent is very audible in
track 0. I entered a room, getting track 0, left the
room, and re-entered it again after not quite 37
seconds, this time getting track 0. By timing it just
right - this took several attempts - I managed to get
the change to happen in mid-pitchbend.

If the track had been allowed to continue on its own,
it would have reset the pitchbend to 0 of course. But
since the track changed, this never happened.

So, to summarize, there is a problem, I know how to
reproduce it (though I may not be able to do so at
will), and I have a good guess on how to fix it. But
I'd prefer if someone who actually understands the
iMUSE code would do it. Particularly since there may be
related bugs there as well.

(I can provide a savegame, I just forgot to bring one.)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=780924&group_id=37116




More information about the Scummvm-tracker mailing list