spessasynth_core 1.1.9 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -380,6 +380,12 @@ class SpessaSynthProcessor
|
|
|
380
380
|
this.currentSynthTime = initialTime;
|
|
381
381
|
this.sampleRate = sampleRate;
|
|
382
382
|
|
|
383
|
+
this.isFullyReady = false;
|
|
384
|
+
this.processorInitialized.then(() =>
|
|
385
|
+
{
|
|
386
|
+
this.isFullyReady = true;
|
|
387
|
+
});
|
|
388
|
+
|
|
383
389
|
/**
|
|
384
390
|
* Sample time in seconds
|
|
385
391
|
* @type {number}
|
|
@@ -400,7 +406,7 @@ class SpessaSynthProcessor
|
|
|
400
406
|
this.soundfontManager = new WorkletSoundfontManager(
|
|
401
407
|
soundfont
|
|
402
408
|
);
|
|
403
|
-
|
|
409
|
+
this.sendPresetList();
|
|
404
410
|
this.getDefaultPresets();
|
|
405
411
|
|
|
406
412
|
|
|
@@ -422,8 +428,6 @@ class SpessaSynthProcessor
|
|
|
422
428
|
{
|
|
423
429
|
this.applySynthesizerSnapshot(snapshot);
|
|
424
430
|
}
|
|
425
|
-
|
|
426
|
-
this.sendPresetList();
|
|
427
431
|
this.postReady();
|
|
428
432
|
}
|
|
429
433
|
|