Sound blocks
Sound blocks play the sounds attached to a sprite or the stage, and control volume and audio effects. Add and edit sounds in the Sounds tab. For playing musical notes and drums, use the Music extension instead.
Playing sounds
- play sound
Meowstarts a sound and immediately continues to the next block (the sound keeps playing in the background). - play sound
Meowuntil done starts a sound and waits until it finishes before moving on. - stop all sounds stops every sound playing across the project.
Volume
- change volume by
-10/ set volume to100% adjusts or sets this sprite's volume. - volume reports the current volume as a percentage.
Audio effects
- change
pitch/pan left/righteffect by10adjusts a sound effect. - set
pitch/pan left/righteffect to100sets a sound effect. Pitch changes playback speed and tone; pan moves the sound between the left and right speakers. - clear sound effects resets pitch and pan back to normal.