spessasynth_lib 3.21.2 → 3.21.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.
- package/package.json +1 -1
- package/soundfont/basic_soundfont/modulator.js +24 -5
- 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/stereo_panner.js +2 -4
- 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
|
@@ -206,7 +206,8 @@ export const defaultModulators = [
|
|
|
206
206
|
new Modulator({ srcEnum: 0x020E, dest: generatorTypes.fineTune, amt: 12700, secSrcEnum: 0x0010, transform: 0 }),
|
|
207
207
|
|
|
208
208
|
// pan to uhh, pan
|
|
209
|
-
|
|
209
|
+
// amount is 500 instead of 1000, see #59
|
|
210
|
+
new Modulator({ srcEnum: 0x028A, dest: generatorTypes.pan, amt: 500, secSrcEnum: 0x0, transform: 0 }),
|
|
210
211
|
|
|
211
212
|
// expression to attenuation
|
|
212
213
|
new Modulator({
|
|
@@ -241,7 +242,13 @@ export const defaultModulators = [
|
|
|
241
242
|
|
|
242
243
|
// cc 92 (tremolo) to modLFO volume
|
|
243
244
|
new Modulator({
|
|
244
|
-
srcEnum: getModSourceEnum(
|
|
245
|
+
srcEnum: getModSourceEnum(
|
|
246
|
+
modulatorCurveTypes.linear,
|
|
247
|
+
0,
|
|
248
|
+
0,
|
|
249
|
+
1,
|
|
250
|
+
midiControllers.tremoloDepth
|
|
251
|
+
), /*linear forward unipolar cc 92 */
|
|
245
252
|
dest: generatorTypes.modLfoToVolume,
|
|
246
253
|
amt: 24,
|
|
247
254
|
secSrcEnum: 0x0, // no controller
|
|
@@ -250,7 +257,13 @@ export const defaultModulators = [
|
|
|
250
257
|
|
|
251
258
|
// cc 72 (release time) to volEnv release
|
|
252
259
|
new Modulator({
|
|
253
|
-
srcEnum: getModSourceEnum(
|
|
260
|
+
srcEnum: getModSourceEnum(
|
|
261
|
+
modulatorCurveTypes.linear,
|
|
262
|
+
1,
|
|
263
|
+
0,
|
|
264
|
+
1,
|
|
265
|
+
midiControllers.releaseTime
|
|
266
|
+
), // linear forward bipolar cc 72
|
|
254
267
|
dest: generatorTypes.releaseVolEnv,
|
|
255
268
|
amt: 1200,
|
|
256
269
|
secSrcEnum: 0x0, // no controller
|
|
@@ -259,9 +272,15 @@ export const defaultModulators = [
|
|
|
259
272
|
|
|
260
273
|
// cc 74 (brightness) to filterFc
|
|
261
274
|
new Modulator({
|
|
262
|
-
srcEnum: getModSourceEnum(
|
|
275
|
+
srcEnum: getModSourceEnum(
|
|
276
|
+
modulatorCurveTypes.linear,
|
|
277
|
+
1,
|
|
278
|
+
0,
|
|
279
|
+
1,
|
|
280
|
+
midiControllers.brightness
|
|
281
|
+
), // linear forwards bipolar cc 74
|
|
263
282
|
dest: generatorTypes.initialFilterFc,
|
|
264
|
-
amt:
|
|
283
|
+
amt: 6000,
|
|
265
284
|
secSrcEnum: 0x0, // no controller
|
|
266
285
|
transform: 0
|
|
267
286
|
}),
|