spessasynth_lib 3.21.2 → 3.21.3

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.21.2",
3
+ "version": "3.21.3",
4
4
  "description": "MIDI and SoundFont2/DLS library with no compromises",
5
5
  "browser": "index.js",
6
6
  "types": "@types/index.d.ts",
@@ -241,7 +241,13 @@ export const defaultModulators = [
241
241
 
242
242
  // cc 92 (tremolo) to modLFO volume
243
243
  new Modulator({
244
- srcEnum: getModSourceEnum(modulatorCurveTypes.linear, 0, 0, 1, midiControllers.tremoloDepth), /*linear forward unipolar cc 92 */
244
+ srcEnum: getModSourceEnum(
245
+ modulatorCurveTypes.linear,
246
+ 0,
247
+ 0,
248
+ 1,
249
+ midiControllers.tremoloDepth
250
+ ), /*linear forward unipolar cc 92 */
245
251
  dest: generatorTypes.modLfoToVolume,
246
252
  amt: 24,
247
253
  secSrcEnum: 0x0, // no controller
@@ -250,7 +256,13 @@ export const defaultModulators = [
250
256
 
251
257
  // cc 72 (release time) to volEnv release
252
258
  new Modulator({
253
- srcEnum: getModSourceEnum(modulatorCurveTypes.linear, 1, 0, 1, midiControllers.releaseTime), // linear forward bipolar cc 72
259
+ srcEnum: getModSourceEnum(
260
+ modulatorCurveTypes.linear,
261
+ 1,
262
+ 0,
263
+ 1,
264
+ midiControllers.releaseTime
265
+ ), // linear forward bipolar cc 72
254
266
  dest: generatorTypes.releaseVolEnv,
255
267
  amt: 1200,
256
268
  secSrcEnum: 0x0, // no controller
@@ -259,9 +271,15 @@ export const defaultModulators = [
259
271
 
260
272
  // cc 74 (brightness) to filterFc
261
273
  new Modulator({
262
- srcEnum: getModSourceEnum(modulatorCurveTypes.linear, 1, 0, 1, midiControllers.brightness), // linear forwards bipolar cc 74
274
+ srcEnum: getModSourceEnum(
275
+ modulatorCurveTypes.linear,
276
+ 1,
277
+ 0,
278
+ 1,
279
+ midiControllers.brightness
280
+ ), // linear forwards bipolar cc 74
263
281
  dest: generatorTypes.initialFilterFc,
264
- amt: 4000,
282
+ amt: 6000,
265
283
  secSrcEnum: 0x0, // no controller
266
284
  transform: 0
267
285
  }),