Speaker volume has no effect <=1
ParkerBritt opened this issue ยท 0 comments
Minecraft Version
1.16.x
Version
1.98.1
Details
Using the speaker peripheral and the playSound function I hear no difference in volume for any float between 0 and 1 inclusive. A sound played at any of these volumes sounds the same as I would expect it to sound when the volume >= 1. Based on the documentation of the vanilla /playsound command I expected these numbers to yield a difference in volume.
Specifies the distance that the sound can be heard. If not specified, defaults to 1. For values less than 1, the volume diminishes. For values greater than 1, the sound does not actually grow louder, but its audible range (a 16-block radius at 1) is multiplied by volume. There is always a gradual falloff to silence based on distance from the center of the sphere. For values equal to or less than 0, no player can hear the sound.
Additional information:
- As expected, volumes 0-1 maintain a range of 16 blocks while numbers >1 increase the audible range.
- Sounds tested: item.firecharge.use, block.note_block.bell, entity.cat.purr, and some others.