Opened 15 years ago

Closed 2 years ago

#4354 closed defect (fixed)

AUDIO: MIDI - MidiParser::hangingNote(): Exceeded polyphony!

Reported by: SF/garrythefish Owned by: bluegr
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

ScummVM 0.14.0svn40912 (May 26 2009 22:07:10) Discworld CD English V2: "70955425870c7720d6eebed903b2ef41", 776188 Binary from the ScummVM download page, Win32 SVN, runned on Windows XP SP3

I'm not sure how long does it take to happen, less than 9 hours, (I went to bed and forgot to close down ScummVM :P), but I get the following message in the console: "WARNING: MidiParser::hangingNote(): Exceeded polyphony!" and an irritating ceaseless noise.

This message, I'm getting constantly, it fills out the console and it's accompanied with the mentioned irritating noise. Nothing seems to stop the noise except closing ScummVM. This isn't heard in the save game and I can't post any form of evidence other than a recording of the sound. I left the game running without interuption, in Act 1 in the Unseen University, probably in the main corridor.

Thanks guys, you're doing a great job.

Cheers

Ticket imported from: #2797283. Ticket imported from: bugs/4354.

Change History (15)

comment:1 by eriktorbjorn, 15 years ago

Another way to reproduce it is simply walking to the right or left from the first room and let yourself get beaten up.

comment:2 by eriktorbjorn, 15 years ago

Oops, that comment was meant for a completely different bug report. Sorry about that.

comment:3 by sev-, 15 years ago

No wonder that you will have noise in your ears after being beaten up :D

comment:4 by lordhoto, 15 years ago

I remember the message "MidiParser::hangingNote: Exceeded polyphony", it also turned up in KYRA, when the MIDI code wasn't thread safe. I guess this might be the same problem in Tinsel. For KYRA it was noticeable on track changes or the like though.

Here is the KYRA specific bug report: https://sourceforge.net/tracker/?func=detail&aid=1506583&group_id=37116&atid=418820 one noticeable difference between the KYRA one and this is, that KYRA did crash.

comment:5 by bluegr, 13 years ago

Owner: set to bluegr

comment:6 by bluegr, 13 years ago

This issue has probably been fixed with r55256, can you please check if it still occurs?

comment:7 by SF/vakons, 13 years ago

I can confirm, it still occurs in current Git build (1.3.0git3582-gdbaad1a, 5 Mar 2011, 7:48:43). Discworld English SCN CD version.

After the intro, you can simply stay in Rincewind's room and do nothing. Every 80 minutes ScummVM produces huge amount of log messages. After two "hangs" the log file is about 918 Mb in size.

I didn't find how to attach it to the comment, so here is the link (remove the space): http://www. fileflyer.com/view/OLw6CAT

(hangingNote_scummvm_log.7z, 137903 bytes)

comment:8 by bluegr, 13 years ago

Owner: bluegr removed
Summary: DW: Noise after not playing a "few" hoursMIDI: MidiParser::hangingNote(): Exceeded polyphony!

comment:9 by bluegr, 13 years ago

I'm merging all of the reports concerning the MIDI parser into one, as they all concern the MIDI backend, and not individual games. Here's the description of duplicate bug #2948281 - "ITE: MidiParser::hangingNote(): Exceeded polyphony!":

==================================================

Playing ITE on ScummVM 1.0.0 on SDL backend:

leave the characters next to the tents out of the first scene and -do not- touch anything for some time (i.e. don't play, don't move the mouse just enjoy the music while doing something else ;-)

After 30 mins to 1 hr, the music will stop playing and you will see a lot of:

WARNING: MidiParser::hangingNote(): Exceeded polyphony! WARNING: MidiParser::hangingNote(): Exceeded polyphony! WARNING: MidiParser::hangingNote(): Exceeded polyphony!

scrolling in the terminal from which you launched ScummVM.

Moving the characters around will stop the flow of warnings, but you will lose the beautiful music unless you restart :-(

A similar bug has been reported for Discworld:

DW: Noise after not playing a "few" hours - ID: 2797283

So we are probably looking at a more global ScummVM issue (well, easy to reproduce if you just have to let the game run ;-)

Thanks! -max

comment:10 by bluegr, 13 years ago

Here is information from duplicate bug #2979691 - "RTZ: Stall / Audio Loop after not playing a "few" hours":

==================================================

Using branch 1.1.0 (pre 48413)

Both on PS2 and low-end PC (800 Mhz, 512 MB) SDL backends.

Leave the game running at the beginning after the intro where the vultures are flying in the sky - after couple of hours (you gotta be patient), the games will stall with the sound looping and a ton of the following being printed out:

WARNING: AdLib: Unknown control change message 117 (100)! WARNING: AdLib: Unknown control change message 117 (100)! WARNING: AdLib: Unknown control change message 117 (100)!

This seems awesomely similar to the following bugs:

# 2797283 DW: Noise after not playing a "few" hours

# 2948281 ITE: MidiParser::hangingNote(): Exceeded polyphony!

In all of 3 the audio goes bananas after some time of lack of interaction from the user (maybe Aunt Jessie called, or your gf just showed up ;-) - maybe they are unrelated, but might be worthy investigating.

Thanks! -max

comment:11 by digitall, 5 years ago

Component: Engine: TinselAudio

comment:12 by raziel-, 4 years ago

Game: Discworld
Summary: MIDI: MidiParser::hangingNote(): Exceeded polyphony!AUDIO: MIDI - MidiParser::hangingNote(): Exceeded polyphony!

Adding another report from the GROOVIE engine #6275

GROOVIE: T7G - MIDI polyphony bug

==========================================================================

Latest w64 daily build T7G DOS English

Sometimes after playing a puzzle for a while, the music stops and ScummVM freezes, with this warning: WARNING: MidiParser::hangingNote(): Exceeded polyphony!

This happened to me once in the Bishop puzzle, but it seems to happen pretty consistently on the microscope puzzle if you play it long enough (which you pretty much have to, that one is tough !)

Also the game throws a : WARNING: Unsupported XMIDI controller 114 (0x72)! but this one happens regularly during normal game-play so it may be unrelated to this bug.

comment:13 by athrxx, 3 years ago

Is this still relevant? The Miles drivers have been seen so many fixes since that report.

comment:14 by bluegr, 3 years ago

Owner: set to bluegr
Resolution: fixed
Status: newpending

The Miles driver didn't exist back then, but I concur that this has most probably been fixed with the changes to the MIDI backend. Setting as pending in case another report pops up, otherwise this should be OK to be closed

comment:15 by athrxx, 2 years ago

Status: pendingclosed

Let's finally kill this ticket. We have waited long enough... :-)

Note: See TracTickets for help on using tickets.