Skip to content

Commit 7927e0f

Browse files
committed
Fix comment in p5.Oscillator reference example, https://p5js.org/reference/#/p5.Oscillator.
1 parent da1d778 commit 7927e0f

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)