Neylz
- Neylz
- JIRAUSER744431
- Europe/Paris
- Yes
- No
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 @aplaysound 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.
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
/playsound delayed execution on stream sounds


Can confirm in 1.19.4, Note that it creates a ghost item
No, i forgot to mention. This bug affects only stream. However this is observed even with two instances of the sound played at the same time. I'll attach to the bug tests RP & DP.
Now i think about it, it is maybe the wiki which is wrong about it, i can't find from where the info that up to 4 sounds can be streamed simultaneously comes from.