(Workaround: "simply")
m
Line 6: Line 6:
 
| type      = [[Reporter Block|Reporter]]
 
| type      = [[Reporter Block|Reporter]]
 
}}
 
}}
The '''Volume''' block is a [[Sound Blocks|Sound block]] and a [[Reporter Block|Reporter block]]. The block holds the Scratch [[Project|project's]] [[Volume (value)|volume]]. This block can be displayed as a [[Stage Monitor|Stage monitor]].
+
The '''Volume''' [[block]] is a [[Sound Blocks|Sound block]] and a [[Reporter Block|Reporter block]]. The block holds the [[Scratch]] [[Project|project's]] [[Volume (value)|volume]]. This block can be displayed as a [[Stage Monitor|Stage monitor]].
 
==Workaround==
 
==Workaround==
 
This block can be simply replicated with the following code:
 
This block can be simply replicated with the following code:
Line 15: Line 15:
 
As this block holds how loud sounds, drums and notes will be played, it is useful in music projects where they must sense how loud an instrument has been played.
 
As this block holds how loud sounds, drums and notes will be played, it is useful in music projects where they must sense how loud an instrument has been played.
  
Some common uses for the '''Volume''' block:
+
Some common uses for the Volume block:
 
*Volume controls
 
*Volume controls
 
*Loops that must stop once the volume is at a certain amount
 
*Loops that must stop once the volume is at a certain amount

Revision as of 02:21, 28 April 2011

Volume
Volume.png
Category Sound
Type Reporter

The Volume block is a Sound block and a Reporter block. The block holds the Scratch project's volume. This block can be displayed as a Stage monitor.

Workaround

This block can be simply replicated with the following code:

File:Volume block workaround.gif

Example Uses

As this block holds how loud sounds, drums and notes will be played, it is useful in music projects where they must sense how loud an instrument has been played.

Some common uses for the Volume block:

  • Volume controls
  • Loops that must stop once the volume is at a certain amount
  • Sensing how loud something is being played

See Also