Opened 21 years ago

Closed 21 years ago

Last modified 17 years ago

#1074 closed defect (fixed)

SIMON1: Sound volume strangeness

Reported by: eriktorbjorn Owned by: SF/jamieson630
Priority: low Component: Engine: AGOS
Version: Keywords:
Cc: Game: Simon the Sorcerer 1


In the attached savegame, the choir - not the rest of the music - is rather loud, at least when using a MIDI sound driver, e.g. ALSA.

Strangely enough, the volume goes down to reasonable levels when I change the music volume, and that's regardless of whether I change it to louder or softer.

Once the music loops, the volume goes way back up again.

The only explanation I can think of is that the MIDI driver and _volumeTable[] disagree on the current channel volumes - and that _volumeTable[] has the better value - but I haven't the foggiest idea why this would happen.

The same thing may be happening in other places, but this one really stood out to me.

Ticket imported from: #777589. Ticket imported from: bugs/1074.

Attachments (1)

simon1.028 (3.0 KB ) - added by eriktorbjorn 21 years ago.
Savegame in Sordid's tower

Download all attachments as: .zip

Change History (8)

by eriktorbjorn, 21 years ago

Attachment: simon1.028 added

Savegame in Sordid's tower

comment:1 by Kirben, 21 years ago

Owner: set to SF/jamieson630

comment:2 by SF/jamieson630, 21 years ago

Priority: normallow

comment:3 by SF/jamieson630, 21 years ago

The _volumeTable implementation has been a bit outdated ever since simultaneous MIDI sound effects (for simon1dos) was implemented. As time permits, I will sit down and clean it up. Lowering priority since this does not interfere with gameplay.

comment:4 by SF/jamieson630, 21 years ago

The good news is that Simon music volume tracking has been fixed in latest CVS. The bad news is that the choir sound you mentioned, eriktorbjorn, is supposed to be that loud and will now STAY that loud even when you're making master volume adjustments. The "reasonable level" you mentioned was actually the result of an incorrect volume computation (and/or the value being sent to the wrong MIDI channel) when you adjust the master volume. It's not supposed to get that quiet.

comment:5 by SF/jamieson630, 21 years ago

Resolution: fixed
Status: newclosed

comment:6 by fingolfin, 19 years ago

Component: Engine: AGOSEngine: AGI
Game: Simon the Sorcerer 1Leisure Suit Larry 1

comment:7 by Kirben, 17 years ago

Component: Engine: AGIEngine: AGOS
Game: Leisure Suit Larry 1Simon the Sorcerer 1
Note: See TracTickets for help on using tickets.