
[Content Patcher] Patching audio loses pitch variations
slserpent opened this issue ยท 2 comments
Describe the bug
Modifying the audio files with Content Patcher makes it so that the sounds will no longer play at random different pitches.
If there is a way to define pitch settings in Content Patcher, I can find no mention of it. So, I'd just assume that it would use the original pitch settings for the sound event otherwise.
To Reproduce
- Make a mod to patch a sound file.
- Change a sound cue that uses pitch originally.
- Put a sound file in assets that you can clearly hear pitch changes in, like a basic sine tone.
- Load up the game and listen to the sound only play at its default pitch.
Here's a mod that changes chest sound to a sine tone:
{
"Format": "2.5.0",
"Changes": [{
"Action": "EditData",
"Target": "Data/AudioChanges",
"Entries": {
"QuietChest": {
"Id": "openChest",
"Category": "Sound",
"FilePaths": [ "{{AbsoluteFilePath: assets/tone.wav}}" ],
"StreamedVorbis": false,
"Looped": false
}
}
}]
}
Log file
Don't think you'll see too much in the log, only that the mod I was testing with (Quieter Chests) loaded. There are no other mods present.