Discuss Scratch

nerdloop330
Scratcher
100+ posts

stop all sounds block won't work

My browser / operating system: Windows NT 10.0, Chrome 87.0.4280.88, No Flash version detected
In many of my projects, I need to be able to stop a piece of music while it's being played. The stop all sounds block is the ideal solution, but for some weird reason it does NOTHING. Plus, setting the volume to zero won't stop the music either. And, the clear sound affects won"t work to. Can someone help me?
Paigeri
Scratcher
500+ posts

stop all sounds block won't work

nerdloop330 wrote:

My browser / operating system: Windows NT 10.0, Chrome 87.0.4280.88, No Flash version detected
In many of my projects, I need to be able to stop a piece of music while it's being played. The stop all sounds block is the ideal solution, but for some weird reason it does NOTHING. Plus, setting the volume to zero won't stop the music either. And, the clear sound affects won"t work to. Can someone help me?
The only thing I can think of is if the size of the audio is too big. But other than that, I just suggest to reload the website, and see if it works.
scratchtay100
Scratcher
100+ posts

stop all sounds block won't work

Maybe because you've done it like this:
when green flag clicked
forever
play sound [Whatever Sound it was Playing v] until done
end

The reason why it won't stop it is because even if you had the Stop All Sounds block with you to stop it, remember, it will play forever, regardless of the effects of the block.
Paigeri
Scratcher
500+ posts

stop all sounds block won't work

scratchtay100 wrote:

Maybe because you've done it like this:
when green flag clicked
forever
play sound [Whatever Sound it was Playing v] until done
end

The reason why it won't stop it is because even if you had the Stop All Sounds block with you to stop it, remember, it will play forever, regardless of the effects of the block.
In that case, you'll have to use this block:
play sound [ insert here ]
nerdloop330
Scratcher
100+ posts

stop all sounds block won't work

That's not the case. I did like this:

when I start as a clone
if <key [ i dunno v] pressed> then
play sound [ dgfghdk v] until done
end

Last edited by nerdloop330 (Dec. 20, 2020 01:09:23)

matheus78945612
Scratcher
52 posts

stop all sounds block won't work

sososososorry
matheus78945612
Scratcher
52 posts

stop all sounds block won't work

when green flag clicked
pen up
forever

move (10) steps
set instrument to ( odfgklgklv)
Vaibhs11
Scratcher
1000+ posts

stop all sounds block won't work

matheus78945612 wrote:

sososososorry

matheus78945612 wrote:

when green flag clicked
pen up
forever

move (10) steps
set instrument to ( odfgklgklv)
please don't spam

Last edited by Vaibhs11 (Dec. 20, 2020 10:25:42)

Poyo1234
Scratcher
75 posts

stop all sounds block won't work

My browser / operating system: Windows NT 10.0, Chrome 87.0.4280.88, No Flash version detected
cs3866870
Scratcher
100+ posts

stop all sounds block won't work

If you did it on another sprite, then it probably won't work. Do it on the sprite where it is playing the sound.
HedwigsHat
Scratcher
1000+ posts

stop all sounds block won't work


move () steps
[/scratchblocks
HedwigsHat
Scratcher
1000+ posts

stop all sounds block won't work

when green flag clicked
forever loop
play sound () until done
end
Vaibhs11
Scratcher
1000+ posts

stop all sounds block won't work

HedwigsHat wrote:

when green flag clicked
forever loop
play sound () until done
end
Please don't spam.
Please go here for testing scratchblocks

Last edited by Vaibhs11 (Dec. 28, 2020 01:56:55)

nerdloop330
Scratcher
100+ posts

stop all sounds block won't work

Actually, I have a solution. DON'T USE SOUND TOGGLER SCRIPTS. Am I clear?

play sound [THIS IS NOT A SOUND v] until done

Last edited by nerdloop330 (Dec. 28, 2020 04:36:19)

Powered by DjangoBB