From Test-Scratch-Wiki
This article is a stub. It may be broken, incomplete, unfinished, or have missing parts/sections. If you can help expand this article, please help! There might be suggestions on its talk page. |
The Music Extension is an extension added in Scratch 3.0 that allows users to play notes and compose music in Scratch. These blocks use sampled instruments to create the sounds. Before 3.0, the music blocks could be found in the Sound Blocks category. The Scratch Team moved the blocks here in order to make Scratch easier for New Scratchers to use.[1]
Blocks
There are six Stack Blocks and one Reporter Block in the music extension.
play drum ( v) for () beats
plays specified drum sound for specified number of beatsrest for () beats
pauses the sound in that script for the given number of beatsplay note () for () beats
plays the specified note (A, B,...G) for the specified number of beatsset instrument to ( v)
sets the instrument to specified instrumentset tempo to ()
sets tempo to specified amountchange tempo by ()
changes the tempo by specified amount, either faster or slower(tempo)
reports the current tempo