As of right now, randomized entity pitch variance is entirely hardcoded. There is no way to prevent, or specify how sounds should be pitched using a Resource Pack either. This results in unavoidable pitch variance when replacing sounds through sounds.json, and can result in unwanted pitch-warped audio.
I propose that a new argument is introduced to sounds.json, as written below:
"variance": {min, max}
With this argument, you will be able to specify the minimum and maximum pitch this sound can be played at, which will be played at a random pitch within that range. If the "pitch" argument is provided as well, this range should be adjusted appropriately. It will return vanilla pitch variance by default.
With this, you will be able to disable variance entirely (ex. "variance": {1, 1}) or set it to whatever values you'd like. I believe this will give Resource Pack creators much more flexibility when it comes to sounds, and I hope this change could be made as soon as possible. Thank you.
Please sign in to leave a comment.
0 Comments