spessasynth_lib 3.27.3 → 3.27.4
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
|
@@ -204,7 +204,8 @@ class WorkletSpessaProcessor extends AudioWorkletProcessor
|
|
|
204
204
|
// autoplay is ignored
|
|
205
205
|
try
|
|
206
206
|
{
|
|
207
|
-
|
|
207
|
+
// cloned objects don't have methods
|
|
208
|
+
this.sequencer.loadNewSongList([BasicMIDI.copyFrom(startRenderingData.parsedMIDI)]);
|
|
208
209
|
}
|
|
209
210
|
catch (e)
|
|
210
211
|
{
|
|
@@ -387,7 +388,8 @@ class WorkletSpessaProcessor extends AudioWorkletProcessor
|
|
|
387
388
|
{
|
|
388
389
|
if (s.duration)
|
|
389
390
|
{
|
|
390
|
-
|
|
391
|
+
// cloned objects don't have methods
|
|
392
|
+
return BasicMIDI.copyFrom(s);
|
|
391
393
|
}
|
|
392
394
|
return new MIDI(s.binary, s.altName);
|
|
393
395
|
});
|