Skip to content

Commit 57b8e88

Browse files
authored
Replacement of es5 functions to es6 classes feat p5.listener3D (#524)
1 parent 3f632c3 commit 57b8e88

File tree

2 files changed

+229
-225
lines changed

2 files changed

+229
-225
lines changed

src/app.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,22 @@ import './filter';
3838
import EQ from './eq';
3939
p5.EQ = EQ;
4040

41+
42+
43+
import listener3D from './listener3d';
44+
p5.listener3D = listener3D;
45+
46+
47+
4148
import Panner3D from './panner3d';
4249
p5.Panner3D = Panner3D;
4350

44-
import './listener3d';
51+
4552

4653
import Delay from './delay';
4754
p5.Delay = Delay;
4855

56+
4957
import './reverb';
5058
import './metro';
5159
import './looper';
@@ -56,10 +64,12 @@ p5.Compressor = Compressor;
5664

5765
import './soundRecorder';
5866

67+
5968
import peakDetect from './peakDetect';
6069
p5.peakDetect = peakDetect;
6170

6271

72+
6373
import Distortion from './distortion';
6474
p5.Distortion = Distortion;
6575

0 commit comments

Comments
 (0)