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.
@@ -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 './main_processor.js'
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,