Advertisement
rungholt

bumTack

Apr 23rd, 2022 (edited)
1,210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. local speaker = peripheral.find("speaker")
  2. for i = 1, 16 do
  3.     speaker.playNote("basedrum", 1, 6) --"Instrument", Volume 1.0-3.0, Pitch 1-24
  4.     sleep(0.05)                        --sleep till next sound 0.05-? low=fast
  5.     speaker.playNote("snare", 1, 6)
  6.     sleep(0.05)
  7. end
  8. --"harp", "basedrum", "snare", "hat", "bass", "flute", "bell", "guitar", "chime", "xylophone", "iron_xylophone", "cow_bell", "didgeridoo", "bit", "banjo" "pling"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement