I`ve got a problem with audio playback in mi2 with mt-32 emulation...
it`s the ONLY game in my collection which produces a loud "crackling" sound when playing music. I can still hear the music of course, but there`s this annoying crackling in it.
All other Games (Dott, s&m, mi1 and so on) are working PERFECTLY fine with MT-32....
anyone has the same problem? solution someone? could it be my soundcard?
i tried different versions of scummvm, i tried different sound setting etc....
it`s exasperating...
i`ll try to upload a sample tomorrow, so you can hear for yourself...
"crackling" sound with monkey island 2 anyone??
Moderator: ScummVM Team
- eriktorbjorn
- ScummVM Developer
- Posts: 3560
- Joined: Mon Oct 31, 2005 7:39 am
Re: "crackling" sound with monkey island 2 anyone?
All music, or just the campfire music during the intro? If it's the latter, it's probably normal -- there's a crackling fire nearby.Cyphox wrote:I`ve got a problem with audio playback in mi2 with mt-32 emulation...
it`s the ONLY game in my collection which produces a loud "crackling" sound when playing music.
I don't have the means to try the MT-32 emulator myself, so if it's the former I have no idea.
Re: "crackling" sound with monkey island 2 anyone?
i was a little bit wrong, actually the crackling is in more mt-32 games, but not that loud and anoying as in mi2.eriktorbjorn wrote:All music, or just the campfire music during the intro? If it's the latter, it's probably normal -- there's a crackling fire nearby.Cyphox wrote:I`ve got a problem with audio playback in mi2 with mt-32 emulation...
it`s the ONLY game in my collection which produces a loud "crackling" sound when playing music.
I don't have the means to try the MT-32 emulator myself, so if it's the former I have no idea.
no, i don`t mean the crackling fire and (thank god) it`s not everywhere in the game, but the main theme goes crummy and the part where lechuck hurts you with the voodoo doll etc. and a few other scenes between i can`t remember right now...
here`s the sample (main theme):
http://uploaded.to/?id=sesxbg
mmmh.... i guess i will try a different soundcard next. got realtek hi-def onboard right now... tried with realtek ac-97, same effect.
I think this might be my fault. See this bug report.
I was trying to bring the overall volume level in line with other music drivers and sound effects. (If you've still got an old copy of scummvm around, go to the bar on Scabb and listen to the difference between the music in the background and the sound effect of the bartender spitting. Compare the results of using the Adlib driver versus the MT-32 driver.)
I noticed the crackling when I was testing my change, but only at fairly high volumes. At 192, say, the problem goes away; as this is the default, I didn't worry too much about it. Try setting the volume lower, see if that helps.
As a side note, I'm fairly certain this has to do with the reverb in the MT32 we're trying to emulate; this problem is especially bad when the music is loudest (for example, when LeChuck is moving around). What's most likely happening is that sample overflows and what should be a very large value is actually a very small one. It makes me wonder if perhaps the MT32 author saw this problem and was intentionally shifting by an extra bit. I still think the change was worthwhile, however, as the problem (so far as I've been able to diagnose it) is easily correctable and this brings the MT32 volume closer to the other music drivers' volumes.
I was trying to bring the overall volume level in line with other music drivers and sound effects. (If you've still got an old copy of scummvm around, go to the bar on Scabb and listen to the difference between the music in the background and the sound effect of the bartender spitting. Compare the results of using the Adlib driver versus the MT-32 driver.)
I noticed the crackling when I was testing my change, but only at fairly high volumes. At 192, say, the problem goes away; as this is the default, I didn't worry too much about it. Try setting the volume lower, see if that helps.
As a side note, I'm fairly certain this has to do with the reverb in the MT32 we're trying to emulate; this problem is especially bad when the music is loudest (for example, when LeChuck is moving around). What's most likely happening is that sample overflows and what should be a very large value is actually a very small one. It makes me wonder if perhaps the MT32 author saw this problem and was intentionally shifting by an extra bit. I still think the change was worthwhile, however, as the problem (so far as I've been able to diagnose it) is easily correctable and this brings the MT32 volume closer to the other music drivers' volumes.
wuhuu, i really have set all volumes to 256
thx for the tip with lower volume, i will try this out, thanks.
btw. i think the best game to test the crackling soundproblem is "I have no Mouth and I must scream". The crackling in the intro is sporadically nerve-splitting
EDIT: you were absolutely right, with volume at 192 the crackling's completely gone...
BIG THANKS *hug*
thx for the tip with lower volume, i will try this out, thanks.
btw. i think the best game to test the crackling soundproblem is "I have no Mouth and I must scream". The crackling in the intro is sporadically nerve-splitting
EDIT: you were absolutely right, with volume at 192 the crackling's completely gone...
BIG THANKS *hug*
Last edited by Cyphox on Thu Mar 13, 2008 8:41 pm, edited 1 time in total.