Skip to content

Commit f937e5f

Browse files
authored
Merge pull request #248 from Spongman/remove-overridden-docs
remove extraneous docs from overridden Noise methods.
2 parents f17b5c0 + 6ffd1c9 commit f937e5f

File tree

1 file changed

+0
-45
lines changed

1 file changed

+0
-45
lines changed

src/noise.js

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,6 @@ define(function (require) {
112112
return this.buffer.type;
113113
};
114114

115-
/**
116-
* Start the noise
117-
*
118-
* @method start
119-
*/
120115
p5.Noise.prototype.start = function() {
121116
if (this.started) {
122117
this.stop();
@@ -130,11 +125,6 @@ define(function (require) {
130125
this.started = true;
131126
};
132127

133-
/**
134-
* Stop the noise.
135-
*
136-
* @method stop
137-
*/
138128
p5.Noise.prototype.stop = function() {
139129
var now = p5sound.audiocontext.currentTime;
140130
if (this.noise) {
@@ -143,41 +133,6 @@ define(function (require) {
143133
}
144134
};
145135

146-
/**
147-
* Pan the noise.
148-
*
149-
* @method pan
150-
* @param {Number} panning Number between -1 (left)
151-
* and 1 (right)
152-
* @param {Number} timeFromNow schedule this event to happen
153-
* seconds from now
154-
*/
155-
156-
/**
157-
* Set the amplitude of the noise between 0 and 1.0. Or,
158-
* modulate amplitude with an audio signal such as an oscillator.
159-
*
160-
* @method amp
161-
* @param {Number|Object} volume amplitude between 0 and 1.0
162-
* or modulating signal/oscillator
163-
* @param {Number} [rampTime] create a fade that lasts rampTime
164-
* @param {Number} [timeFromNow] schedule this event to happen
165-
* seconds from now
166-
*/
167-
168-
/**
169-
* Send output to a p5.sound or web audio object
170-
*
171-
* @method connect
172-
* @param {Object} unit
173-
*/
174-
175-
/**
176-
* Disconnect all output.
177-
*
178-
* @method disconnect
179-
*/
180-
181136
p5.Noise.prototype.dispose = function() {
182137
var now = p5sound.audiocontext.currentTime;
183138

0 commit comments

Comments
 (0)