@effetune/dsp 0.1.0 → 0.5.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/README.md +106 -5
- package/dist/assets/effetune-dsp.meta.json +491 -7
- package/dist/assets/effetune-dsp.simd.wasm +0 -0
- package/dist/assets/effetune-dsp.wasm +0 -0
- package/dist/catalog/effects-v1.json +1778 -242
- package/dist/errors.js +21 -0
- package/dist/generated-effects.d.ts +317 -1
- package/dist/generated-effects.js +185 -3
- package/dist/generated-graph-contract.js +8 -0
- package/dist/graph-document.js +644 -0
- package/dist/graph-engine.js +493 -0
- package/dist/graph.js +467 -0
- package/dist/index.d.ts +268 -1
- package/dist/index.js +36 -0
- package/dist/internal/dsp-engine-binding.js +162 -1
- package/dist/internal/dsp-params.generated.js +537 -70
- package/dist/internal/dsp-wasm-loader.js +2 -0
- package/dist/preset.js +29 -0
- package/dist/runtime.js +73 -5
- package/dist/schemas/chain-v1.schema.json +1740 -167
- package/dist/schemas/graph-v1.schema.json +8208 -0
- package/dist/semantics.js +88 -30
- package/dist/worklet-processor.js +8 -1
- package/dist/worklet.d.ts +1 -0
- package/dist/worklet.js +15 -0
- package/package.json +2 -1
package/dist/errors.js
CHANGED
|
@@ -2,6 +2,10 @@ export class EffeTuneError extends Error {
|
|
|
2
2
|
constructor(message, options) {
|
|
3
3
|
super(message, options);
|
|
4
4
|
this.name = new.target.name;
|
|
5
|
+
if (options?.code !== undefined) this.code = options.code;
|
|
6
|
+
if (options?.path !== undefined) this.path = options.path;
|
|
7
|
+
if (options?.nodeId !== undefined) this.nodeId = options.nodeId;
|
|
8
|
+
if (options?.edgeId !== undefined) this.edgeId = options.edgeId;
|
|
5
9
|
}
|
|
6
10
|
}
|
|
7
11
|
|
|
@@ -29,3 +33,20 @@ export function errorFromMessage(errorType, message, fallback) {
|
|
|
29
33
|
const ErrorType = ERROR_TYPES[errorType] ?? EffeTuneRuntimeError;
|
|
30
34
|
return new ErrorType(message || fallback);
|
|
31
35
|
}
|
|
36
|
+
|
|
37
|
+
// Chain-level validation reports the human-readable message; Graph document
|
|
38
|
+
// normalization needs the machine-readable cause to classify the failure. The
|
|
39
|
+
// detail rides on a symbol key so Chain behaviour, serialization and existing
|
|
40
|
+
// error shapes stay unchanged.
|
|
41
|
+
export const VALIDATION_DETAIL = Symbol.for('effetune.validationDetail');
|
|
42
|
+
|
|
43
|
+
export function withValidationDetail(error, detail) {
|
|
44
|
+
if (error instanceof EffeTuneError && error[VALIDATION_DETAIL] === undefined) {
|
|
45
|
+
error[VALIDATION_DETAIL] = detail;
|
|
46
|
+
}
|
|
47
|
+
return error;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function validationDetail(error) {
|
|
51
|
+
return error?.[VALIDATION_DETAIL];
|
|
52
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by scripts/gen-dsp-library-bindings.mjs. Do not edit.
|
|
2
2
|
import { Effect } from './effect.js';
|
|
3
3
|
|
|
4
|
-
export type EffectType = "LevelMeter" | "Oscilloscope" | "Spectrogram" | "SpectrumAnalyzer" | "StereoMeter" | "ChannelDivider" | "DCOffset" | "FIRCrossover" | "Matrix" | "MultiChannelPanel" | "Mute" | "PolarityInversion" | "StereoBalance" | "Volume" | "Delay" | "TimeAlignment" | "AutoLeveler" | "BrickwallLimiter" | "Compressor" | "Expander" | "Gate" | "MultibandCompressor" | "MultibandExpander" | "MultibandTransient" | "PowerAmpSag" | "TransientShaper" | "BandPassFilter" | "CombFilter" | "EarphoneCableSim" | "FifteenBandGEQ" | "FifteenBandPEQ" | "FiveBandDynamicEQ" | "FiveBandFIRPEQ" | "FiveBandPEQ" | "GroupDelayEQ" | "HiPassFilter" | "LoPassFilter" | "LoudnessEqualizer" | "NarrowRange" | "RoomEQ" | "TiltEQ" | "ToneControl" | "AMRadioSimulator" | "BitCrusher" | "DigitalErrorEmulator" | "DSD64IMDSimulator" | "FMRadioSimulator" | "HumGenerator" | "NoiseBlender" | "SimpleJitter" | "SWRadioSimulator" | "VinylArtifacts" | "VinylSimulator" | "DopplerDistortion" | "PitchShifter" | "Tremolo" | "WowFlutter" | "Oscillator" | "HornResonator" | "HornResonatorPlus" | "ModalResonator" | "DattorroPlateReverb" | "FDNReverb" | "IRReverb" | "RSReverb" | "DynamicSaturation" | "Exciter" | "HardClipping" | "HarmonicDistortion" | "MultibandSaturation" | "Saturation" | "SubSynth" | "CrossfeedFilter" | "MSMatrix" | "MultibandBalance" | "StereoBlend";
|
|
4
|
+
export type EffectType = "LevelMeter" | "Oscilloscope" | "Spectrogram" | "SpectrumAnalyzer" | "StereoMeter" | "ChannelDivider" | "DCOffset" | "FIRCrossover" | "Matrix" | "MultiChannelPanel" | "Mute" | "PolarityInversion" | "StereoBalance" | "Volume" | "Delay" | "TimeAlignment" | "AutoLeveler" | "BrickwallLimiter" | "Compressor" | "Expander" | "Gate" | "MultibandCompressor" | "MultibandExpander" | "MultibandTransient" | "PowerAmpSag" | "TransientShaper" | "BandPassFilter" | "CombFilter" | "EarphoneCableSim" | "FifteenBandGEQ" | "FifteenBandPEQ" | "FiveBandDynamicEQ" | "FiveBandFIRPEQ" | "FiveBandPEQ" | "GroupDelayEQ" | "HiPassFilter" | "LoPassFilter" | "LoudnessEqualizer" | "NarrowRange" | "RoomEQ" | "TiltEQ" | "ToneControl" | "AMRadioSimulator" | "BitCrusher" | "BluetoothSBCSimulator" | "CassetteArtifacts" | "DigitalErrorEmulator" | "DSD64IMDSimulator" | "FMRadioSimulator" | "G726ADPCMSimulator" | "GSMFullRateSimulator" | "HumGenerator" | "MP3CodecSimulator" | "NoiseBlender" | "SimpleJitter" | "SWRadioSimulator" | "TapeArtifacts" | "VinylArtifacts" | "VinylSimulator" | "AutoFilter" | "AutoPan" | "Chorus" | "DopplerDistortion" | "FrequencyShifter" | "Phaser" | "PitchShifter" | "RotarySpeaker" | "Tremolo" | "WowFlutter" | "Oscillator" | "HornResonator" | "HornResonatorPlus" | "ModalResonator" | "DattorroPlateReverb" | "FDNReverb" | "IRReverb" | "RSReverb" | "DynamicSaturation" | "Exciter" | "HardClipping" | "HarmonicDistortion" | "MultibandSaturation" | "Saturation" | "SubSynth" | "TubeSimulator" | "CrossfeedFilter" | "MSMatrix" | "MultibandBalance" | "PhaseSelectEQ" | "StereoBlend";
|
|
5
5
|
type RequiredAssetEffectType = "FIRCrossover" | "FiveBandFIRPEQ" | "GroupDelayEQ" | "RoomEQ" | "IRReverb";
|
|
6
6
|
export type EffectChannel = "all" | "stereo" | "left" | "right" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "34" | "56" | "78";
|
|
7
7
|
|
|
@@ -658,6 +658,7 @@ export declare class ToneControl extends Effect {
|
|
|
658
658
|
export declare function createToneControl(options?: ToneControlOptions): ToneControl;
|
|
659
659
|
|
|
660
660
|
export interface AMRadioSimulatorOptions extends CommonEffectOptions {
|
|
661
|
+
readonly radio?: boolean;
|
|
661
662
|
readonly txBandwidth?: number;
|
|
662
663
|
readonly preEmphasis?: number;
|
|
663
664
|
readonly modDepth?: number;
|
|
@@ -704,6 +705,46 @@ export declare class BitCrusher extends Effect {
|
|
|
704
705
|
|
|
705
706
|
export declare function createBitCrusher(options?: BitCrusherOptions): BitCrusher;
|
|
706
707
|
|
|
708
|
+
export interface BluetoothSBCSimulatorOptions extends CommonEffectOptions {
|
|
709
|
+
readonly bitpool?: number;
|
|
710
|
+
readonly channelMode?: "Joint Stereo" | "Stereo" | "Dual Channel";
|
|
711
|
+
readonly blocks?: "4" | "8" | "12" | "16";
|
|
712
|
+
readonly outputGain?: number;
|
|
713
|
+
readonly mix?: number;
|
|
714
|
+
readonly packetLoss?: number;
|
|
715
|
+
readonly assets?: never;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export declare class BluetoothSBCSimulator extends Effect {
|
|
719
|
+
static readonly effectType: "BluetoothSBCSimulator";
|
|
720
|
+
constructor(options?: BluetoothSBCSimulatorOptions);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export declare function createBluetoothSBCSimulator(options?: BluetoothSBCSimulatorOptions): BluetoothSBCSimulator;
|
|
724
|
+
|
|
725
|
+
export interface CassetteArtifactsOptions extends CommonEffectOptions {
|
|
726
|
+
readonly deckGrade?: "Reference" | "Hi-Fi" | "Consumer" | "Portable";
|
|
727
|
+
readonly tapeType?: "Type I" | "Type II" | "Type IV";
|
|
728
|
+
readonly noiseReduction?: "Off" | "Dolby B" | "Dolby C";
|
|
729
|
+
readonly bias?: number;
|
|
730
|
+
readonly recordLevel?: number;
|
|
731
|
+
readonly wowFlutter?: number;
|
|
732
|
+
readonly hiss?: number;
|
|
733
|
+
readonly dropouts?: number;
|
|
734
|
+
readonly azimuth?: number;
|
|
735
|
+
readonly dolbyLevelError?: number;
|
|
736
|
+
readonly output?: number;
|
|
737
|
+
readonly mix?: number;
|
|
738
|
+
readonly assets?: never;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export declare class CassetteArtifacts extends Effect {
|
|
742
|
+
static readonly effectType: "CassetteArtifacts";
|
|
743
|
+
constructor(options?: CassetteArtifactsOptions);
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export declare function createCassetteArtifacts(options?: CassetteArtifactsOptions): CassetteArtifacts;
|
|
747
|
+
|
|
707
748
|
export interface DigitalErrorEmulatorOptions extends CommonEffectOptions {
|
|
708
749
|
readonly bitErrorRate?: number;
|
|
709
750
|
readonly mode?: "1" | "2A" | "2B" | "3A" | "3B" | "4" | "5A" | "5B" | "5C" | "6A" | "6B" | "8" | "9" | "10" | "10A";
|
|
@@ -743,6 +784,7 @@ export declare class DSD64IMDSimulator extends Effect {
|
|
|
743
784
|
export declare function createDSD64IMDSimulator(options?: DSD64IMDSimulatorOptions): DSD64IMDSimulator;
|
|
744
785
|
|
|
745
786
|
export interface FMRadioSimulatorOptions extends CommonEffectOptions {
|
|
787
|
+
readonly radio?: boolean;
|
|
746
788
|
readonly emphasis?: "50us" | "75us";
|
|
747
789
|
readonly processing?: number;
|
|
748
790
|
readonly signal?: number;
|
|
@@ -764,6 +806,36 @@ export declare class FMRadioSimulator extends Effect {
|
|
|
764
806
|
|
|
765
807
|
export declare function createFMRadioSimulator(options?: FMRadioSimulatorOptions): FMRadioSimulator;
|
|
766
808
|
|
|
809
|
+
export interface G726ADPCMSimulatorOptions extends CommonEffectOptions {
|
|
810
|
+
readonly bitrate?: "16" | "24" | "32" | "40";
|
|
811
|
+
readonly outputGain?: number;
|
|
812
|
+
readonly mix?: number;
|
|
813
|
+
readonly radioBitErrorRate?: number;
|
|
814
|
+
readonly assets?: never;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export declare class G726ADPCMSimulator extends Effect {
|
|
818
|
+
static readonly effectType: "G726ADPCMSimulator";
|
|
819
|
+
constructor(options?: G726ADPCMSimulatorOptions);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
export declare function createG726ADPCMSimulator(options?: G726ADPCMSimulatorOptions): G726ADPCMSimulator;
|
|
823
|
+
|
|
824
|
+
export interface GSMFullRateSimulatorOptions extends CommonEffectOptions {
|
|
825
|
+
readonly transcodes?: number;
|
|
826
|
+
readonly outputGain?: number;
|
|
827
|
+
readonly mix?: number;
|
|
828
|
+
readonly carrierToInterference?: number;
|
|
829
|
+
readonly assets?: never;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
export declare class GSMFullRateSimulator extends Effect {
|
|
833
|
+
static readonly effectType: "GSMFullRateSimulator";
|
|
834
|
+
constructor(options?: GSMFullRateSimulatorOptions);
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export declare function createGSMFullRateSimulator(options?: GSMFullRateSimulatorOptions): GSMFullRateSimulator;
|
|
838
|
+
|
|
767
839
|
export interface HumGeneratorOptions extends CommonEffectOptions {
|
|
768
840
|
readonly frequency?: number;
|
|
769
841
|
readonly humType?: "Standard" | "Rich" | "Dirty";
|
|
@@ -781,6 +853,23 @@ export declare class HumGenerator extends Effect {
|
|
|
781
853
|
|
|
782
854
|
export declare function createHumGenerator(options?: HumGeneratorOptions): HumGenerator;
|
|
783
855
|
|
|
856
|
+
export interface MP3CodecSimulatorOptions extends CommonEffectOptions {
|
|
857
|
+
readonly codecRate?: "22.05 kHz (MPEG-2)" | "44.1 kHz (MPEG-1)";
|
|
858
|
+
readonly bitrate?: "32" | "48" | "64" | "80" | "96" | "112" | "128" | "160" | "192" | "224" | "256" | "320";
|
|
859
|
+
readonly stereoMode?: "Joint Stereo" | "Stereo";
|
|
860
|
+
readonly bitReservoir?: boolean;
|
|
861
|
+
readonly outputGain?: number;
|
|
862
|
+
readonly mix?: number;
|
|
863
|
+
readonly assets?: never;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export declare class MP3CodecSimulator extends Effect {
|
|
867
|
+
static readonly effectType: "MP3CodecSimulator";
|
|
868
|
+
constructor(options?: MP3CodecSimulatorOptions);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export declare function createMP3CodecSimulator(options?: MP3CodecSimulatorOptions): MP3CodecSimulator;
|
|
872
|
+
|
|
784
873
|
export interface NoiseBlenderOptions extends CommonEffectOptions {
|
|
785
874
|
readonly noiseType?: "white" | "pink" | "brown";
|
|
786
875
|
readonly level?: number;
|
|
@@ -808,6 +897,7 @@ export declare class SimpleJitter extends Effect {
|
|
|
808
897
|
export declare function createSimpleJitter(options?: SimpleJitterOptions): SimpleJitter;
|
|
809
898
|
|
|
810
899
|
export interface SWRadioSimulatorOptions extends CommonEffectOptions {
|
|
900
|
+
readonly radio?: boolean;
|
|
811
901
|
readonly txBandwidth?: number;
|
|
812
902
|
readonly preEmphasis?: number;
|
|
813
903
|
readonly modDepth?: number;
|
|
@@ -829,6 +919,8 @@ export interface SWRadioSimulatorOptions extends CommonEffectOptions {
|
|
|
829
919
|
readonly speaker?: "Off" | "Small" | "Table";
|
|
830
920
|
readonly outputGain?: number;
|
|
831
921
|
readonly mix?: number;
|
|
922
|
+
readonly mode?: "AM" | "USB" | "LSB";
|
|
923
|
+
readonly bfoOffset?: number;
|
|
832
924
|
readonly assets?: never;
|
|
833
925
|
}
|
|
834
926
|
|
|
@@ -839,6 +931,25 @@ export declare class SWRadioSimulator extends Effect {
|
|
|
839
931
|
|
|
840
932
|
export declare function createSWRadioSimulator(options?: SWRadioSimulatorOptions): SWRadioSimulator;
|
|
841
933
|
|
|
934
|
+
export interface TapeArtifactsOptions extends CommonEffectOptions {
|
|
935
|
+
readonly speed?: "7.5" | "15" | "30";
|
|
936
|
+
readonly tape?: "Standard" | "Master";
|
|
937
|
+
readonly bias?: number;
|
|
938
|
+
readonly recordLevel?: number;
|
|
939
|
+
readonly wowFlutter?: number;
|
|
940
|
+
readonly hiss?: number;
|
|
941
|
+
readonly output?: number;
|
|
942
|
+
readonly mix?: number;
|
|
943
|
+
readonly assets?: never;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export declare class TapeArtifacts extends Effect {
|
|
947
|
+
static readonly effectType: "TapeArtifacts";
|
|
948
|
+
constructor(options?: TapeArtifactsOptions);
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export declare function createTapeArtifacts(options?: TapeArtifactsOptions): TapeArtifacts;
|
|
952
|
+
|
|
842
953
|
export interface VinylArtifactsOptions extends CommonEffectOptions {
|
|
843
954
|
readonly popsPerMinute?: number;
|
|
844
955
|
readonly popLevel?: number;
|
|
@@ -893,6 +1004,66 @@ export declare class VinylSimulator extends Effect {
|
|
|
893
1004
|
|
|
894
1005
|
export declare function createVinylSimulator(options?: VinylSimulatorOptions): VinylSimulator;
|
|
895
1006
|
|
|
1007
|
+
export interface AutoFilterOptions extends CommonEffectOptions {
|
|
1008
|
+
readonly mode?: "LFO" | "Envelope";
|
|
1009
|
+
readonly filterType?: "Low-pass" | "Band-pass" | "High-pass";
|
|
1010
|
+
readonly minimumFrequency?: number;
|
|
1011
|
+
readonly maximumFrequency?: number;
|
|
1012
|
+
readonly resonance?: number;
|
|
1013
|
+
readonly mix?: number;
|
|
1014
|
+
readonly rate?: number;
|
|
1015
|
+
readonly waveform?: "Sine" | "Triangle";
|
|
1016
|
+
readonly stereoPhase?: number;
|
|
1017
|
+
readonly sensitivity?: number;
|
|
1018
|
+
readonly attack?: number;
|
|
1019
|
+
readonly release?: number;
|
|
1020
|
+
readonly direction?: "Up" | "Down";
|
|
1021
|
+
readonly assets?: never;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export declare class AutoFilter extends Effect {
|
|
1025
|
+
static readonly effectType: "AutoFilter";
|
|
1026
|
+
constructor(options?: AutoFilterOptions);
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
export declare function createAutoFilter(options?: AutoFilterOptions): AutoFilter;
|
|
1030
|
+
|
|
1031
|
+
export interface AutoPanOptions extends CommonEffectOptions {
|
|
1032
|
+
readonly rate?: number;
|
|
1033
|
+
readonly depth?: number;
|
|
1034
|
+
readonly center?: number;
|
|
1035
|
+
readonly width?: number;
|
|
1036
|
+
readonly waveform?: "Sine" | "Triangle";
|
|
1037
|
+
readonly phase?: number;
|
|
1038
|
+
readonly assets?: never;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
export declare class AutoPan extends Effect {
|
|
1042
|
+
static readonly effectType: "AutoPan";
|
|
1043
|
+
constructor(options?: AutoPanOptions);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export declare function createAutoPan(options?: AutoPanOptions): AutoPan;
|
|
1047
|
+
|
|
1048
|
+
export interface ChorusOptions extends CommonEffectOptions {
|
|
1049
|
+
readonly mode?: "Chorus" | "Stereo Chorus" | "Ensemble" | "Flanger" | "Vibrato";
|
|
1050
|
+
readonly rate?: number;
|
|
1051
|
+
readonly delay?: number;
|
|
1052
|
+
readonly depth?: number;
|
|
1053
|
+
readonly voices?: number;
|
|
1054
|
+
readonly stereoSpread?: number;
|
|
1055
|
+
readonly feedback?: number;
|
|
1056
|
+
readonly mix?: number;
|
|
1057
|
+
readonly assets?: never;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
export declare class Chorus extends Effect {
|
|
1061
|
+
static readonly effectType: "Chorus";
|
|
1062
|
+
constructor(options?: ChorusOptions);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
export declare function createChorus(options?: ChorusOptions): Chorus;
|
|
1066
|
+
|
|
896
1067
|
export interface DopplerDistortionOptions extends CommonEffectOptions {
|
|
897
1068
|
readonly coilForce?: number;
|
|
898
1069
|
readonly speakerMass?: number;
|
|
@@ -908,6 +1079,46 @@ export declare class DopplerDistortion extends Effect {
|
|
|
908
1079
|
|
|
909
1080
|
export declare function createDopplerDistortion(options?: DopplerDistortionOptions): DopplerDistortion;
|
|
910
1081
|
|
|
1082
|
+
export interface FrequencyShifterOptions extends CommonEffectOptions {
|
|
1083
|
+
readonly mode?: "Shift" | "Ring Mod" | "Barber-pole";
|
|
1084
|
+
readonly shift?: number;
|
|
1085
|
+
readonly carrierFrequency?: number;
|
|
1086
|
+
readonly minimumShift?: number;
|
|
1087
|
+
readonly maximumShift?: number;
|
|
1088
|
+
readonly rate?: number;
|
|
1089
|
+
readonly direction?: "Up" | "Down";
|
|
1090
|
+
readonly stereoPhase?: number;
|
|
1091
|
+
readonly mix?: number;
|
|
1092
|
+
readonly assets?: never;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export declare class FrequencyShifter extends Effect {
|
|
1096
|
+
static readonly effectType: "FrequencyShifter";
|
|
1097
|
+
constructor(options?: FrequencyShifterOptions);
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
export declare function createFrequencyShifter(options?: FrequencyShifterOptions): FrequencyShifter;
|
|
1101
|
+
|
|
1102
|
+
export interface PhaserOptions extends CommonEffectOptions {
|
|
1103
|
+
readonly mode?: "Classic" | "Barber-pole";
|
|
1104
|
+
readonly rate?: number;
|
|
1105
|
+
readonly centerFrequency?: number;
|
|
1106
|
+
readonly range?: number;
|
|
1107
|
+
readonly stages?: 2 | 4 | 6 | 8 | 10 | 12;
|
|
1108
|
+
readonly feedback?: number;
|
|
1109
|
+
readonly stereoPhase?: number;
|
|
1110
|
+
readonly direction?: "Up" | "Down";
|
|
1111
|
+
readonly mix?: number;
|
|
1112
|
+
readonly assets?: never;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export declare class Phaser extends Effect {
|
|
1116
|
+
static readonly effectType: "Phaser";
|
|
1117
|
+
constructor(options?: PhaserOptions);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
export declare function createPhaser(options?: PhaserOptions): Phaser;
|
|
1121
|
+
|
|
911
1122
|
export interface PitchShifterOptions extends CommonEffectOptions {
|
|
912
1123
|
readonly pitchShift?: number;
|
|
913
1124
|
readonly fineTune?: number;
|
|
@@ -923,6 +1134,26 @@ export declare class PitchShifter extends Effect {
|
|
|
923
1134
|
|
|
924
1135
|
export declare function createPitchShifter(options?: PitchShifterOptions): PitchShifter;
|
|
925
1136
|
|
|
1137
|
+
export interface RotarySpeakerOptions extends CommonEffectOptions {
|
|
1138
|
+
readonly speedState?: "Stop" | "Slow" | "Fast";
|
|
1139
|
+
readonly speed?: number;
|
|
1140
|
+
readonly acceleration?: number;
|
|
1141
|
+
readonly crossover?: number;
|
|
1142
|
+
readonly rotorBalance?: number;
|
|
1143
|
+
readonly stereoWidth?: number;
|
|
1144
|
+
readonly dopplerDepth?: number;
|
|
1145
|
+
readonly amplitudeDepth?: number;
|
|
1146
|
+
readonly mix?: number;
|
|
1147
|
+
readonly assets?: never;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
export declare class RotarySpeaker extends Effect {
|
|
1151
|
+
static readonly effectType: "RotarySpeaker";
|
|
1152
|
+
constructor(options?: RotarySpeakerOptions);
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
export declare function createRotarySpeaker(options?: RotarySpeakerOptions): RotarySpeaker;
|
|
1156
|
+
|
|
926
1157
|
export interface TremoloOptions extends CommonEffectOptions {
|
|
927
1158
|
readonly rate?: number;
|
|
928
1159
|
readonly depth?: number;
|
|
@@ -1084,6 +1315,7 @@ export interface IRReverbOptions extends CommonEffectOptions {
|
|
|
1084
1315
|
readonly latency?: 0 | 128 | 256 | 512 | 1024;
|
|
1085
1316
|
readonly convolutionRate?: "auto" | "full" | "half" | "quarter";
|
|
1086
1317
|
readonly wetLevel?: number;
|
|
1318
|
+
readonly dryEnabled?: boolean;
|
|
1087
1319
|
readonly dryLevel?: number;
|
|
1088
1320
|
readonly preDelay?: number;
|
|
1089
1321
|
readonly assets: IRReverbAssets;
|
|
@@ -1232,6 +1464,41 @@ export declare class SubSynth extends Effect {
|
|
|
1232
1464
|
|
|
1233
1465
|
export declare function createSubSynth(options?: SubSynthOptions): SubSynth;
|
|
1234
1466
|
|
|
1467
|
+
export interface TubeSimulatorOptions extends CommonEffectOptions {
|
|
1468
|
+
readonly inputVolume?: number;
|
|
1469
|
+
readonly tube?: "12AX7" | "12AT7" | "12AU7" | "Bypass";
|
|
1470
|
+
readonly bias?: number;
|
|
1471
|
+
readonly plateVoltage?: number;
|
|
1472
|
+
readonly sourceImpedance?: number;
|
|
1473
|
+
readonly supplyImpedance?: number;
|
|
1474
|
+
readonly outputTrim?: number;
|
|
1475
|
+
readonly mix?: number;
|
|
1476
|
+
readonly inputReference?: number;
|
|
1477
|
+
readonly negativeFeedback?: number;
|
|
1478
|
+
readonly outputStage?: "Line" | "Power" | "SingleEnded";
|
|
1479
|
+
readonly powerTube?: "EL84" | "EL34" | "6L6GC" | "KT88";
|
|
1480
|
+
readonly powerBPlus?: number;
|
|
1481
|
+
readonly cathodeResistor?: number;
|
|
1482
|
+
readonly screenTap?: "0" | "20" | "43";
|
|
1483
|
+
readonly primaryImpedance?: "6.0" | "6.6" | "8.0";
|
|
1484
|
+
readonly speakerLoad?: "4" | "8" | "15" | "16";
|
|
1485
|
+
readonly actualSpeakerLoad?: number;
|
|
1486
|
+
readonly safetyTrim?: number;
|
|
1487
|
+
readonly autoGainReduction?: boolean;
|
|
1488
|
+
readonly seTube?: "300B" | "2A3";
|
|
1489
|
+
readonly seBPlus?: number;
|
|
1490
|
+
readonly seCathodeResistor?: number;
|
|
1491
|
+
readonly sePrimaryImpedance?: "2.5" | "3.5" | "5.0";
|
|
1492
|
+
readonly assets?: never;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
export declare class TubeSimulator extends Effect {
|
|
1496
|
+
static readonly effectType: "TubeSimulator";
|
|
1497
|
+
constructor(options?: TubeSimulatorOptions);
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
export declare function createTubeSimulator(options?: TubeSimulatorOptions): TubeSimulator;
|
|
1501
|
+
|
|
1235
1502
|
export interface CrossfeedFilterOptions extends CommonEffectOptions {
|
|
1236
1503
|
readonly level?: number;
|
|
1237
1504
|
readonly delay?: number;
|
|
@@ -1277,6 +1544,27 @@ export declare class MultibandBalance extends Effect {
|
|
|
1277
1544
|
|
|
1278
1545
|
export declare function createMultibandBalance(options?: MultibandBalanceOptions): MultibandBalance;
|
|
1279
1546
|
|
|
1547
|
+
export interface PhaseSelectEQOptions extends CommonEffectOptions {
|
|
1548
|
+
readonly regionEnabled?: readonly [boolean, boolean, boolean, boolean, boolean];
|
|
1549
|
+
readonly outerFrequencyLow?: readonly [number, number, number, number, number];
|
|
1550
|
+
readonly coreFrequencyLow?: readonly [number, number, number, number, number];
|
|
1551
|
+
readonly coreFrequencyHigh?: readonly [number, number, number, number, number];
|
|
1552
|
+
readonly outerFrequencyHigh?: readonly [number, number, number, number, number];
|
|
1553
|
+
readonly outerPhaseLow?: readonly [number, number, number, number, number];
|
|
1554
|
+
readonly corePhaseLow?: readonly [number, number, number, number, number];
|
|
1555
|
+
readonly corePhaseHigh?: readonly [number, number, number, number, number];
|
|
1556
|
+
readonly outerPhaseHigh?: readonly [number, number, number, number, number];
|
|
1557
|
+
readonly gain?: readonly [number, number, number, number, number];
|
|
1558
|
+
readonly assets?: never;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
export declare class PhaseSelectEQ extends Effect {
|
|
1562
|
+
static readonly effectType: "PhaseSelectEQ";
|
|
1563
|
+
constructor(options?: PhaseSelectEQOptions);
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
export declare function createPhaseSelectEQ(options?: PhaseSelectEQOptions): PhaseSelectEQ;
|
|
1567
|
+
|
|
1280
1568
|
export interface StereoBlendOptions extends CommonEffectOptions {
|
|
1281
1569
|
readonly stereo?: number;
|
|
1282
1570
|
readonly assets?: never;
|
|
@@ -1334,17 +1622,29 @@ export interface EffectOptionsByType {
|
|
|
1334
1622
|
readonly ToneControl: ToneControlOptions;
|
|
1335
1623
|
readonly AMRadioSimulator: AMRadioSimulatorOptions;
|
|
1336
1624
|
readonly BitCrusher: BitCrusherOptions;
|
|
1625
|
+
readonly BluetoothSBCSimulator: BluetoothSBCSimulatorOptions;
|
|
1626
|
+
readonly CassetteArtifacts: CassetteArtifactsOptions;
|
|
1337
1627
|
readonly DigitalErrorEmulator: DigitalErrorEmulatorOptions;
|
|
1338
1628
|
readonly DSD64IMDSimulator: DSD64IMDSimulatorOptions;
|
|
1339
1629
|
readonly FMRadioSimulator: FMRadioSimulatorOptions;
|
|
1630
|
+
readonly G726ADPCMSimulator: G726ADPCMSimulatorOptions;
|
|
1631
|
+
readonly GSMFullRateSimulator: GSMFullRateSimulatorOptions;
|
|
1340
1632
|
readonly HumGenerator: HumGeneratorOptions;
|
|
1633
|
+
readonly MP3CodecSimulator: MP3CodecSimulatorOptions;
|
|
1341
1634
|
readonly NoiseBlender: NoiseBlenderOptions;
|
|
1342
1635
|
readonly SimpleJitter: SimpleJitterOptions;
|
|
1343
1636
|
readonly SWRadioSimulator: SWRadioSimulatorOptions;
|
|
1637
|
+
readonly TapeArtifacts: TapeArtifactsOptions;
|
|
1344
1638
|
readonly VinylArtifacts: VinylArtifactsOptions;
|
|
1345
1639
|
readonly VinylSimulator: VinylSimulatorOptions;
|
|
1640
|
+
readonly AutoFilter: AutoFilterOptions;
|
|
1641
|
+
readonly AutoPan: AutoPanOptions;
|
|
1642
|
+
readonly Chorus: ChorusOptions;
|
|
1346
1643
|
readonly DopplerDistortion: DopplerDistortionOptions;
|
|
1644
|
+
readonly FrequencyShifter: FrequencyShifterOptions;
|
|
1645
|
+
readonly Phaser: PhaserOptions;
|
|
1347
1646
|
readonly PitchShifter: PitchShifterOptions;
|
|
1647
|
+
readonly RotarySpeaker: RotarySpeakerOptions;
|
|
1348
1648
|
readonly Tremolo: TremoloOptions;
|
|
1349
1649
|
readonly WowFlutter: WowFlutterOptions;
|
|
1350
1650
|
readonly Oscillator: OscillatorOptions;
|
|
@@ -1362,9 +1662,11 @@ export interface EffectOptionsByType {
|
|
|
1362
1662
|
readonly MultibandSaturation: MultibandSaturationOptions;
|
|
1363
1663
|
readonly Saturation: SaturationOptions;
|
|
1364
1664
|
readonly SubSynth: SubSynthOptions;
|
|
1665
|
+
readonly TubeSimulator: TubeSimulatorOptions;
|
|
1365
1666
|
readonly CrossfeedFilter: CrossfeedFilterOptions;
|
|
1366
1667
|
readonly MSMatrix: MSMatrixOptions;
|
|
1367
1668
|
readonly MultibandBalance: MultibandBalanceOptions;
|
|
1669
|
+
readonly PhaseSelectEQ: PhaseSelectEQOptions;
|
|
1368
1670
|
readonly StereoBlend: StereoBlendOptions;
|
|
1369
1671
|
}
|
|
1370
1672
|
|
|
@@ -1413,17 +1715,29 @@ export interface EffectClassByType {
|
|
|
1413
1715
|
readonly ToneControl: ToneControl;
|
|
1414
1716
|
readonly AMRadioSimulator: AMRadioSimulator;
|
|
1415
1717
|
readonly BitCrusher: BitCrusher;
|
|
1718
|
+
readonly BluetoothSBCSimulator: BluetoothSBCSimulator;
|
|
1719
|
+
readonly CassetteArtifacts: CassetteArtifacts;
|
|
1416
1720
|
readonly DigitalErrorEmulator: DigitalErrorEmulator;
|
|
1417
1721
|
readonly DSD64IMDSimulator: DSD64IMDSimulator;
|
|
1418
1722
|
readonly FMRadioSimulator: FMRadioSimulator;
|
|
1723
|
+
readonly G726ADPCMSimulator: G726ADPCMSimulator;
|
|
1724
|
+
readonly GSMFullRateSimulator: GSMFullRateSimulator;
|
|
1419
1725
|
readonly HumGenerator: HumGenerator;
|
|
1726
|
+
readonly MP3CodecSimulator: MP3CodecSimulator;
|
|
1420
1727
|
readonly NoiseBlender: NoiseBlender;
|
|
1421
1728
|
readonly SimpleJitter: SimpleJitter;
|
|
1422
1729
|
readonly SWRadioSimulator: SWRadioSimulator;
|
|
1730
|
+
readonly TapeArtifacts: TapeArtifacts;
|
|
1423
1731
|
readonly VinylArtifacts: VinylArtifacts;
|
|
1424
1732
|
readonly VinylSimulator: VinylSimulator;
|
|
1733
|
+
readonly AutoFilter: AutoFilter;
|
|
1734
|
+
readonly AutoPan: AutoPan;
|
|
1735
|
+
readonly Chorus: Chorus;
|
|
1425
1736
|
readonly DopplerDistortion: DopplerDistortion;
|
|
1737
|
+
readonly FrequencyShifter: FrequencyShifter;
|
|
1738
|
+
readonly Phaser: Phaser;
|
|
1426
1739
|
readonly PitchShifter: PitchShifter;
|
|
1740
|
+
readonly RotarySpeaker: RotarySpeaker;
|
|
1427
1741
|
readonly Tremolo: Tremolo;
|
|
1428
1742
|
readonly WowFlutter: WowFlutter;
|
|
1429
1743
|
readonly Oscillator: Oscillator;
|
|
@@ -1441,9 +1755,11 @@ export interface EffectClassByType {
|
|
|
1441
1755
|
readonly MultibandSaturation: MultibandSaturation;
|
|
1442
1756
|
readonly Saturation: Saturation;
|
|
1443
1757
|
readonly SubSynth: SubSynth;
|
|
1758
|
+
readonly TubeSimulator: TubeSimulator;
|
|
1444
1759
|
readonly CrossfeedFilter: CrossfeedFilter;
|
|
1445
1760
|
readonly MSMatrix: MSMatrix;
|
|
1446
1761
|
readonly MultibandBalance: MultibandBalance;
|
|
1762
|
+
readonly PhaseSelectEQ: PhaseSelectEQ;
|
|
1447
1763
|
readonly StereoBlend: StereoBlend;
|
|
1448
1764
|
}
|
|
1449
1765
|
|