MightyPirates/OpenComputers — pull request #243 by Vexatos (2014-04-30 15:28:21+00:00)
Title: Created note API

Functionality:
* `note.midi(n: number or string)`: Converts a note in string form (e.g. A#4 or Gb3, will be documented on the wiki) or a given frequency into the respective MIDI code
* `note.freq(n: number or string)`: Converts a note in string form (e.g. A#4) or a given MIDI code into the respective frequency
* `note.get(n: number)`: Converts a MIDI value back into a string; if you have a frequency to convert, just use note.get(note.midi(frequency))
* `note.ticks(n: number)`: Converts note block ticks (0-24) into MIDI code (34-58, respectively) and vice-versa. Useful for use with note blocks and OpenComponents
* `note.play(tone: string or number,duration: number)`: Plays a note from a string or MIDI code via computer.beep