Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local speaker = peripheral.find("speaker")
- for i = 1, 16 do
- speaker.playNote("basedrum", 1, 6) --"Instrument", Volume 1.0-3.0, Pitch 1-24
- sleep(0.05) --sleep till next sound 0.05-? low=fast
- speaker.playNote("snare", 1, 6)
- sleep(0.05)
- end
- --"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