Opened 11 years ago

Closed 3 days ago

#6467 closed defect (fixed)

TSAGE: Ringworld2 - Digitized percussion sounds slightly off

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: Engine: TsAGE
Version: Keywords:
Cc: Game: Return to Ringworld

Description

English CD version of the game, current Git snapshot of ScummVM

At least when using AdLib music (which is all ScummVM seems to support at the moment; the original had a few other options like General MIDI and Roland MT-32) the game plays digitized sound effects for some percussion and stuff. Interesting idea, but unfortunately they're a bit off.

I'm attaching recordings of ScummVM and DOSBox. Though since the original game uses a very silly way of setting the volume, I had to amplify the DOSBox recording quite a bit. This is more of a "this doesn't sound as good as it should" than a "this doesn't sound as good as DOSBox" bug report, really.

It's possible the the problem is caused by latency in the ScummVM mixer. I'm guessing that playback of a sound doesn't actually happen until the current audio buffer has been drained, and I guess that could take a noticeable amount of time in a case like this. I don't really have any good ideas for fixing that, though.

Maybe it would be possible to have AdlibSoundDriver::readBuffer() handle the digitized sounds as well, though I still don't know how to properly synchronize them.

Ticket imported from: bugs/6467.

Attachments (2)

rw2-dosbox.ogg (755.2 KB ) - added by eriktorbjorn 11 years ago.
rw2-scummvm.ogg (831.7 KB ) - added by eriktorbjorn 11 years ago.

Download all attachments as: .zip

Change History (6)

by eriktorbjorn, 11 years ago

Attachment: rw2-dosbox.ogg added

by eriktorbjorn, 11 years ago

Attachment: rw2-scummvm.ogg added

comment:1 by eriktorbjorn, 11 years ago

This is the ScummVM recording. Can't I add attachments without posting followups like this? Really?

comment:2 by eriktorbjorn, 11 years ago

Component: Engine: TsAGE
Game: Return to Ringworld

comment:3 by raziel-, 4 years ago

Summary: RINGWORLD2: Digitized percussion sounds slightly offTSAGE: Ringworld2 - Digitized percussion sounds slightly off

comment:4 by eriktorbjorn, 3 days ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

This sounds ok to me now. I think the SDL audio buffer was made smaller a long time ago, maybe that's what fixed it?

Note: See TracTickets for help on using tickets.