Updated API Note (markdown)

Vexatos 2014-06-02 23:41:41 -07:00
parent 62bf76c7eb
commit 71de556e28

@ -5,7 +5,7 @@ Converts a note in string form (e.g. A#4 or Gb3, see below) or a given frequency
- `note.freq(n: number or string): number`
Converts a note in string form (e.g. A#4) or a given MIDI code into the respective frequency
- `note.name(n: number): string`
Converts a MIDI value back into a string; if you have a frequency to convert, just use `note.get(note.midi(frequency))`
Converts a MIDI value back into a string; if you have a frequency to convert, just use `note.name(note.midi(frequency))`
- `note.ticks(n: number): 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)`