mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
re-enable soundfont player
This commit is contained in:
parent
27a7c545a1
commit
7aca02b89a
1 changed files with 1 additions and 2 deletions
|
@ -297,14 +297,13 @@ AudioEngine.prototype._getPitchRatio = function () {
|
|||
|
||||
AudioEngine.prototype.setInstrument = function (instrumentNum) {
|
||||
this.instrumentNum = instrumentNum;
|
||||
/*
|
||||
|
||||
return Soundfont.instrument(Tone.context, this.instrumentNames[instrumentNum]).then(
|
||||
function (inst) {
|
||||
this.instrument = inst;
|
||||
this.instrument.connect(this.effectsNode);
|
||||
}.bind(this)
|
||||
);
|
||||
*/
|
||||
};
|
||||
|
||||
AudioEngine.prototype.clearEffects = function () {
|
||||
|
|
Loading…
Reference in a new issue