From 7927e0f928816562c01ac8f4cedb34aeae30f838 Mon Sep 17 00:00:00 2001 From: Dave Briccetti Date: Mon, 2 Oct 2017 16:13:43 -0700 Subject: [PATCH] Fix comment in p5.Oscillator reference example, https://p5js.org/reference/#/p5.Oscillator. --- src/oscillator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oscillator.js b/src/oscillator.js index d315089e..ab6e92f3 100644 --- a/src/oscillator.js +++ b/src/oscillator.js @@ -52,7 +52,7 @@ define(function (require) { * function mouseClicked() { * if (mouseX > 0 && mouseX < width && mouseY < height && mouseY > 0) { * if (!playing) { - * // ramp amplitude to 0.5 over 0.1 seconds + * // ramp amplitude to 0.5 over 0.05 seconds * osc.amp(0.5, 0.05); * playing = true; * backgroundColor = color(0,255,255);