Skip to content

Conversation

@bagelswitch
Copy link
Contributor

@bagelswitch bagelswitch commented Dec 1, 2025

This fixes incorrect relative volume in System 246 Vampire Night (and possibly other titles), where the BGM and dialogue was much too loud relative to SFX, by changing the following, per "SPU2_Overview_Manual" section 2.2:

  • Sound data input samples are mixed with channel audio at a volume corresponding to per-core BVOL register values.
  • Core0 combined output is mixed into Core1 output at a volume corresponding to Core1 AVOL register values.
  • All sample mixing is changed from simple additive (+clamping), to an algorithm that preserves relative volume of both sources w/in the dynamic range.

This will resolve #1273

… preserve relative volumes of channel and sound input data.
@jpd002
Copy link
Owner

jpd002 commented Dec 22, 2025

Sorry for the long delay, but I'll be checking this in the upcoming days.

@bagelswitch
Copy link
Contributor Author

Sorry for the long delay, but I'll be checking this in the upcoming days.

No worries! Thank you.

@jpd002 jpd002 merged commit bb6896e into jpd002:master Jan 6, 2026
11 checks passed
@jpd002
Copy link
Owner

jpd002 commented Jan 6, 2026

Nice work! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vampire Night: Bad sound mixing.

2 participants