File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -71,10 +71,6 @@ define(function (require) {
71
71
this . oscillator . start ( ) ;
72
72
this . connect ( ) ;
73
73
74
- //Audiovoices are connected to soundout by default
75
-
76
- this . _isOn = false ;
77
-
78
74
p5sound . soundArray . push ( this ) ;
79
75
} ;
80
76
@@ -159,7 +155,6 @@ define(function (require) {
159
155
var secondsFromNow = ~ ~ secondsFromNow ;
160
156
var freq = noteToFreq ( note ) ;
161
157
var vel = velocity || 0.1 ;
162
- this . _isOn = true ;
163
158
this . oscillator . freq ( freq , 0 , secondsFromNow ) ;
164
159
this . env . ramp ( this . output . gain , secondsFromNow , vel ) ;
165
160
} ;
@@ -187,7 +182,6 @@ define(function (require) {
187
182
p5 . MonoSynth . prototype . triggerRelease = function ( secondsFromNow ) {
188
183
var secondsFromNow = secondsFromNow || 0 ;
189
184
this . env . ramp ( this . output . gain , secondsFromNow , 0 ) ;
190
- this . _isOn = false ;
191
185
} ;
192
186
193
187
/**
You can’t perform that action at this time.
0 commit comments