Plays the specified drum for the specified ammount of beats. The duration of a beat depends on the tempo.

set-instrument-brick.png

 

Correlates with this brick:

Set_tempo_to.png

Learn more >>

Example

This example first saves different notes into a list.
When the panda is tapped the saved notes will be played by the specified instrument for one beat one after another while there is a pause of two beats between the notes.

Play_drum_for_beats_example.png

 

Result

Download

sound.gif