Discuss Scratch

The_Scratch
Scratcher
60 posts

Turn off sound

Not all games give you to option to turn off their background music, and sometimes, you just want to listen to your spotify list, so my suggestion is a universal sound button for muting or un-muting any project.
DotDash
Scratcher
1000+ posts

Turn off sound

The_Scratch wrote:

Not all games give you to option to turn off their background music, and sometimes, you just want to listen to your spotify list, so my suggestion is a universal sound button for muting or un-muting any project.
Already suggested, but turned down
scratchisthebest
Scratcher
1000+ posts

Turn off sound

Do you have a Windows Vista/7?

Try clicking that little speaker thing in the corner, then press Mixer.
MikeRobe
Scratcher
91 posts

Turn off sound

There is usually a button called mute on computers. Especially Laptops and modern keyboards.
Objectfans
Scratcher
28 posts

Turn off sound

I have to fix it for the WeDoError.
when green flag clicked
play sound [ v]

Last edited by Objectfans (Sept. 25, 2014 23:41:10)

mathfreak231
Scratcher
1000+ posts

Turn off sound

Just see inside the project, add this block in the stage and click it:
set volume to (0) %

But seeing as this is a hassle, support.
stickfiregames
Scratcher
1000+ posts

Turn off sound

Support.
Muting the audio is not an option since it would also mute your own music.
RandomPerson1789
Scratcher
100+ posts

Turn off sound

mathfreak231 wrote:

Just see inside the project, add this block in the stage and click it:
set volume to (0) %

But seeing as this is a hassle, support.
This doesn't work for cloud games.
Support
Knightfall4389
Scratcher
7 posts

Turn off sound

Since we're talking about sound, I need help with making a button that toggles sound. What is the simplest way to make a toggle sound button? When the button is clicked, I want it play the music loop “dance around” forever, (Or in a loop,) until the button is clicked again, then all the music stops until clicked again. Can someone plz show me the code to make this happen in the simplest way possible? (If the code is the simplest you think it can be, but still complex, show me it anyway. Thx.)



Yours truly,
Knightfall4389, A.K.A.: Scratch no0b


Sheep_maker
Scratcher
1000+ posts

Turn off sound

Ctrl-click the flag or mute the tab.
DaSpudLord
Scratcher
1000+ posts

Turn off sound

I support adding a button, but for now

Sheep_maker wrote:

Ctrl-click the flag or mute the tab.
pvz_pro
Scratcher
500+ posts

Turn off sound

Knightfall4389 wrote:

Since we're talking about sound, I need help with making a button that toggles sound. What is the simplest way to make a toggle sound button? When the button is clicked, I want it play the music loop “dance around” forever, (Or in a loop,) until the button is clicked again, then all the music stops until clicked again. Can someone plz show me the code to make this happen in the simplest way possible? (If the code is the simplest you think it can be, but still complex, show me it anyway. Thx.)



Yours truly,
Knightfall4389, A.K.A.: Scratch no0b


you did not post in the correct place and
when this sprite clicked
broadcast [mute v]
when I receive [mute v]
set volume to (0) %
CrazyCrashDome19
Scratcher
1 post

Turn off sound

I want to know how to make a toggle sound button. So the if set to on, the button will continuously play the sound “carefree” until the button is clicked again. And so on so forth. I have tried to “if else” code but I set the “if else” to volume 0%. and before that I tried the “stop all sounds” command. Neither of them worked, can someone please put up some sort of tutorial or something? thanks
stickfiregames
Scratcher
1000+ posts

Turn off sound

CrazyCrashDome19 wrote:

I want to know how to make a toggle sound button. So the if set to on, the button will continuously play the sound “carefree” until the button is clicked again. And so on so forth. I have tried to “if else” code but I set the “if else” to volume 0%. and before that I tried the “stop all sounds” command. Neither of them worked, can someone please put up some sort of tutorial or something? thanks
This question really belongs in Help with Scripts but anyway:

when this sprite clicked // in the button sprite
set [volume v] to ((100) - (volume :: variables))
broadcast [set volume v]

when I receive [set volume v] // in all sprites which play sound
set volume to (volume :: variables)



As for the suggestion, I still support even though most browsers let you mute tabs nowadays. The Scratch player is a media player, and volume controls are a pretty basic feature for media players.

Last edited by stickfiregames (June 4, 2016 17:42:43)

rasmusolle
Scratcher
100+ posts

Turn off sound

Chrome has a feature to disable sound from one tab.

Might come useful. (Rightclick tab and click the selection)
Austinato
Scratcher
1000+ posts

Turn off sound

Did anyone notice that this TOPIC was originally created in 2013?

Necropost?

Last edited by Austinato (June 4, 2016 17:52:41)

johndeere47
Scratcher
100+ posts

Turn off sound

.

Last edited by johndeere47 (Aug. 27, 2023 01:45:58)

KingOfAwesome58219
Scratcher
1000+ posts

Turn off sound

johndeere47 wrote:

Austinato wrote:

Did anyone notice that this TOPIC was originally created in 2013?

Necropost?
The suggestion hasn't been passed into Scratch yet. It's fine.
It has actually, ctrl + clicking the green flag mutes the project.
_Comicfan_
Scratcher
1000+ posts

Turn off sound

Just use this block:
set volume to (0) %
Then again, it would be nice if there was an easier way. Support.
Abstract-
Scratcher
1000+ posts

Turn off sound

KingOfAwesome58219 wrote:

johndeere47 wrote:

Austinato wrote:

Did anyone notice that this TOPIC was originally created in 2013?

Necropost?
The suggestion hasn't been passed into Scratch yet. It's fine.
It has actually, ctrl + clicking the green flag mutes the project.
Still not a button. No Support to the OP because ctrl + clicking the green flag mutes the project.

Powered by DjangoBB