A placed drum block emits a percussive sound when a player walks next to it, and then once per second if they stay near it. You can right-click a drum block to change drum sound. There are 7 possible sounds, after which right-clicking again will reset to the first one.
+
+
You can place a series of drum blocks and [[Flute Block|flute blocks]] to create music as you walk along them.