Skip to content

Commit

Permalink
bring back PeakDetect
Browse files Browse the repository at this point in the history
missed this in #620 !
  • Loading branch information
therewasaguy committed May 26, 2021
1 parent d3f9e2c commit 6030638
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lib/p5.sound.js
Original file line number Diff line number Diff line change
Expand Up @@ -12257,7 +12257,9 @@ p5.MonoSynth = monosynth;

p5.OnsetDetect = onsetDetect;

p5.PolySynth = polysynth;
p5.PolySynth = polysynth;

p5.PeakDetect = peakDetect;


p5.Signal = deprecations_Signal;
Expand Down
2 changes: 1 addition & 1 deletion lib/p5.sound.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/p5.sound.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/p5.sound.min.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ p5.OnsetDetect = OnsetDetect;
import PolySynth from './polysynth';
p5.PolySynth = PolySynth;

import PeakDetect from './peakDetect';
p5.PeakDetect = PeakDetect;

// Following are the deprecated classes
import Signal from './deprecations/Signal';
p5.Signal = Signal;

0 comments on commit 6030638

Please sign in to comment.