spice2x / spice2x.github.io

🌶️ spice2x is a spicier fork of SpiceTools with hundreds of bug fixes and new features 🌶️
https://spice2x.github.io/
GNU General Public License v3.0
101 stars 2 forks source link

SDVX1: some audio effects (FX) not working, instead mutes audio #186

Open sp2xdev opened 2 months ago

sp2xdev commented 2 months ago

Game and version

sdvx1 (booth) - affected.

sdvx2 and above: not affected, tested the same song/chart.

Version of spice2x

any, it's been like this since original branch of spicetools, going all the way back to 2017

Laptop

n/a

Attached log.txt file, if available

to be supplied

Describe the issue

Audio effects (e.g., garble) that get enabled for some FX notes are not working, instead completely muting the sound.

Unsure if it affects all PCs.

Only affects some FX effects. The first FX note in 色は匂へど散りぬるを NOV is a good test, it just mutes the whole song when holding FX-L.

Apparently it works with btools on the same PC.

-audiohookdisable does not help.

sp2xdev commented 2 months ago

For reference: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ee416972(v=vs.85)

Editing out old comments and updating the latest on the investigation: it almost seems random when it decides to work, or when it doesn't. Tried a bunch of things (that mistakenly caused us to believe that a change "fixed" something) but restarting the game would cause it to work or not work again. Maybe about 25% of the time it works, other 75% of the time, it doesn't. Still have no clue why.