spessasynth_core 3.26.11 → 3.26.12

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_core",
3
- "version": "3.26.11",
3
+ "version": "3.26.12",
4
4
  "description": "MIDI and SoundFont2/DLS library with no compromises",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -36,12 +36,18 @@ export function writeMIDI()
36
36
  // this is a meta-message
37
37
  // syntax is FF<type><length><data>
38
38
  messageData = [0xff, event.messageStatusByte, ...writeVariableLengthQuantity(event.messageData.length), ...event.messageData];
39
+ // RP-001:
40
+ // Sysex events and meta-events cancel any running status which was in effect.
41
+ runningByte = undefined;
39
42
  }
40
43
  else if (event.messageStatusByte === messageTypes.systemExclusive)
41
44
  {
42
45
  // this is a system exclusive message
43
46
  // syntax is F0<length><data>
44
47
  messageData = [0xf0, ...writeVariableLengthQuantity(event.messageData.length), ...event.messageData];
48
+ // RP-001:
49
+ // Sysex events and meta-events cancel any running status which was in effect.
50
+ runningByte = undefined;
45
51
  }
46
52
  else
47
53
  {