First off, an API I call Devnote. basically like the colors API, something that only makes programming a little easier. but instead of colors, it is NOTES, (from the Iron Note Block peripheral from RichardG's MiscPeripherals mod) exposes the following functions.
devnote.wrap(side) --side is completely optional. devnote.piano(nPitch) --play a piano note at the pitch given devnote.drum(nPitch) --play a bass drum note at the pitch given devnote.snare(nPitch) --play a snare drum note at the pitch given devnote.click(nPitch) --play a click note at the pitch given devnote.bass(nPitch) --play a bass guitar note at the pitch given
So, with a handy tip from Freack100, I shrank the devnote.wrap function, it will auto detect iron note blocks on all sides and wrap the first one it finds, it works on all sides, however, the choice to specify the side is still there, vary useful for iron note blocks on a network.
pastebin link: http://pastebin.com/UayrZS3K
So, with the new rednet and gui functions coming out soonish I have canceled the development of DevNet. Instead, I am thinking of working on something else, maybe OpenEmail and possibly OpenWeb. not sure, If anyone sees this, let me know what you think!
Edited by Devon The Novice, 30 January 2014 - 11:47 PM.