Skip to content

Commit 3980882

Browse files
authored
Merge pull request #735 from Abhijay007/Abhijay007/PeakDetect-fields
(Docs) : added missing fields in p5.PeakDetect reference
2 parents 9d7458f + 24b1bc1 commit 3980882

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)