trzy / Supermodel

Official repository of the Sega Model 3 arcade emulator.
https://supermodel3.com
271 stars 38 forks source link

lost world jurassic park music problems #187

Open yoshi200214 opened 2 months ago

yoshi200214 commented 2 months ago

hello the video game lost world jurassic park has problems with the music the music is incorrect compare to real hardware and previous versions of supermodel emulator: https://youtu.be/JZkoVeL0jkU?si=o3hfvL7iNjyCU8gE real hardware: https://youtu.be/37jLjtLNCeQ?si=QrGg1cEpmxImNHGN

BloodRaynare commented 2 months ago

Works fine here

https://streamable.com/r3fvfh

Check your audio "Balance" settings. You're probably set it to something negative. Set it to 0 and the music should play fine.

ToBul commented 2 months ago

Warning: When I got a new laptop with Dolby sound, I found adjusting the balance no longer helped. Eg. The pit crew boss in Daytona was quiet again. Turning off Dolby processing fixed the problem.

yoshi200214 commented 2 months ago

I put the balance to 0 but did not fix the problem. this problem is a regression i test other games and the music is fine but this game not

trzy commented 2 months ago

Can you identify the commit at which this broke?

yoshi200214 commented 2 months ago

I don't know

yoshi200214 commented 2 months ago

I tested in the last version of supermodel

yoshi200214 commented 2 months ago

I tested with speakers but did not fix the problem I have a windows 11 computer without license

trzy commented 2 months ago

Please identify the build in which it broke. You can go through the old builds using a binary search strategy. Otherwise, there’s not much we can do here to help you.

yoshi200214 commented 2 months ago

It is broke in the build 0.3a-git-21e1485

trzy commented 2 months ago

Thank you. There was indeed a commit right before that which changed the behavior of MIDI IRQs: https://github.com/trzy/Supermodel/commit/7d32bde074ae8198d2521a176cd084314138f9f8

We will need to look at this further.

ToBul commented 1 month ago

I had another play with this, it does seem to be a sound processing issue on the host machine. I have a newer slimmer laptop with crappy smaller speakers, so it has Dolby Sound to compensate. Dolby sounds bloody awful, but it's better than not having it, as you can barely hear anything otherwise.

It seems Dolby must set up some kind of virtual surround that tricks Supermodel into thinking you have 4 speakers. Supermodel must then split the channels for a quad set up, instead of downmixing to stereo. You end up losing the rear channel sounds in some games, the music 'fullness' in Lost World, or the pit boss in Daytona etc.

Rather than turning off Dolby or whatever sound processing you might have, the simple solution seems to be to force the stereo downmix with the command

-channels=2

Adding that to your launch command seems to bring the sounds back.