Discuss Scratch

wei04787
Scratcher
100+ posts

Audio problems

So in my project, https://scratch.mit.edu/projects/1244670103, I can't get two audios to play at once. Is this normal? Can someone help me get it to play two at a time?
bRuHbRuHmEmEmAn
Scratcher
500+ posts

Audio problems

wei04787 wrote:

So in my project, https://scratch.mit.edu/projects/1244670103, I can't get two audios to play at once. Is this normal? Can someone help me get it to play two at a time?
Could you share the project? If it's unshared, we can't access it and depending on what the problem is, chances are we can't help you.

Last edited by bRuHbRuHmEmEmAn (Nov. 20, 2025 22:51:16)

-GreenWonder-
Scratcher
100+ posts

Audio problems

wei04787 wrote:

So in my project, https://scratch.mit.edu/projects/1244670103, I can't get two audios to play at once. Is this normal? Can someone help me get it to play two at a time?
Are you using the "play until done" block?
wei04787
Scratcher
100+ posts

Audio problems

-GreenWonder-
Scratcher
100+ posts

Audio problems

wei04787 wrote:

the link was wrong https://scratch.mit.edu/projects/1244670103
You could use the
play sound [start sound block v]
with both sounds.
bRuHbRuHmEmEmAn
Scratcher
500+ posts

Audio problems

wei04787 wrote:

the link was wrong https://scratch.mit.edu/projects/1244670103
There's a few reasons why you can't play multiple sounds at once here.

Firstly, the broadcast and wait block will send a broadcast to a script and wait for that script to finish running before moving on. This is different from the broadcast block, which sends a broadcast then moves on without waiting. However, as it is now, this is unnecessary in your code.

Similarly, the play sound until done block plays a sound and waits until it finishes, then moves on in the code. The alternative that doesn't wait is start sound, which plays a sound, then, like the broadcast block, moves on without waiting to finish it.

And finally, the wait block. The waiting time is too high if you want the sounds to happen at the same time, so get rid of it completely.

So what does the fixed code look like? ↓

...
start sound [2.11 v]
play sound [bruh v] until done
wait [1] seconds
...

Hope this helps!

Last edited by bRuHbRuHmEmEmAn (Nov. 20, 2025 23:21:38)

Powered by DjangoBB