Skip to content

Commit b1cc2ab

Browse files
authored
Merge pull request #219 from dcbriccetti/master
Fix comment in p5.Oscillator reference example
2 parents b1ab598 + 7927e0f commit b1cc2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oscillator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ define(function (require) {
5252
* function mouseClicked() {
5353
* if (mouseX > 0 && mouseX < width && mouseY < height && mouseY > 0) {
5454
* if (!playing) {
55-
* // ramp amplitude to 0.5 over 0.1 seconds
55+
* // ramp amplitude to 0.5 over 0.05 seconds
5656
* osc.amp(0.5, 0.05);
5757
* playing = true;
5858
* backgroundColor = color(0,255,255);

0 commit comments

Comments
 (0)