This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-02-02 16:21:37

crazykid
Scratcher
Registered: 2007-09-22
Posts: 4

volume

is there a way to say something like ?<when[  ]clicked> increase volume "x" amount?

Offline

 

#2 2008-02-02 19:35:29

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: volume

Yes, there is a block called "change volume by ()" that you can use to increase the volume.  I believe it is a linear scale from 0 to 100, so you may get smoother result by using

set volume to volume * 1.2

instead, which would give you more uniform perceptual differences.

Offline

 

#3 2008-02-03 15:02:05

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: volume

Note that this feature currently only works offline, not in the java player.


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#4 2008-02-03 16:47:23

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: volume

I just tried a little test with
http://scratch.mit.edu/projects/kevin_karplus/92702
and the volume control seems to work fine with the Java implementation on my browser (at least for MIDI sounds, I did not try pre-recorded ones).

If this project does not work correctly on your browser, you should report the problem to the Scratch team, with full details about the version of the browser and of Java that you are running with.

Offline

 

#5 2008-02-12 14:53:19

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: volume

I think it only works with the MIDI sounds, you can try out my AudioMix 2 (I know it is locked, but when you press the "r" key while you click the green flag it should have to start up. Maybe it won't work the first time...)

When you use the volume slider, or one of the sound effects you will see the slider move, but you won't hear any changes to the volume...


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#6 2008-11-01 17:22:15

deerel
Scratcher
Registered: 2008-08-23
Posts: 89

Re: volume

bump. it's already more than half a year, and this (change volume not working for sounds in java player) is still a problem (in my latest project http://scratch.mit.edu/projects/deerel/307666 for example). Are you gonna fix it, pls?

Last edited by deerel (2008-11-01 17:23:03)

Offline

 

Board footer