|Line 99:||Line 99:|
Revision as of 13:50, 15 July 2013
|Play Drum () for () Beats|
The Play Drum () for () Beats block is a Sound block and a Stack block. The block will play the specified instrument for the specified amount of seconds using a MIDI drumset. Even though the block uses the word "drum", the choices in the drop-down menu are many different percussion instruments, including drums, triangle, bongos, cowbell, vibraslap, and various idiophones.
This block used to be called Play Drum () for () Secs, but was changed because the length of a beat can now be changed with the Set Tempo by () bpm block.
Unlike sheet music, the block uses numbers to notate rhythm. This table could help when taking a rhythm from music. It shows the beats number values for the most common rhythms in the most common time signatures, interpreted in the most basic ways.
As the block plays an instrument, it is widely used when a song is played with the Sound blocks.
Some common uses for the Play Drum () for () Beats block:
- Easy sound effects (some of the choices in the drop-down menu are sound effects such as a clap)
play drum (39 v) for (1) beats
- Musical projects where you control instruments
when gf clicked forever if <loud?> repeat until <<(answer) > > and <(answer) < >> ask [Drum?] and wait end set [drum v] to (answer)
when gf clicked forever play drum (drum) for (0.1) beats
- Creating a song made by blocks
play drum (48 v) for (0.2) beats play note (60 v) for (0.6) beats play drum (47 v) for (0.2) beats