spessasynth_core 4.4.6 → 4.4.7
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/dist/index.d.ts +247 -7
- package/dist/index.js +321 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2877,6 +2877,14 @@ export interface GSInsertionParameter {
|
|
|
2877
2877
|
* Higher values result in more sound being sent.
|
|
2878
2878
|
*/
|
|
2879
2879
|
sendLevelToDelay: number;
|
|
2880
|
+
/**
|
|
2881
|
+
* EFX send EQ switch: routes the insertion output through the equalizer (see {@link GSEqualizerProcessor})
|
|
2882
|
+
* when on, or straight to the output when off.
|
|
2883
|
+
* Default is `true` (on).
|
|
2884
|
+
*
|
|
2885
|
+
* In the SysEx message, `0` is off and any other value is on.
|
|
2886
|
+
*/
|
|
2887
|
+
sendEQSwitch: boolean;
|
|
2880
2888
|
/**
|
|
2881
2889
|
* `0-127`
|
|
2882
2890
|
*
|
|
@@ -2937,7 +2945,8 @@ export interface GSInsertionBlockSnapshot extends GSInsertionParameter {
|
|
|
2937
2945
|
}
|
|
2938
2946
|
/**
|
|
2939
2947
|
* The Insertion effect (EFX) processes the parts (channels) that have EFX assigned
|
|
2940
|
-
* (see {@link ChannelMIDIParameter.efxAssign}) and is routed
|
|
2948
|
+
* (see {@link ChannelMIDIParameter.efxAssign}) and is routed to the output,
|
|
2949
|
+
* through the equalizer unless {@link GSInsertionParameter.sendEQSwitch} is off.
|
|
2941
2950
|
* It can additionally send its output to the reverb, chorus and delay.
|
|
2942
2951
|
*
|
|
2943
2952
|
* This is a Roland GS-compatible insertion interface.
|
|
@@ -2962,7 +2971,7 @@ export interface GSInsertionBlock extends GSInsertionParameter {
|
|
|
2962
2971
|
/**
|
|
2963
2972
|
* Sets the EFX type of the block.
|
|
2964
2973
|
*
|
|
2965
|
-
* Type change resets the parameters and the send
|
|
2974
|
+
* Type change resets the parameters, the send levels and the send EQ switch to their defaults.
|
|
2966
2975
|
* The EFX control sources and depths are kept.
|
|
2967
2976
|
* Behavior for unsupported types is up to the implementation.
|
|
2968
2977
|
*
|
|
@@ -3015,6 +3024,93 @@ export interface GSInsertionBlock extends GSInsertionParameter {
|
|
|
3015
3024
|
*/
|
|
3016
3025
|
applySnapshot(snapshot: GSInsertionBlockSnapshot): void;
|
|
3017
3026
|
}
|
|
3027
|
+
/**
|
|
3028
|
+
* GS-compatible equalizer parameters.
|
|
3029
|
+
*
|
|
3030
|
+
* Also see {@link GSEqualizerProcessor} to see how to implement a custom GS-compatible equalizer processor.
|
|
3031
|
+
*
|
|
3032
|
+
* @group Synthesizer.GS Effects
|
|
3033
|
+
*/
|
|
3034
|
+
export interface GSEqualizerParameter {
|
|
3035
|
+
/**
|
|
3036
|
+
* 0-1
|
|
3037
|
+
* 200 Hz, 400 Hz
|
|
3038
|
+
* This parameter sets the frequency of the low range shelf.
|
|
3039
|
+
*/
|
|
3040
|
+
lowFrequency: number;
|
|
3041
|
+
/**
|
|
3042
|
+
* 52-76 (`0x34`-`0x4C`)
|
|
3043
|
+
* -12 dB - 0 dB - +12 dB
|
|
3044
|
+
* This parameter sets the amount of boost or cut for the low frequency range.
|
|
3045
|
+
* 64 is 0 dB, each step is 1 dB.
|
|
3046
|
+
*/
|
|
3047
|
+
lowGain: number;
|
|
3048
|
+
/**
|
|
3049
|
+
* 0-1
|
|
3050
|
+
* 3 kHz, 6 kHz
|
|
3051
|
+
* This parameter sets the frequency of the high range shelf.
|
|
3052
|
+
*/
|
|
3053
|
+
highFrequency: number;
|
|
3054
|
+
/**
|
|
3055
|
+
* 52-76 (`0x34`-`0x4C`)
|
|
3056
|
+
* -12 dB - 0 dB - +12 dB
|
|
3057
|
+
* This parameter sets the amount of boost or cut for the high frequency range.
|
|
3058
|
+
* 64 is 0 dB, each step is 1 dB.
|
|
3059
|
+
*/
|
|
3060
|
+
highGain: number;
|
|
3061
|
+
}
|
|
3062
|
+
/**
|
|
3063
|
+
* The equalizer is a two-band (low and high) shelving equalizer which boosts or cuts specified frequency
|
|
3064
|
+
* ranges of the sound. An equalizer lets you
|
|
3065
|
+
* boost or cut specified frequency ranges of a sound to adjust the tone. For each range,
|
|
3066
|
+
* high and low, you can specify the frequency and the amount of boost or cut (gain).
|
|
3067
|
+
*
|
|
3068
|
+
* Only the parts with EQ enabled (see {@link ChannelMIDIParameter.eqEnabled}) pass through it,
|
|
3069
|
+
* and the insertion effect passes through it when {@link GSInsertionParameter.sendEQSwitch} is on.
|
|
3070
|
+
* The reverb, chorus and delay outputs do not.
|
|
3071
|
+
*
|
|
3072
|
+
* This is a Roland GS-compatible equalizer interface.
|
|
3073
|
+
*
|
|
3074
|
+
* It is used when {@link GlobalMIDIParameter.system} is `gm` `gm2` or `gs`.
|
|
3075
|
+
*
|
|
3076
|
+
* > **Note**
|
|
3077
|
+
* >
|
|
3078
|
+
* > The equalizer is disabled in XG mode.
|
|
3079
|
+
*
|
|
3080
|
+
* {@link SpessaSynthProcessor} allows you to supply a custom equalizer processor.
|
|
3081
|
+
* A custom equalizer processor must implement this interface.
|
|
3082
|
+
*
|
|
3083
|
+
* ### Editing the parameters
|
|
3084
|
+
*
|
|
3085
|
+
* Editing the parameters can be done via GS system exclusive messages.
|
|
3086
|
+
*
|
|
3087
|
+
* > **Tip**
|
|
3088
|
+
* >
|
|
3089
|
+
* > Refer to [SC-8850 Owner's Manual](https://cdn.roland.com/assets/media/pdf/SC-8850_OM.pdf) (p.78, 86, 236) for more information.
|
|
3090
|
+
*
|
|
3091
|
+
* @group Synthesizer.GS Effects
|
|
3092
|
+
*/
|
|
3093
|
+
export interface GSEqualizerProcessor extends GSEqualizerParameter {
|
|
3094
|
+
/**
|
|
3095
|
+
* Process the effect and **adds** it to the output.
|
|
3096
|
+
* @param inputLeft The left input buffer to process. It always starts at index 0.
|
|
3097
|
+
* @param inputRight The right input buffer to process. It always starts at index 0.
|
|
3098
|
+
* @param outputLeft The left output buffer.
|
|
3099
|
+
* @param outputRight The right output buffer.
|
|
3100
|
+
* @param startIndex The index to start mixing at into the output buffers.
|
|
3101
|
+
* @param sampleCount The amount of samples to mix. This will never be larger than {@link SynthProcessorOptions.maxBufferSize} of the parent {@link SpessaSynthProcessor} instance.
|
|
3102
|
+
*/
|
|
3103
|
+
process(inputLeft: Float32Array, inputRight: Float32Array, outputLeft: Float32Array, outputRight: Float32Array, startIndex: number, sampleCount: number): void;
|
|
3104
|
+
/**
|
|
3105
|
+
* Gets a snapshot of this effect processor instance.
|
|
3106
|
+
*/
|
|
3107
|
+
getSnapshot(): GSEqualizerParameter;
|
|
3108
|
+
/**
|
|
3109
|
+
* Restores this effect processor instance from a snapshot.
|
|
3110
|
+
* @param snapshot The snapshot to restore.
|
|
3111
|
+
*/
|
|
3112
|
+
applySnapshot(snapshot: GSEqualizerParameter): void;
|
|
3113
|
+
}
|
|
3018
3114
|
/**
|
|
3019
3115
|
* A snapshot of a {@link XGEffectBlock}.
|
|
3020
3116
|
*
|
|
@@ -3482,6 +3578,17 @@ interface GlobalSystemParameter {
|
|
|
3482
3578
|
* the delay parameters then locking it to prevent changes by MIDI files.
|
|
3483
3579
|
*/
|
|
3484
3580
|
gsDelayLock: boolean;
|
|
3581
|
+
/**
|
|
3582
|
+
* If the synthesizer should prevent editing of the GS equalizer parameters.
|
|
3583
|
+
* This effect is modified using MIDI system exclusive messages, so
|
|
3584
|
+
* the recommended use case would be setting
|
|
3585
|
+
* the equalizer parameters then locking it to prevent changes by MIDI files.
|
|
3586
|
+
*
|
|
3587
|
+
* > **Warning**
|
|
3588
|
+
* >
|
|
3589
|
+
* > To lock the channel equalizer switch, lock the {@link ChannelMIDIParameter.eqEnabled `eqEnabled`} parameter instead.
|
|
3590
|
+
*/
|
|
3591
|
+
gsEqualizerLock: boolean;
|
|
3485
3592
|
/**
|
|
3486
3593
|
* The XG variation gain when in system mode. {@link XGVariationConnection}
|
|
3487
3594
|
* From 0 to any number. 1 is 100% variation.
|
|
@@ -3934,6 +4041,10 @@ interface SynthesizerSnapshot {
|
|
|
3934
4041
|
* A snapshot of the delay processor.
|
|
3935
4042
|
*/
|
|
3936
4043
|
gsDelayProcessor: GSDelayParameter;
|
|
4044
|
+
/**
|
|
4045
|
+
* A snapshot of the equalizer processor.
|
|
4046
|
+
*/
|
|
4047
|
+
gsEqualizerProcessor: GSEqualizerParameter;
|
|
3937
4048
|
/**
|
|
3938
4049
|
* A snapshot of the GS insertion block.
|
|
3939
4050
|
*/
|
|
@@ -4509,6 +4620,25 @@ export type GSDelayParameterMessage = { [P in keyof GSDelayParameter]: {
|
|
|
4509
4620
|
*/
|
|
4510
4621
|
value: number;
|
|
4511
4622
|
};
|
|
4623
|
+
/**
|
|
4624
|
+
* Represents an analyzed GS Equalizer Processor change.
|
|
4625
|
+
*
|
|
4626
|
+
* @group MIDI.Protocol
|
|
4627
|
+
*/
|
|
4628
|
+
export type GSEqualizerParameterMessage = { [P in keyof GSEqualizerParameter]: {
|
|
4629
|
+
/**
|
|
4630
|
+
* The message type identifier.
|
|
4631
|
+
*/
|
|
4632
|
+
type: "GS Equalizer Param";
|
|
4633
|
+
/**
|
|
4634
|
+
* The GS equalizer parameter being modified.
|
|
4635
|
+
*/
|
|
4636
|
+
parameter: P;
|
|
4637
|
+
/**
|
|
4638
|
+
* The new value of the GS equalizer parameter.
|
|
4639
|
+
*/
|
|
4640
|
+
value: GSEqualizerParameter[P];
|
|
4641
|
+
}; }[keyof GSEqualizerParameter];
|
|
4512
4642
|
/**
|
|
4513
4643
|
* Represents an analyzed GS Insertion Processor change.
|
|
4514
4644
|
*
|
|
@@ -4535,11 +4665,24 @@ export type GSInsertionParameterMessage = {
|
|
|
4535
4665
|
/**
|
|
4536
4666
|
* The parameter name that was modified in the processor: a send level or an EFX control setting.
|
|
4537
4667
|
*/
|
|
4538
|
-
parameter: keyof GSInsertionParameter
|
|
4668
|
+
parameter: Exclude<keyof GSInsertionParameter, "sendEQSwitch">;
|
|
4539
4669
|
/**
|
|
4540
4670
|
* The new value of the parameter.
|
|
4541
4671
|
*/
|
|
4542
4672
|
value: number;
|
|
4673
|
+
} | {
|
|
4674
|
+
/**
|
|
4675
|
+
* An insertion effect processor parameter message (Roland GS).
|
|
4676
|
+
*/
|
|
4677
|
+
type: "GS Insertion Param";
|
|
4678
|
+
/**
|
|
4679
|
+
* The send EQ switch, see {@link GSInsertionParameter.sendEQSwitch}.
|
|
4680
|
+
*/
|
|
4681
|
+
parameter: "sendEQSwitch";
|
|
4682
|
+
/**
|
|
4683
|
+
* If the insertion output goes through the equalizer.
|
|
4684
|
+
*/
|
|
4685
|
+
value: boolean;
|
|
4543
4686
|
} | {
|
|
4544
4687
|
/**
|
|
4545
4688
|
* An insertion effect processor parameter message (Roland GS).
|
|
@@ -4884,7 +5027,7 @@ export type AnalyzedParameter = {
|
|
|
4884
5027
|
*
|
|
4885
5028
|
* @group MIDI.Protocol
|
|
4886
5029
|
*/
|
|
4887
|
-
export type AnalyzedMIDIMessage = AnalyzedParameter | GSReverbParameterMessage | GSChorusParameterMessage | GSDelayParameterMessage | GSInsertionParameterMessage | XGReverbParameterMessage | XGChorusParameterMessage | XGVariationParameterMessage | XGInsertionParameterMessage | {
|
|
5030
|
+
export type AnalyzedMIDIMessage = AnalyzedParameter | GSReverbParameterMessage | GSChorusParameterMessage | GSDelayParameterMessage | GSEqualizerParameterMessage | GSInsertionParameterMessage | XGReverbParameterMessage | XGChorusParameterMessage | XGVariationParameterMessage | XGInsertionParameterMessage | {
|
|
4888
5031
|
/**
|
|
4889
5032
|
* A MIDI program change message configured via System Exclusive.
|
|
4890
5033
|
*/
|
|
@@ -5111,6 +5254,7 @@ export type FXType<K> = Exclude<keyof K, "process" | "getSnapshot" | "applySnaps
|
|
|
5111
5254
|
* - {@link GSReverbProcessor} (`effect: "gsReverb"`)
|
|
5112
5255
|
* - {@link GSChorusProcessor} (`effect: "gsChorus"`)
|
|
5113
5256
|
* - {@link GSDelayProcessor} (`effect: "gsDelay"`)
|
|
5257
|
+
* - {@link GSEqualizerProcessor} (`effect: "gsEqualizer"`)
|
|
5114
5258
|
* - {@link GSInsertionBlock} (`effect: "gsInsertion"`)
|
|
5115
5259
|
* - {@link XGReverbBlock} (`effect: "xgReverb"`)
|
|
5116
5260
|
* - {@link XGChorusBlock} (`effect: "xgChorus"`)
|
|
@@ -5159,6 +5303,19 @@ export type EffectChangeEvent = {
|
|
|
5159
5303
|
* The new 7-bit value.
|
|
5160
5304
|
*/
|
|
5161
5305
|
value: number;
|
|
5306
|
+
} | {
|
|
5307
|
+
/**
|
|
5308
|
+
* The effect that was changed: Roland GS equalizer.
|
|
5309
|
+
*/
|
|
5310
|
+
effect: "gsEqualizer";
|
|
5311
|
+
/**
|
|
5312
|
+
* The parameter, see {@link GSEqualizerParameter}.
|
|
5313
|
+
*/
|
|
5314
|
+
parameter: keyof GSEqualizerParameter;
|
|
5315
|
+
/**
|
|
5316
|
+
* The new 7-bit value.
|
|
5317
|
+
*/
|
|
5318
|
+
value: number;
|
|
5162
5319
|
} | {
|
|
5163
5320
|
/**
|
|
5164
5321
|
* The effect that was changed: Roland GS insertion.
|
|
@@ -5171,11 +5328,24 @@ export type EffectChangeEvent = {
|
|
|
5171
5328
|
* - `"controlSource1" | "controlDepth1" | "controlSource2" | "controlDepth2"` - EFX control (7-bit), see {@link GSInsertionParameter}.
|
|
5172
5329
|
* - `number` - 0-based type-specific EFX parameter index (0-19). EFX parameter 1 is 0. Value is 7-bit.
|
|
5173
5330
|
*/
|
|
5174
|
-
parameter: "type" | keyof GSInsertionParameter | number;
|
|
5331
|
+
parameter: "type" | Exclude<keyof GSInsertionParameter, "sendEQSwitch"> | number;
|
|
5175
5332
|
/**
|
|
5176
5333
|
* The new value for the parameter.
|
|
5177
5334
|
*/
|
|
5178
5335
|
value: number;
|
|
5336
|
+
} | {
|
|
5337
|
+
/**
|
|
5338
|
+
* The effect that was changed: Roland GS insertion.
|
|
5339
|
+
*/
|
|
5340
|
+
effect: "gsInsertion";
|
|
5341
|
+
/**
|
|
5342
|
+
* The send EQ switch, see {@link GSInsertionParameter.sendEQSwitch}.
|
|
5343
|
+
*/
|
|
5344
|
+
parameter: "sendEQSwitch";
|
|
5345
|
+
/**
|
|
5346
|
+
* If the insertion output goes through the equalizer.
|
|
5347
|
+
*/
|
|
5348
|
+
value: boolean;
|
|
5179
5349
|
} | {
|
|
5180
5350
|
/**
|
|
5181
5351
|
* The effect that was changed: Yamaha XG reverb block.
|
|
@@ -5820,6 +5990,10 @@ export interface SynthProcessorOptions {
|
|
|
5820
5990
|
* Optional custom GS delay processor for the synthesizer. Leave undefined to use {@link DefaultGSDelay}.
|
|
5821
5991
|
*/
|
|
5822
5992
|
gsDelayProcessor?: GSDelayProcessor;
|
|
5993
|
+
/**
|
|
5994
|
+
* Optional custom GS equalizer processor for the synthesizer. Leave undefined to use {@link DefaultGSEqualizer}.
|
|
5995
|
+
*/
|
|
5996
|
+
gsEqualizerProcessor?: GSEqualizerProcessor;
|
|
5823
5997
|
/**
|
|
5824
5998
|
* Optional custom GS insertion block for the synthesizer. Leave undefined to use {@link DefaultGSInsertion}.
|
|
5825
5999
|
*/
|
|
@@ -6082,6 +6256,16 @@ interface ChannelMIDIParameter {
|
|
|
6082
6256
|
* Indicates whether this channel uses the GS insertion EFX processor.
|
|
6083
6257
|
*/
|
|
6084
6258
|
efxAssign: boolean;
|
|
6259
|
+
/**
|
|
6260
|
+
* Indicates whether this channel passes through the GS equalizer (see {@link GSEqualizerProcessor}).
|
|
6261
|
+
* Default is `true`, like on the Sound Canvas.
|
|
6262
|
+
*
|
|
6263
|
+
* > **Note**
|
|
6264
|
+
* >
|
|
6265
|
+
* > Channels with {@link efxAssign} enabled ignore this.
|
|
6266
|
+
* > Their equalizer routing is set by {@link GSInsertionParameter.sendEQSwitch} instead.
|
|
6267
|
+
*/
|
|
6268
|
+
eqEnabled: boolean;
|
|
6085
6269
|
/**
|
|
6086
6270
|
* CC1 for GS controller matrix.
|
|
6087
6271
|
* An arbitrary MIDI controller, which can be bound to any synthesis parameter.
|
|
@@ -6350,6 +6534,12 @@ interface ModifyMIDIOptions {
|
|
|
6350
6534
|
* - {@link GSDelayParameter} - clear + the new parameters are set via System Exclusive messages.
|
|
6351
6535
|
*/
|
|
6352
6536
|
gsDelayParams?: ClearableParameter<GSDelayParameter>;
|
|
6537
|
+
/**
|
|
6538
|
+
* The GS equalizer parameters.
|
|
6539
|
+
* - `"clear"` - all existing parameter change MIDI messages are cleared.
|
|
6540
|
+
* - {@link GSEqualizerParameter} - clear + the new parameters are set via System Exclusive messages.
|
|
6541
|
+
*/
|
|
6542
|
+
gsEqualizerParams?: ClearableParameter<GSEqualizerParameter>;
|
|
6353
6543
|
/**
|
|
6354
6544
|
* The GS Insertion Effect parameters.
|
|
6355
6545
|
* - `"clear"` - all existing parameter change MIDI messages are cleared.
|
|
@@ -7515,15 +7705,23 @@ export declare class MIDIUtils {
|
|
|
7515
7705
|
static setGSDelayParameter<P extends GSDelayParameterMessage["parameter"]>(ticks: number, parameter: P, value: Extract<GSDelayParameterMessage, {
|
|
7516
7706
|
parameter: P;
|
|
7517
7707
|
}>["value"]): MIDIMessage;
|
|
7708
|
+
/**
|
|
7709
|
+
* Returns a MIDI event needed to set the given GS Equalizer Parameter.
|
|
7710
|
+
* @param ticks The MIDI tick time for the output event.
|
|
7711
|
+
* @param parameter The parameter to set.
|
|
7712
|
+
* @param value The value to set it to.
|
|
7713
|
+
* @returns The {@link MIDIMessage} needed to set this GS Equalizer Parameter.
|
|
7714
|
+
*/
|
|
7715
|
+
static setGSEqualizerParameter(ticks: number, parameter: GSEqualizerParameterMessage["parameter"], value: number): MIDIMessage;
|
|
7518
7716
|
/**
|
|
7519
7717
|
* Returns a MIDI event needed to set the given GS Insertion Parameter.
|
|
7520
7718
|
* @param ticks The MIDI tick time for the output event.
|
|
7521
7719
|
* @param parameter The parameter to set: `"type"`, a send level or EFX control name (see {@link GSInsertionParameter}),
|
|
7522
7720
|
* or a 0-based effect-specific parameter number (0-19).
|
|
7523
|
-
* @param value The value to set it to.
|
|
7721
|
+
* @param value The value to set it to. A boolean for `"sendEQSwitch"`.
|
|
7524
7722
|
* @returns The {@link MIDIMessage} needed to set this GS Insertion Parameter.
|
|
7525
7723
|
*/
|
|
7526
|
-
static setGSInsertionParameter(ticks: number, parameter: GSInsertionParameterMessage["parameter"], value: number): MIDIMessage;
|
|
7724
|
+
static setGSInsertionParameter(ticks: number, parameter: GSInsertionParameterMessage["parameter"], value: number | boolean): MIDIMessage;
|
|
7527
7725
|
/**
|
|
7528
7726
|
* Returns a MIDI event needed to set the given XG Reverb Parameter.
|
|
7529
7727
|
* @param ticks The MIDI tick time for the output event.
|
|
@@ -8325,6 +8523,47 @@ export declare class DefaultGSDelay implements GSDelayProcessor {
|
|
|
8325
8523
|
private updateDelayTimes;
|
|
8326
8524
|
private updateGain;
|
|
8327
8525
|
}
|
|
8526
|
+
/**
|
|
8527
|
+
* The default GS Equalizer implementation for {@link SpessaSynthProcessor}.
|
|
8528
|
+
*
|
|
8529
|
+
* @group Synthesizer.GS Effects
|
|
8530
|
+
*/
|
|
8531
|
+
export declare class DefaultGSEqualizer implements GSEqualizerProcessor {
|
|
8532
|
+
private readonly sampleRate;
|
|
8533
|
+
private lowB0;
|
|
8534
|
+
private lowB1;
|
|
8535
|
+
private lowA1;
|
|
8536
|
+
private highB0;
|
|
8537
|
+
private highB1;
|
|
8538
|
+
private highA1;
|
|
8539
|
+
private lowZL;
|
|
8540
|
+
private lowZR;
|
|
8541
|
+
private highZL;
|
|
8542
|
+
private highZR;
|
|
8543
|
+
/**
|
|
8544
|
+
* Constructs a new default GS equalizer processor.
|
|
8545
|
+
* @param sampleRate The sample rate, in Hertz.
|
|
8546
|
+
*/
|
|
8547
|
+
constructor(sampleRate: number);
|
|
8548
|
+
private _lowFrequency;
|
|
8549
|
+
get lowFrequency(): number;
|
|
8550
|
+
set lowFrequency(value: number);
|
|
8551
|
+
private _lowGain;
|
|
8552
|
+
get lowGain(): number;
|
|
8553
|
+
set lowGain(value: number);
|
|
8554
|
+
private _highFrequency;
|
|
8555
|
+
get highFrequency(): number;
|
|
8556
|
+
set highFrequency(value: number);
|
|
8557
|
+
private _highGain;
|
|
8558
|
+
get highGain(): number;
|
|
8559
|
+
set highGain(value: number);
|
|
8560
|
+
process(inputLeft: Float32Array, inputRight: Float32Array, outputLeft: Float32Array, outputRight: Float32Array, startIndex: number, sampleCount: number): void;
|
|
8561
|
+
getSnapshot(): GSEqualizerParameter;
|
|
8562
|
+
applySnapshot(snapshot: GSEqualizerParameter): void;
|
|
8563
|
+
private getBand;
|
|
8564
|
+
private updateLow;
|
|
8565
|
+
private updateHigh;
|
|
8566
|
+
}
|
|
8328
8567
|
/**
|
|
8329
8568
|
* The default implementation for {@link GSInsertionBlock}.
|
|
8330
8569
|
*
|
|
@@ -8335,6 +8574,7 @@ export declare class DefaultGSInsertion implements GSInsertionBlock {
|
|
|
8335
8574
|
sendLevelToReverb: number;
|
|
8336
8575
|
sendLevelToChorus: number;
|
|
8337
8576
|
sendLevelToDelay: number;
|
|
8577
|
+
sendEQSwitch: boolean;
|
|
8338
8578
|
controlSource1: number;
|
|
8339
8579
|
controlDepth1: number;
|
|
8340
8580
|
controlSource2: number;
|