The block will play the specified instrument for the specified amount of seconds using a sampled percussion instrument. Even though the block uses the word “drum”, the choices in the drop-down menu are many different percussion instruments including drums, triangles, bongos, cowbell, vibraslap, and various idiophones.
Entering a value less than 0 or greater than 18 for the drum will cause the drum selection to be looped (for example, attempting to play drum 19 will play drum “(1) Snare Drum”). The number entered will also be rounded to the nearest whole number.