YARG icon indicating copy to clipboard operation
YARG copied to clipboard

Fix crunchy audio when whammy is enabled

Open polson opened this issue 1 year ago • 0 comments

Fix is to use the PitchShiftParameters instead of PitchShiftParametersStruct when passing into Bass.FXSetParameters initially

After that we can use the struct and it will work fine.

If I try to use PitchShiftParameters instead of PitchShiftParametersStruct everywhere, pitch shift just stops working. Probably something to do with the pointer reference, but I couldn't figure it out.

Crunchy: https://github.com/user-attachments/assets/47852b74-7c68-4e93-9ce9-bf02f6fdb91f

Fixed: https://github.com/user-attachments/assets/39f8c618-6571-41d8-b77d-1c8649cad38d

Relates to: https://discord.com/channels/1086048856678084609/1287813697577685084

polson avatar Oct 10 '24 00:10 polson