Posted 04 February 2014 - 07:20 PM
This program must have OpenPeripheral (here)
Its a great add on to Computercraft and is worth a look.
That being said this program adds a simple piano using the advanced computer, 5 note blocks, 6 wired modems, and some networking cable. The setup is simple just place five note blocks (the code assumes that they are the first to be connected as a peripheral) on top of dirt, cobble, glass, sand, then wood. After that place a modem on each and turn them on in the above order. Connect them to the computer and the hard parts over! Download this file (type "pastbin get kk5nw0K1 .bg" on the computer) and save it as .bg then get this file (GjxJY6XZ) and save it as startup then whenever you start the computer it will be a piano.
Any one who has any way to shorten the code or make it more efficient's comments are very welcome, just be easy on me I'm still trying to get the hang of this. Any questions please ask and thanks for the time
zootsuitman
Its a great add on to Computercraft and is worth a look.
That being said this program adds a simple piano using the advanced computer, 5 note blocks, 6 wired modems, and some networking cable. The setup is simple just place five note blocks (the code assumes that they are the first to be connected as a peripheral) on top of dirt, cobble, glass, sand, then wood. After that place a modem on each and turn them on in the above order. Connect them to the computer and the hard parts over! Download this file (type "pastbin get kk5nw0K1 .bg" on the computer) and save it as .bg then get this file (GjxJY6XZ) and save it as startup then whenever you start the computer it will be a piano.
Any one who has any way to shorten the code or make it more efficient's comments are very welcome, just be easy on me I'm still trying to get the hang of this. Any questions please ask and thanks for the time
zootsuitman