Browse By

Scratch – Exploring all the Block: Online Course

Sound Block

BLOCKFUNCTION
play sound () until donePlays a sound and pauses the script until it finishes.
start sound ()Plays a sound without pausing the script.
stop sll soundsStops all playing sounds.
change () effect by () soundChange the pan left/right or pitch by the amount.
set () effecr to ()It changes Sound Effects.
clear sound effectsClears any sound effects currently in place.
change volume by ()Changes the volume by the amount.
set volume to ()Sets the volume to the amount.
volumeThe block holds a sprite’s or the Stage’s volume. This block can be displayed as a Stage monitor.
Using Sound Block:

Example: Play the sound of the cat ‘Meaw’ by the sprite.

Procedure:

  1. Click on the Sound Tab
  2. Drag the block to the script area from the block palette.
  3. Click the block and you will hear the sound of the cat.

Output: