spessasynth_lib 3.22.2 → 3.22.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.
@@ -45,6 +45,14 @@ export class WorkletKeyModifierManager {
45
45
  addMapping(channel: number, midiNote: number, mapping: KeyModifier): void;
46
46
  deleteMapping(channel: any, midiNote: any): void;
47
47
  clearMappings(): void;
48
+ /**
49
+ * @param mappings {KeyModifier[][]}
50
+ */
51
+ setMappings(mappings: KeyModifier[][]): void;
52
+ /**
53
+ * @returns {KeyModifier[][]}
54
+ */
55
+ getMappings(): KeyModifier[][];
48
56
  /**
49
57
  * @param channel {number}
50
58
  * @param midiNote {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spessasynth_lib",
3
- "version": "3.22.2",
3
+ "version": "3.22.4",
4
4
  "description": "MIDI and SoundFont2/DLS library with no compromises",
5
5
  "browser": "index.js",
6
6
  "types": "@types/index.d.ts",
File without changes
File without changes