Skip to content

Commit 6a85277

Browse files
fft: update documentation (#564)
* fixes #552 * fixes #549
1 parent 7abbdb9 commit 6a85277

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/fft.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,13 @@ class FFT {
300300
* <a href="https://en.wikipedia.org/wiki/Audio_frequency" target="_blank">
301301
* frequency</a>, or the average amount of energy between two
302302
* frequencies. Accepts Number(s) corresponding
303-
* to frequency (in Hz), or a String corresponding to predefined
303+
* to frequency (in Hz), or a "string" corresponding to predefined
304304
* frequency ranges ("bass", "lowMid", "mid", "highMid", "treble").
305305
* Returns a range between 0 (no energy/volume at that frequency) and
306306
* 255 (maximum energy).
307-
* <em>NOTE: analyze() must be called prior to getEnergy(). Analyze()
307+
* <em>NOTE: analyze() must be called prior to getEnergy(). analyze()
308308
* tells the FFT to analyze frequency data, and getEnergy() uses
309-
* the results determine the value at a specific frequency or
309+
* the results to determine the value at a specific frequency or
310310
* range of frequencies.</em></p>
311311
*
312312
* @method getEnergy

0 commit comments

Comments
 (0)