Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to stop one sound if another one is playing?
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
hi everyone,
i am making a music project in which there is a playlist from which you can play songs, but i am having some problems. please help me. how do i stop a song/ sound from playing when some other sound is played?
plz help me.
thanks.


i am making a music project in which there is a playlist from which you can play songs, but i am having some problems. please help me. how do i stop a song/ sound from playing when some other sound is played?
plz help me.
thanks.


- Ni_pro
-
Scratcher
23 posts
how to stop one sound if another one is playing?
Share the project and i will fix it
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
i want to keep a button from which several songs can be played at a time and a button with which only one song can be played at a time
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
Share the project and i will fix itcan you please share the solution plz.
thanks a lot for help


- ResExsention
-
New Scratcher
1000+ posts
how to stop one sound if another one is playing?
stop all sounds // stop the current track (all sounds
play sound [song2 v] // play the next sound
That's for the “one song at a time” function. You can just overlap play sound blocks to play multiple songs at once.
I'm not entirely sure how to stop only one track, though.
Last edited by ResExsention (June 6, 2020 10:41:53)
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
i want to keep a button from which several songs can be played at a time and a button with which only one song can be played at a time
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
stop all sounds // stop the current track (all sounds
play sound [song2 v] // play the next sound
That's for the “one song at a time” function. You can just overlap play sound blocks to play multiple songs at once.
I'm not entirely sure how to stop only one track, though.
ok. thanks.
i am a gryffindor

Last edited by SRIPOTTER2009 (June 6, 2020 12:42:57)
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
how stop all tracks and then only let one play. please answer as soon as possible as my project as due tomorrow.
- deck26
-
Scratcher
1000+ posts
how to stop one sound if another one is playing?
You need to share the project. The answers above already tell you how to stop all sounds and start a new sound so it's a case of how you're implementing that.
- SRIPOTTER2009
-
Scratcher
18 posts
how to stop one sound if another one is playing?
You need to share the project. The answers above already tell you how to stop all sounds and start a new sound so it's a case of how you're implementing that.
Thanks, but I have figured it out.
- Ni_pro
-
Scratcher
23 posts
how to stop one sound if another one is playing?
hey sorry I actually sorry I forgot to answer you
- IratsPlayz
-
Scratcher
24 posts
how to stop one sound if another one is playing?
stop all sounds
play sound [whatever v]
Last edited by IratsPlayz (June 13, 2020 15:52:04)
- Discussion Forums
- » Help with Scripts
-
» how to stop one sound if another one is playing?