Skip to content

Commit 24b1bc1

Browse files
committed
(Docs) : added missing fields in p5.PeakDetect reference
Signed-off-by: Abhijay Jain <[email protected]>
1 parent 9d7458f commit 24b1bc1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/peakDetect.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,11 @@ class PeakDetect {
111111
this.currentValue = 0;
112112

113113
/**
114-
* isDetected is set to true when a peak is detected.
115-
*
114+
* It returns a boolean indicating whether a peak in the audio frequency spectrum has been detected or not.
116115
* @attribute isDetected {Boolean}
117116
* @default false
117+
* @property {Number} isDetected
118+
* @for p5.PeakDetect
118119
*/
119120
this.isDetected = false;
120121

0 commit comments

Comments
 (0)