Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- speaker = peripheral.find("speaker")
- instrument = {"harp","basedrum","snare","hat","bass","flute","bell","guitar","chime","xylophone","iron_xylophone","cow_bell","didgeridoo","bit","banjo","pling"}
- while 1==1 do
- speaker.playNote(instrument[math.random(16)],1,math.random(24))
- sleep(math.random(8)/8)
- end
Add Comment
Please, Sign In to add comment