@antimatter-audio/antimatter-ui 14.13.1 → 14.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/dist/advanced/LFOIntensityMeter/worker.d.ts +0 -7
- package/dist/advanced/LFOIntensityMeter/worker.d.ts.map +1 -1
- package/dist/advanced/LFOVisualizer/LFOVisualizer.d.ts.map +1 -1
- package/dist/advanced/LFOVisualizer/utils.d.ts +8 -1
- package/dist/advanced/LFOVisualizer/utils.d.ts.map +1 -1
- package/dist/advanced/LFOVisualizer/worker.d.ts +16 -1
- package/dist/advanced/LFOVisualizer/worker.d.ts.map +1 -1
- package/dist/index.js +359 -728
- package/dist/index.js.map +1 -1
- package/dist/src/advanced/LFOVisualizer/LFOVisualizer.d.ts.map +1 -1
- package/dist/src/advanced/LFOVisualizer/utils.d.ts +11 -1
- package/dist/src/advanced/LFOVisualizer/utils.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -7,13 +7,6 @@ declare let intensityValues: Array<number>;
|
|
|
7
7
|
declare let rampPosition: any;
|
|
8
8
|
declare let lastSelectedIndex: number;
|
|
9
9
|
declare let animationDirection: AnimationDirection;
|
|
10
|
-
declare enum WaveTypes {
|
|
11
|
-
Sine = "Sine",
|
|
12
|
-
Triangle = "Triangle",
|
|
13
|
-
Ramp = "Ramp",
|
|
14
|
-
Saw = "Saw",
|
|
15
|
-
Square = "Square"
|
|
16
|
-
}
|
|
17
10
|
declare enum AnimationDirection {
|
|
18
11
|
Rising = "Rising",
|
|
19
12
|
Falling = "Falling",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOIntensityMeter/worker.ts"],"names":[],"mappings":"AACA,KAAK,aAAa,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9C,QAAA,IAAI,uBAAuB,EAAE,GAAG,CAAC;AACjC,QAAA,IAAI,eAAe,EAAE,KAAK,CAAC,MAAM,CAAM,CAAC;AACxC,QAAA,IAAI,YAAY,KAAA,CAAC;AACjB,QAAA,IAAI,iBAAiB,EAAE,MAAM,CAAC;AAC9B,QAAA,IAAI,kBAAkB,EAAE,kBAAkB,CAAC;AAE3C,aAAK,
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOIntensityMeter/worker.ts"],"names":[],"mappings":"AACA,KAAK,aAAa,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC9C,QAAA,IAAI,uBAAuB,EAAE,GAAG,CAAC;AACjC,QAAA,IAAI,eAAe,EAAE,KAAK,CAAC,MAAM,CAAM,CAAC;AACxC,QAAA,IAAI,YAAY,KAAA,CAAC;AACjB,QAAA,IAAI,iBAAiB,EAAE,MAAM,CAAC;AAC9B,QAAA,IAAI,kBAAkB,EAAE,kBAAkB,CAAC;AAE3C,aAAK,kBAAkB;IACrB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LFOVisualizer.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/LFOVisualizer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"LFOVisualizer.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/LFOVisualizer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsD,MAAM,OAAO,CAAC;AAI3E,OAAO,qBAAqB,CAAC;AAM7B,iBAAS,aAAa,CAAC,EACrB,EAAE,EACF,KAAW,EACX,MAAY,GACb,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,qBAqRA;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
import { WaveTypes } from './constants';
|
|
2
|
+
import { XYValue } from '../../common/types';
|
|
2
3
|
export declare const addWidth: (value: number, width: number) => number;
|
|
4
|
+
export declare const reduceResolutionTo: (arr: Array<any>, n: number) => any[];
|
|
3
5
|
export declare function generateCycle({ waveType, ampValue, cycleLength, pulseWidth, }: {
|
|
4
6
|
waveType: WaveTypes;
|
|
5
7
|
ampValue?: number;
|
|
6
8
|
cycleLength?: number;
|
|
7
9
|
pulseWidth?: number;
|
|
8
10
|
}): any;
|
|
9
|
-
export declare const getSingleCyclePointArray: ({ waveType, pulseWidth, ampValue, phaseValue, }: {
|
|
11
|
+
export declare const getSingleCyclePointArray: ({ waveType, pulseWidth, ampValue, phaseValue, rampValue, }: {
|
|
10
12
|
waveType: WaveTypes | null;
|
|
11
13
|
pulseWidth?: number;
|
|
12
14
|
ampValue?: number;
|
|
13
15
|
phaseValue: number;
|
|
16
|
+
rampValue: number;
|
|
14
17
|
}) => {
|
|
15
18
|
x: number;
|
|
16
19
|
y: number;
|
|
17
20
|
}[];
|
|
21
|
+
export declare const getMultiCyclePointArray: ({ numCycles, cycleValues, }: {
|
|
22
|
+
numCycles: number;
|
|
23
|
+
cycleValues: Array<number>;
|
|
24
|
+
}) => XYValue[];
|
|
18
25
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAM7C,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,WAEpD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,KAAK,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,UAK5D,CAAC;AAQF,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,QAAY,EACZ,WAA4B,EAC5B,UAAc,GACf,EAAE;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,OA6FA;AAqBD,eAAO,MAAM,wBAAwB,GAAI,4DAMtC;IACD,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;;;GAcA,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,6BAGrC;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B,cAUA,CAAC"}
|
|
@@ -2,6 +2,21 @@ interface XYValue {
|
|
|
2
2
|
x: number;
|
|
3
3
|
y: number;
|
|
4
4
|
}
|
|
5
|
+
declare enum WaveTypes {
|
|
6
|
+
Sine = "Sine",
|
|
7
|
+
Triangle = "Triangle",
|
|
8
|
+
Ramp = "Ramp",
|
|
9
|
+
Saw = "Saw",
|
|
10
|
+
Square = "Square"
|
|
11
|
+
}
|
|
5
12
|
declare let LFODotCanvas: any;
|
|
6
|
-
declare let
|
|
13
|
+
declare let bufferArray: Array<Array<XYValue>>;
|
|
14
|
+
declare let visibleWaveforms: Array<XYValue>;
|
|
15
|
+
declare let currentWaveform: Array<XYValue>;
|
|
16
|
+
declare let rampValue: number;
|
|
17
|
+
declare let randAmountVal: number;
|
|
18
|
+
declare const maxCycles = 30;
|
|
19
|
+
declare const arrayLength = 1024;
|
|
20
|
+
declare function normalizeToZeroOne(value: number, min: number, max: number): number;
|
|
21
|
+
declare const reduceResolutionTo: (arr: Array<any>, n: number) => any[];
|
|
7
22
|
//# sourceMappingURL=worker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/worker.ts"],"names":[],"mappings":"AAEA,UAAU,OAAO;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,QAAA,IAAI,YAAY,EAAE,GAAG,CAAC;AACtB,QAAA,IAAI,
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/advanced/LFOVisualizer/worker.ts"],"names":[],"mappings":"AAEA,UAAU,OAAO;IACf,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,aAAK,SAAS;IACZ,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,GAAG,QAAQ;IAGX,MAAM,WAAW;CAClB;AAED,QAAA,IAAI,YAAY,EAAE,GAAG,CAAC;AACtB,QAAA,IAAI,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAM,CAAC;AAC5C,QAAA,IAAI,gBAAgB,EAAE,KAAK,CAAC,OAAO,CAAM,CAAC;AAC1C,QAAA,IAAI,eAAe,EAAE,KAAK,CAAC,OAAO,CAAM,CAAC;AACzC,QAAA,IAAI,SAAS,EAAE,MAAU,CAAC;AAC1B,QAAA,IAAI,aAAa,EAAE,MAAM,CAAC;AAE1B,QAAA,MAAM,SAAS,KAAK,CAAC;AACrB,QAAA,MAAM,WAAW,OAAO,CAAC;AAEzB,iBAAS,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAElE;AAED,QAAA,MAAM,kBAAkB,GAAI,KAAK,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,UAKrD,CAAC"}
|