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)`