diff --git a/Tone/source/OmniOscillator.js b/Tone/source/OmniOscillator.js index 27935d33..0ba23ca5 100644 --- a/Tone/source/OmniOscillator.js +++ b/Tone/source/OmniOscillator.js @@ -144,7 +144,7 @@ function(Tone){ * following the harmonic series. * Setting this value will automatically set the type to "custom". * The value is an empty array when the type is not "custom". - * @memberOf Tone.Oscillator# + * @memberOf Tone.OmniOscillator# * @type {Array} * @name partials * @example diff --git a/Tone/source/PWMOscillator.js b/Tone/source/PWMOscillator.js index e55640b9..641a5d67 100644 --- a/Tone/source/PWMOscillator.js +++ b/Tone/source/PWMOscillator.js @@ -132,7 +132,7 @@ function(Tone){ * @name partials * @private */ - Object.defineProperty(Tone.OmniOscillator.prototype, "partials", { + Object.defineProperty(Tone.PWMOscillator.prototype, "partials", { get : function(){ return []; } diff --git a/Tone/source/PulseOscillator.js b/Tone/source/PulseOscillator.js index cadb2f28..d93db813 100644 --- a/Tone/source/PulseOscillator.js +++ b/Tone/source/PulseOscillator.js @@ -155,7 +155,7 @@ function(Tone){ * @name partials * @private */ - Object.defineProperty(Tone.OmniOscillator.prototype, "partials", { + Object.defineProperty(Tone.PulseOscillator.prototype, "partials", { get : function(){ return []; }