flycast icon indicating copy to clipboard operation
flycast copied to clipboard

Sega NAOMI 2 Music is louder than usual.

Open TheCoolPup opened this issue 1 year ago • 15 comments

Github hash: e2e9a54

Hardware: AMD Ryzen 5600H @3.3GHz, Nvidia RTX 3050ti Laptop GPU

i noticed in mostly naomi 2 games, for example soul surfers and beach spikers,

https://github.com/flyinghead/flycast/assets/91135037/3ab11846-b5b9-49bf-a632-799c461b6789

sometimes the in game gets way louder than it needs to be and overlaps the sound effects, seems to be a on and off basis

TheCoolPup avatar May 15 '24 16:05 TheCoolPup

volume warning btw

TheCoolPup avatar May 15 '24 16:05 TheCoolPup

In Sega Driving Simulator the steering wheel is miswired to the volume control, so steering to the left cranks up sounds to the max while steering right turns it silent. Apparently some analogue game inputs got mixed up. This may be a related issue.

CO-Windler avatar Sep 12 '24 06:09 CO-Windler

This appears to be a regression due to 7cc77b1.

kihato avatar Sep 18 '24 11:09 kihato

Fixed on master

flyinghead avatar Oct 05 '24 12:10 flyinghead

Thank you

TheCoolPup avatar Oct 05 '24 12:10 TheCoolPup

There seems to be an issue where the sound is sometimes biased towards the right channel.

https://github.com/user-attachments/assets/e59eeacc-1d9b-4a3e-8589-9f3a550a8840

Set the region to Japan and launch Soul Surfer. There is a noise when the controls explanation screen is displayed for the second time. There is an audio glitch in the right channel on the hard ranking screen immediately after the fourth controls explanation screen.

From the hard ranking screen: soulsurf.zip

kihato avatar Oct 06 '24 03:10 kihato

Audio glitches should be fixed on master. This was due to audio samples being played before there are copied to audio RAM. So data is now transferred in chunks at regular intervals, similarly to what's done with the GDROM. However there is a significant risk of regression with all naomi (1/2) and atomiswave games.

flyinghead avatar Oct 08 '24 15:10 flyinghead

Thanks for fixing it. The audio glitches on the Soul Surfer controls and hard ranking screen are now fixed. Unfortunately the audio glitches on Beach Spikers replays etc still seem to happen occasionally.

kihato avatar Oct 09 '24 00:10 kihato

Unfortunately I can't seem to reproduce the issue on Beach Spikers. I haven't played for hours but no issue with the sound during replays.

flyinghead avatar Oct 09 '24 14:10 flyinghead

did some testing and the audio issues seem to be gone, thank you for fixing them flyinghead. :)

TheCoolPup avatar Oct 09 '24 21:10 TheCoolPup

can confirm the issue still happens on beach spikers

TheCoolPup avatar Oct 14 '24 23:10 TheCoolPup

https://github.com/user-attachments/assets/3f0e498a-b478-450f-9496-1a991b0f5224

TheCoolPup avatar Oct 14 '24 23:10 TheCoolPup

If only I could get a savestate to reproduce this audio glitch at will...

flyinghead avatar Oct 15 '24 08:10 flyinghead

Can’t right now but later if it pops up again, I’ll send a savestate

TheCoolPup avatar Oct 16 '24 04:10 TheCoolPup

The thing is: I need a savestate before the audio glitch happens, which is almost impossible since it doesn't seem to happen that often.

flyinghead avatar Oct 16 '24 06:10 flyinghead