/playsound delayed execution on stream sounds
Summary: When running the /playsound command multiple times in a function, the expected behavior is for all soundtracks to play simultaneously. However, there is a noticeable delay between each execution, causing the sounds to stagger and play sequentially instead of at the same time. This behavior negatively impacts attempts to create multi-source stereo music in-game, as it results in disjointed and awkward sound playback.
Steps to Reproduce:
- Create a function with multiple instances of the /playsound command, such as:
playsound minecraft:music_disc.pigstep master @a playsound minecraft:music_disc.pigstep master @a playsound minecraft:music_disc.pigstep master @a playsound minecraft:music_disc.pigstep master @a playsound minecraft:music_disc.pigstep master @a
- Execute the function in-game.
- Notice the slight delay between each sound, instead of simultaneous playback.
Expected Behavior: All tracks should be played simultaneously.
Attached RP: used to test pigstep without being streamed
Attached DP: use /function mc277562:play_4_stream to run the above example
2024-10-12, 12:48 PM
2024-10-23, 07:20 AM
2024-10-23, 07:20 AM
0
1
1.21.1, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4
-