From 01003bc9d5520374a6b693f00f18bb4aa3cbb80c Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Thu, 11 Sep 2014 20:45:02 -0400 Subject: [PATCH] fixed note comment. --- Tone/core/Note.js | 4 ++-- build/Tone.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tone/core/Note.js b/Tone/core/Note.js index 654704f8d..1ec4fb1f5 100644 --- a/Tone/core/Note.js +++ b/Tone/core/Note.js @@ -209,8 +209,8 @@ define(["Tone/core/Tone", "Tone/core/Transport"], function(Tone){ * @example * tone.midiToNote(60) => "C3" * - * @param {[type]} midiNumber [description] - * @return {[type]} [description] + * @param {number} midiNumber the midi note number + * @return {string} the note's name and octave */ Tone.prototype.midiToNote = function(midiNumber){ var octave = Math.floor(midiNumber / 12) - 2; diff --git a/build/Tone.js b/build/Tone.js index eca7e2e74..3795ce2b7 100644 --- a/build/Tone.js +++ b/build/Tone.js @@ -5280,8 +5280,8 @@ define('Tone/core/Note',["Tone/core/Tone", "Tone/core/Transport"], function(Tone * @example * tone.midiToNote(60) => "C3" * - * @param {[type]} midiNumber [description] - * @return {[type]} [description] + * @param {number} midiNumber the midi note number + * @return {string} the note's name and octave */ Tone.prototype.midiToNote = function(midiNumber){ var octave = Math.floor(midiNumber / 12) - 2;