File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ define(function (require) {
55
55
* </code></div>
56
56
*/
57
57
p5 . Delay = function ( ) {
58
- p5 . Effect . call ( this ) ;
58
+ Effect . call ( this ) ;
59
59
60
60
this . _split = this . ac . createChannelSplitter ( 2 ) ;
61
61
this . _merge = this . ac . createChannelMerger ( 2 ) ;
@@ -82,8 +82,8 @@ define(function (require) {
82
82
*/
83
83
this . rightDelay = this . ac . createDelay ( ) ;
84
84
85
- this . _leftFilter = new p5 . Filter ( ) ;
86
- this . _rightFilter = new p5 . Filter ( ) ;
85
+ this . _leftFilter = new Filter ( ) ;
86
+ this . _rightFilter = new Filter ( ) ;
87
87
this . _leftFilter . disconnect ( ) ;
88
88
this . _rightFilter . disconnect ( ) ;
89
89
@@ -266,8 +266,8 @@ define(function (require) {
266
266
Effect . prototype . dispose . apply ( this ) ;
267
267
268
268
this . _split . disconnect ( ) ;
269
- this . _leftFilter . disconnect ( ) ;
270
- this . _rightFilter . disconnect ( ) ;
269
+ this . _leftFilter . dispose ( ) ;
270
+ this . _rightFilter . dispose ( ) ;
271
271
this . _merge . disconnect ( ) ;
272
272
this . _leftGain . disconnect ( ) ;
273
273
this . _rightGain . disconnect ( ) ;
Original file line number Diff line number Diff line change @@ -250,4 +250,6 @@ define(function (require) {
250
250
p5 . Filter . call ( this , 'bandpass' ) ;
251
251
} ;
252
252
p5 . BandPass . prototype = Object . create ( p5 . Filter . prototype ) ;
253
+
254
+ return p5 . Filter ;
253
255
} ) ;
You can’t perform that action at this time.
0 commit comments