We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4f0144 + 76974d1 commit 0f4887cCopy full SHA for 0f4887c
package.json
@@ -19,6 +19,6 @@
19
"grunt-open": "^0.2.3"
20
},
21
"dependencies": {
22
- "tone": "therewasaguy/tone.js#p5-dev"
+ "tone": "0.10.0"
23
}
24
src/polysynth.js
@@ -193,8 +193,8 @@ define(function (require) {
193
194
195
196
- if(this._voicesInUse.value < this.polyValue) {
197
- currentVoice = this._voicesInUse.value;
+ if(this._voicesInUse.getValueAtTime(t) < this.polyValue) {
+ currentVoice = this._voicesInUse.getValueAtTime(t);
198
} else {
199
currentVoice = this._oldest;
200
0 commit comments