spessasynth_lib 3.20.21 → 3.20.23

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.
@@ -156,7 +156,7 @@ export class Synthetizer {
156
156
  * @param audioNodes {AudioNode[]}
157
157
  */
158
158
  connectIndividualOutputs(audioNodes: AudioNode[]): void;
159
- lockAndResetChannelVibrato(): void;
159
+ disableGSNRPparams(): void;
160
160
  /**
161
161
  * A message for debugging
162
162
  */
@@ -19,7 +19,7 @@
19
19
  * @property {boolean} lockPreset - indicates whether the program on the channel is locked
20
20
  * @property {boolean} presetUsesOverride - indcates if the channel uses a preset from the override soundfont.
21
21
  *
22
- * @property {boolean} lockVibrato - indicates whether the custom vibrato is locked
22
+ * @property {boolean} lockGSNRPNParams - indicates whether the GS NRPN parameters are enabled
23
23
  * @property {Object} channelVibrato - vibrato settings for the channel
24
24
  * @property {number} channelVibrato.depth - depth of the vibrato effect (cents)
25
25
  * @property {number} channelVibrato.delay - delay before the vibrato effect starts (seconds)
@@ -119,9 +119,9 @@ export type WorkletProcessorChannel = {
119
119
  */
120
120
  presetUsesOverride: boolean;
121
121
  /**
122
- * - indicates whether the custom vibrato is locked
122
+ * - indicates whether the GS NRPN parameters are enabled
123
123
  */
124
- lockVibrato: boolean;
124
+ lockGSNRPNParams: boolean;
125
125
  /**
126
126
  * - vibrato settings for the channel
127
127
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spessasynth_lib",
3
- "version": "3.20.21",
3
+ "version": "3.20.23",
4
4
  "description": "MIDI and SoundFont2 or DLS Synthesizer library with no compromises",
5
5
  "browser": "index.js",
6
6
  "types": "@types/index.d.ts",
@@ -401,9 +401,9 @@ export class Synthetizer {
401
401
  }
402
402
 
403
403
  /*
404
- * Prevents any further changes to the vibrato via NRPN messages and sets it to disabled
404
+ * Disables the GS NRPN parameters like vibrato or drum key tuning
405
405
  */
406
- lockAndResetChannelVibrato()
406
+ disableGSNRPparams()
407
407
  {
408
408
  // rate -1 disables, see worklet_message.js line 9
409
409
  // channel -1 is all