From 71de556e280e32e490062ef1cb7cbca91886143b Mon Sep 17 00:00:00 2001 From: Vexatos Date: Mon, 2 Jun 2014 23:41:41 -0700 Subject: [PATCH] Updated API Note (markdown) --- API-Note.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API-Note.md b/API-Note.md index d92c59b..b31f190 100644 --- a/API-Note.md +++ b/API-Note.md @@ -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)`