spessasynth_lib 3.13.1 → 3.14.0
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/@types/sequencer/sequencer.d.ts +5 -0
- package/@types/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.d.ts +5 -0
- package/README.md +23 -13
- package/midi_parser/rmidi_writer.js +1 -1
- package/package.json +1 -1
- package/sequencer/sequencer.js +8 -0
- package/synthetizer/worklet_processor.min.js +6 -6
- package/synthetizer/worklet_system/combine_class.js +104 -0
- package/synthetizer/worklet_system/main_processor.js +13 -109
- package/synthetizer/worklet_system/worklet_methods/program_control.js +6 -0
- package/synthetizer/worklet_system/worklet_methods/reset_controllers.js +2 -0
- package/synthetizer/worklet_system/worklet_methods/snapshot.js +3 -0
- package/synthetizer/worklet_system/worklet_methods/system_exclusive.js +219 -82
- package/synthetizer/worklet_system/worklet_methods/tuning_control.js +15 -0
- package/synthetizer/worklet_system/worklet_methods/voice_control.js +2 -1
- package/synthetizer/worklet_system/worklet_processor.js +1 -1
- package/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WORKLET_PROCESSOR_NAME } from '../synthetizer.js'
|
|
2
2
|
import { consoleColors } from '../../utils/other.js'
|
|
3
|
-
import { SpessaSynthProcessor } from './
|
|
3
|
+
import { SpessaSynthProcessor } from './combine_class.js'
|
|
4
4
|
import { SpessaSynthInfo } from '../../utils/loggin.js'
|
|
5
5
|
|
|
6
6
|
|
|
@@ -7,6 +7,7 @@ import { modulatorSources } from '../../../soundfont/read/modulators.js'
|
|
|
7
7
|
* @property {Float32Array} customControllers - array of custom (not sf2) control values such as RPN pitch tuning, transpose, modulation depth, etc.
|
|
8
8
|
*
|
|
9
9
|
* @property {number} channelTransposeKeyShift - key shift of the channel
|
|
10
|
+
* @property {Int8Array} channelOctaveTuning - the tuning for octave on this channel
|
|
10
11
|
* @property {boolean} holdPedal - indicates whether the hold pedal is active
|
|
11
12
|
* @property {boolean} drumChannel - indicates whether the channel is a drum channel
|
|
12
13
|
*
|
|
@@ -57,6 +58,7 @@ export function createWorkletChannel(sendEvent = false)
|
|
|
57
58
|
presetUsesOverride: false,
|
|
58
59
|
|
|
59
60
|
channelTransposeKeyShift: 0,
|
|
61
|
+
channelOctaveTuning: new Int8Array(12),
|
|
60
62
|
channelVibrato: {delay: 0, depth: 0, rate: 0},
|
|
61
63
|
lockVibrato: false,
|
|
62
64
|
holdPedal: false,
|