Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove extraneous docs from overridden Noise methods. #248

Merged
merged 1 commit into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions src/noise.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,6 @@ define(function (require) {
return this.buffer.type;
};

/**
* Start the noise
*
* @method start
*/
p5.Noise.prototype.start = function() {
if (this.started) {
this.stop();
Expand All @@ -130,11 +125,6 @@ define(function (require) {
this.started = true;
};

/**
* Stop the noise.
*
* @method stop
*/
p5.Noise.prototype.stop = function() {
var now = p5sound.audiocontext.currentTime;
if (this.noise) {
Expand All @@ -143,41 +133,6 @@ define(function (require) {
}
};

/**
* Pan the noise.
*
* @method pan
* @param {Number} panning Number between -1 (left)
* and 1 (right)
* @param {Number} timeFromNow schedule this event to happen
* seconds from now
*/

/**
* Set the amplitude of the noise between 0 and 1.0. Or,
* modulate amplitude with an audio signal such as an oscillator.
*
* @method amp
* @param {Number|Object} volume amplitude between 0 and 1.0
* or modulating signal/oscillator
* @param {Number} [rampTime] create a fade that lasts rampTime
* @param {Number} [timeFromNow] schedule this event to happen
* seconds from now
*/

/**
* Send output to a p5.sound or web audio object
*
* @method connect
* @param {Object} unit
*/

/**
* Disconnect all output.
*
* @method disconnect
*/

p5.Noise.prototype.dispose = function() {
var now = p5sound.audiocontext.currentTime;

Expand Down