Discuss Scratch
- stickfiregames
-
1000+ posts
A mute button?
Which only lets you mix the volume for each window. Not very useful when you are listing to music on the internet. Isn't this why Realtek High Definition Audio provides a mixer?
- Prinseskat
-
1000+ posts
A mute button?
But it'll be easier to just click on a button than to go into the project and delete all the music files, which is what I do. I like my own music. And if you put the mute button next to the green flag or something, I'm pretty sure people will see that it's muted and won't go on a wild goose chase trying to unmute the volume on their computer. I dunno - when you add a special mute button, that means that some amount of people will hit mute and then forget about it, and then get stuck going through their system settings trying to find the problem, and never unmute.
It's interesting - most posts in this forum are about increasing complexity. Few people seem to realize how much of Scratch's success is due to its simplicity. If we accepted all 6 of the new block suggestions I've read in the past 5 minutes, and all of the other UI additions as well, pretty soon your Scratch screen will look like this:
You may be interested in more complexity now, but I'll wager that you came here and got interested because Scratch was simple, and didn't make you feel like you needed to understand 73 options and 42 new buttons just to make the cat spin around a time or two.
- coco777777
-
100+ posts
A mute button?
I know how to make one.
First you need to make a variable. Call it
First you need to make a variable. Call it
(Whatever you want)Then make a mute button and put this script on it.
when green flag clickedNow you need to go to your music and put in this script:
set [Whatever your variable is called :-)] to [1 ]
when this sprite clicked
forever
if <(Your variable) = [ 1]> then
set [ Your Variable] to [ 0]
forever
switch costume to [mute]
end
end
if <(Your Variable) = [0 ]> then
set [ (Your Variable)] to [ 1]
forever
switch costume to [Unmute]
end
end
end
when green flag clicked
forever
if <(Your Variable) = [ 1]> then
play note ( Blah Blah Blah) for (0.5) beats
end
end
when green flag clickedI know it's a long script, but that's what good games require! The game I'm using this in is called Trouble twister; Look out for it in a few weeks!
forever
if <(Your Variable) = [ 0]> then
stop all sounds
end
end
- apple502j
-
1000+ posts
A mute button?
I'm sure Ctrl-Flag does it.
Already Supported.
Necroposting is allowed and encouraged here.
Already Supported.
Necroposting is allowed and encouraged here.
- CosmicBunBun
-
100+ posts
A mute button?
I'm sure Ctrl-Flag does it.
Already Supported.
Necroposting is allowed and encouraged here.
Only if it adds something to the topic (which you didn't)
Can you test/confirm that at all?
- Botcho_Otkho
-
1000+ posts
A mute button?
Your post doesn't add nothing to this. Please, read the whole suggestion. They're not searching for a built-in function that you can choose to add in a project. They are asking for a button that mutes the audio everywhere, in projects that don't have a mute button. <snip>
Yes, it works, I tried it. <snip2>
Last edited by Botcho_Otkho (April 18, 2018 14:26:24)
- dhfbei8987
-
1000+ posts
A mute button?
You can easily use Microsoft Edge ( too bad Mac/iPad/tablet users) to s8mpky mute solely the tab. Chrome works like that, but it mutes all tabs with the site, so semisupport.
- the2000
-
1000+ posts
A mute button?
If the workaround requires an even slightly obscure external browser function, it is a very very very bad workaround. No support, there is a workaround
- cruncherBones
-
500+ posts
A mute button?
I don't know the workaround, but I think there is one to do with volume blockIf the workaround requires an even slightly obscure external browser function, it is a very very very bad workaround. No support, there is a workaround
- the2000
-
1000+ posts
A mute button?
First off, if you don't even know the workaround then please don't say that you don't like a suggestion because there is a workaround.I don't know the workaround, but I think there is one to do with volume blockIf the workaround requires an even slightly obscure external browser function, it is a very very very bad workaround. No support, there is a workaround
Anyway, the workaround I was referring to was the browser “mute tab” button. That one works, but I don't like it for the reason I gave above. I think you're referring to giving a project a built-in mute button. It is nice when users do that, but at the end of the day you can't control whether or not a user puts a mute button in their project, so it would be great if this were actually a built-in feature. You can go inside and mute it yourself, but that's extremely inconvenient and doesn't work on cloud projects. For those reasons, I want this feature, though I would prefer an entire volume slider.