spessasynth_lib 3.25.15 → 3.25.17

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spessasynth_lib",
3
- "version": "3.25.15",
3
+ "version": "3.25.17",
4
4
  "description": "MIDI and SoundFont2/DLS library with no compromises",
5
5
  "browser": "index.js",
6
6
  "type": "module",
@@ -663,7 +663,10 @@ export class Sequencer
663
663
  );
664
664
  sentStatus = messageTypes.lyric;
665
665
  }
666
- this.onTextEvent(event.messageData, sentStatus, lyricsIndex, event.ticks);
666
+ if (this.onTextEvent)
667
+ {
668
+ this.onTextEvent(event.messageData, sentStatus, lyricsIndex, event.ticks);
669
+ }
667
670
  break;
668
671
  }
669
672
  this._callEvents(this.onMetaEvent, messageData);
@@ -726,7 +729,7 @@ export class Sequencer
726
729
  */
727
730
  const sanitizedMidis = midiBuffers.map(m =>
728
731
  {
729
- if (m.altName)
732
+ if (m.binary !== undefined)
730
733
  {
731
734
  return m;
732
735
  }
@@ -176,7 +176,7 @@ export class Synthetizer
176
176
  outputChannelCount: processorChannelCount,
177
177
  numberOfOutputs: processorOutputsCount,
178
178
  processorOptions: {
179
- midiChannels: this._outputsAmount,
179
+ midiChannels: oneOutputMode ? 1 : this._outputsAmount,
180
180
  soundfont: soundFontBuffer,
181
181
  enableEventSystem: enableEventSystem,
182
182
  startRenderingData: sequencerRenderingData