Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Problem Setting Volume For Music
- Lightningstep36
- Scratcher
1000+ posts
Problem Setting Volume For Music
The answer to this is probably very obvious, but I've been unable to figure it out, so I'll ask anyway.
Basically, my problem is that when I try to change the volume of music in a project, it never seems to work. I'll try setting the volume up or down ten points with the “change volume” script, then set it to change when I click the green flag. But when I actually click the flag, the volume doesn't change at all. It still stays at 100. The same thing happens when I try to use the “set volume” script.
Can someone tell me what I'm doing wrong? Or is this just a glitch? I'm still using the Scratch 1.4 program for this. The problem persists on two separate computers that both have Scratch on them.
Basically, my problem is that when I try to change the volume of music in a project, it never seems to work. I'll try setting the volume up or down ten points with the “change volume” script, then set it to change when I click the green flag. But when I actually click the flag, the volume doesn't change at all. It still stays at 100. The same thing happens when I try to use the “set volume” script.
Can someone tell me what I'm doing wrong? Or is this just a glitch? I'm still using the Scratch 1.4 program for this. The problem persists on two separate computers that both have Scratch on them.
Have a cute, curled up Peridot.
- drmcw
- Scratcher
1000+ posts
Problem Setting Volume For Music
You may need to post your script as I can't think what you're doing wrong as it's pretty easy. Have you tried something like this;
when green flag clicked
set volume to 100%
play sound meow until done
repeat 10
change volume by -10
play sound meow until done
The volume change isn't quite as pronounced as you may expect so listen all the way through but it should get quieter.
when green flag clicked
set volume to 100%
play sound meow until done
repeat 10
change volume by -10
play sound meow until done
The volume change isn't quite as pronounced as you may expect so listen all the way through but it should get quieter.
- Lightningstep36
- Scratcher
1000+ posts
Problem Setting Volume For Music
Oh! Now I get what I was doing wrong. Thanks for the help!
Have a cute, curled up Peridot.
- bluepig333
- Scratcher
2 posts
Problem Setting Volume For Music
Can you just change the volume for one sound?
- asivi
- Scratcher
1000+ posts
Problem Setting Volume For Music
Can you just change the volume for one sound?
Volume affects to any sound in a specific sprite but not to sounds in other sprites.
I hope my response can clarify how volume block works.
Please, next time you create your own topic instead of bringing up an old resolved topic to first page of this forum. Thanks.
- Jlerpy
- Scratcher
500+ posts
Problem Setting Volume For Music
Don't necropost, just start a new topic.
- writetotabu08
- Scratcher
10 posts
Problem Setting Volume For Music
when green flag clicked
move (1000000000000) steps
- Code_Weegee
- Scratcher
49 posts
Problem Setting Volume For Music
dont necropost, also, if you're testing out scratchblocks, use the stickied topic for that.
when I receive [New follow v]currently working on an RPG! If you want to see it, it's right here ——-> https://scratch.mit.edu/projects/965643602/
change [Happy v] by (9999999999999999999999999)
- Discussion Forums
- » Help with Scripts
- » Problem Setting Volume For Music