Skip to content

Commit a14a134

Browse files
authored
bring back PeakDetect (#621)
missed this in #620 !
1 parent 4d074f2 commit a14a134

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

lib/p5.sound.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12257,7 +12257,9 @@ p5.MonoSynth = monosynth;
1225712257

1225812258
p5.OnsetDetect = onsetDetect;
1225912259

12260-
p5.PolySynth = polysynth;
12260+
p5.PolySynth = polysynth;
12261+
12262+
p5.PeakDetect = peakDetect;
1226112263

1226212264

1226312265
p5.Signal = deprecations_Signal;

lib/p5.sound.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/p5.sound.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/p5.sound.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ p5.OnsetDetect = OnsetDetect;
141141
import PolySynth from './polysynth';
142142
p5.PolySynth = PolySynth;
143143

144+
import PeakDetect from './peakDetect';
145+
p5.PeakDetect = PeakDetect;
146+
144147
// Following are the deprecated classes
145148
import Signal from './deprecations/Signal';
146149
p5.Signal = Signal;

0 commit comments

Comments
 (0)