Eng:Sound Blocks

Sound blocks is one of the ten categories of Scratch blocks. They are color-coded bright purple, and are used to control sound and MIDI functions.

There are currently eleven Stack blocks and two Reporter blocks in this category.

Blocks
Scratch 2.0 has the following eleven Sound Stack blocks:


 * play sound [pop v]
 * play sound [pop v] until done
 * stop all sounds
 * play drum (1 v) for (0.2) beats
 * rest for (0.2) beats
 * play note (60 v) for (0.5) beats
 * set instrument to (1 v)
 * change volume by (-10)
 * set volume to (100) %</sb>
 * change tempo by (20)</sb>
 * set tempo to (60) bpm</sb>

Scratch 2.0 has the following two Sound Reporter blocks:
 * (volume)</sb>
 * (tempo)</sb>

Scratch 2.0 Sounds
Scratch 2.0 MIDI instruments currently have a fairly low sound quality because of Flash's small sound library. Therefore, the Scratch Team has developed their own sounds and is planning on redoing many of them. It is possible to record additional sounds and play them in a project.