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 +1 -1
- package/soundfont/basic_soundfont/modulator.js +22 -4
- package/synthetizer/worklet_processor.min.js +9 -9
- package/synthetizer/worklet_system/worklet_methods/note_off.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/note_on.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/voice_control.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/modulator_curves.js +9 -9
- package/synthetizer/worklet_system/worklet_utilities/worklet_modulator.js +0 -16
- package/synthetizer/worklet_system/worklet_utilities/worklet_voice.js +0 -0
package/package.json
CHANGED
|
@@ -241,7 +241,13 @@ export const defaultModulators = [
|
|
|
241
241
|
|
|
242
242
|
// cc 92 (tremolo) to modLFO volume
|
|
243
243
|
new Modulator({
|
|
244
|
-
srcEnum: getModSourceEnum(
|
|
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(
|
|
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(
|
|
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:
|
|
282
|
+
amt: 6000,
|
|
265
283
|
secSrcEnum: 0x0, // no controller
|
|
266
284
|
transform: 0
|
|
267
285
|
}),
|