Untitled Duck Mod (Fabric)

Untitled Duck Mod (Fabric)

946k Downloads

Duck noises

cream-gravy opened this issue ยท 2 comments

commented

Describe the bug
Duck noises seem to play globally. As long as I am in range for a quack to play, it sounds as if the noise were originating from my location.

To Reproduce
Steps to reproduce the behavior:

  1. Spawn a Duck
  2. Wait and listen for a quack
  3. Walk some distance away and listen
  4. The quacks should remain the same volume until you get too far and they cut out entirely

Expected behavior
Sound should originate from the duck.

Version
Fabric 1.17.1

Additional context
I tested this on a fresh installation with only this mod and it still occurred. It happens with all duck related noises, including pain sounds and duckling chirps.

It does not seem to happen with goose pain sounds (Tested by shooting with arrow at different distances).

I initially had an extended problem in my personal modpack where the sounds would play as long as there were ducks loaded in the world at all, which was very annoying especially underground. Since this was not the case when I tested the mod by itself, I assume it was this issue in conjunction with another mod that caused the sounds to play

commented

I had this same issue. I don't know the causation mod but I solved it UNDERGROUND using https://www.curseforge.com/minecraft/mc-mods/sound-physics-fabric and the most recent config file from user Thedocruby on github. vlad2305m/Sound-Physics-Fabric#2

commented

this is due to the mod sounds being mixed in stereo rather than mono, and I have actually fixed this issue on my own. Minecraft by default plays stereo sounds as though they are global (heard by the client from anywhere regardless of distance) even if they are registered to a particular source. Simply mixing the sounds down to mono totally resolves the problem. I will do a pull request and fix this if I remember after I get done with my mod pack.