Game Music is 'Hanging'

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Kate

Game Music is 'Hanging'

Post by Kate »

My problem is this: When the music in the game changes, the last note of the previous song hangs, meaning it keeps playing though the next song. After this happens to several different songs, you get a bagpipe effect. It's almost painful to hear.

I was wondering if anyone else has come across this behavior and if anyone has any ideas about how to fix this. It's probably just a sound setting that I'm overlooking. Thanks!

-Kate
OS: Win 98SE
Exult v. 0.99.1RC2
Sound: ESS Allegro-1 PCI AudioDrive
Video: Trident Blade3D
Colourless
Site Admin
Posts: 731
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Colourless »

Hmmm, It shouldn't be doing that.

Does pressing 'Alt-1', then typing 'S' stop all of music?

-Colourless Dragon
Kuroshi
Posts: 67
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Kuroshi »

What is your volume_curve setting in exult.cfg?
Colourless
Site Admin
Posts: 731
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Colourless »

Kuroshi, volume_curve is not the problem.

-Colourless Dragon
Kuroshi
Posts: 67
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Kuroshi »

I fixed the problem of hanging notes on mine by changing the volume_curve setting.
Kate

Re: Game Music is 'Hanging'

Post by Kate »

Volume Curve is 1.000000.

"ALT+1", "S" doesn't work. It bring up the Load/Save menu (because I pressed "S") The "ALT+1" part doesn't do anything.
Kate

Re: Game Music is 'Hanging'

Post by Kate »

Duh, I turned on the cheats and "ALT+1" works. Pressing "S" to stop the music stops the current tune, but again, the last note continues to hang, along with the last notes of every other tune played so far. After "stopping" the music, I can't get any other tunes to play using the sound tester screen. The voice and SFX tests seem to work ok, though.
Colourless
Site Admin
Posts: 731
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Colourless »

Hmm, strange. Do you might trying the 1.0.x snapshot on the download page just to see if that works?
Kuroshi
Posts: 67
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Kuroshi »

When I had this problem changing the song would fix it, hm. Does turning the audio off then back on do anything? Does it still hang?
Kate

Re: Game Music is 'Hanging'

Post by Kate »

Installing v.1.0 did not help. The music still hangs. Audio test doesn't work for the music in 1.0 either.

Turning the audio off stops the music, but the last note continues to play, even with audio off. The only way to get it to stop is to quit the game. When I start the game again, audio is still off. If I turn audio on, allow some music to play, then turn it off again, the last note hangs.
SnowyThing

Re: Game Music is 'Hanging'

Post by SnowyThing »

Why don't you try and select a different MIDI device?
I'm using a SBLive! and I have about three or four different MIDI devices to choose from. I've had music hang on me before in various other games.
Kate

Re: Game Music is 'Hanging'

Post by Kate »

I've tried changing MIDI devices and get no sound at all.

Here's what my stdout.txt says about my MIDI devices:

2 Midi Devices Detected
Listing midi devices:
-1: MIDI Mapper
0: ESS Software Wavetable
1: ESS MPU-401 (1098)

Values 0 and 1 didn't work at all. I'm thinking maybe it's just my POS, er... ESS sound card.
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by SnowyThing »

What kind of Sound Card do you have? Do you have the newest drivers for it?
Does the sound lurch up or hang when you're doing other things or playing other games?
Colourless
Site Admin
Posts: 731
Joined: Thu May 14, 2020 1:34 pm

Re: Game Music is 'Hanging'

Post by Colourless »

ESS... POS... never... ok, maybe 'sometimes' :-)

Well, I'll put in a 'workaround' that should fix the problem. I can't see anything obviously wrong in the code though.

The workaround should be done in a day or 2.

-Colourless Dragon
sqrfruit
Posts: 3
Joined: Thu May 14, 2020 1:34 pm

My sound card is evil

Post by sqrfruit »

Snowy,

Finding and installing new drivers for this card (ESS Allegro-1 PCI AudioDrive) is like pulling teeth. Right now I'm waiting on a reply from Comcrap's "Customer Support" about an update that had totally FUBARed my sound. In other words, now I have no sound at all. Windows can't find the drivers for the sound card. *sigh* I wasn't having any problems with my sound in other programs, until I tried to install new sound drivers that is.

Lesson of the day: If it ain't broke, don't fix it.
-Kate
OS: Win98SE
Sound: ESS Allegro-1 PCI AudioDrive
Video: Trident Blade 3D/MVP4
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: My sound card is evil

Post by IgnitusDragonn »

I'd delete the audio drivers installed and install your new drivers. Sometimes the answer to hardware-software-compatibility can be right under your nose.
Locked