@antimatter-audio/antimatter-ui 14.13.0 → 14.13.1
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/LFOVisualizer/utils.d.ts +1 -3
- package/dist/advanced/LFOVisualizer/utils.d.ts.map +1 -1
- package/dist/index.js +40 -34
- package/dist/index.js.map +1 -1
- package/dist/src/advanced/LFOVisualizer/utils.d.ts +1 -3
- package/dist/src/advanced/LFOVisualizer/utils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { WaveTypes } from './constants';
|
|
2
2
|
export declare const addWidth: (value: number, width: number) => number;
|
|
3
|
-
export declare
|
|
4
|
-
export declare function generateCycle({ waveType, ampValue, randomNumber, cycleLength, pulseWidth, }: {
|
|
3
|
+
export declare function generateCycle({ waveType, ampValue, cycleLength, pulseWidth, }: {
|
|
5
4
|
waveType: WaveTypes;
|
|
6
5
|
ampValue?: number;
|
|
7
|
-
randomNumber?: number;
|
|
8
6
|
cycleLength?: number;
|
|
9
7
|
pulseWidth?: number;
|
|
10
8
|
}): any;
|
|
@@ -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;AAUxC,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,WAEpD,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;AAUxC,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,WAEpD,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;AAiBD,eAAO,MAAM,wBAAwB,GAAI,iDAKtC;IACD,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;;;GAWA,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -7083,74 +7083,80 @@ function _unsupported_iterable_to_array$5(o, minLen) {
|
|
|
7083
7083
|
}
|
|
7084
7084
|
// const randomNumbers = [0.3, 0.7, 0.5, 0.2, 0.6, 0.3, 0.2, 0.3, 0.4, 0.4];
|
|
7085
7085
|
var minCycleLength = 93;
|
|
7086
|
+
// Ramp
|
|
7087
|
+
// export const getRampArray = (max: number, increment: number) =>
|
|
7088
|
+
// d3.range(0, max, increment);
|
|
7086
7089
|
// Returns a coordinate array for one cycle
|
|
7087
7090
|
function generateCycle(param) {
|
|
7088
7091
|
var waveType = param.waveType, _param_ampValue = param.ampValue, ampValue = _param_ampValue === void 0 ? 1 : _param_ampValue, _param_cycleLength = param.cycleLength, cycleLength = _param_cycleLength === void 0 ? minCycleLength : _param_cycleLength, _param_pulseWidth = param.pulseWidth, pulseWidth = _param_pulseWidth === void 0 ? 1 : _param_pulseWidth;
|
|
7089
7092
|
var cycle = [];
|
|
7093
|
+
var getStartingRampVal = function(i) {
|
|
7094
|
+
var startingValue = i + cycleLength;
|
|
7095
|
+
var returnValue;
|
|
7096
|
+
if (startingValue > cycleLength) {
|
|
7097
|
+
returnValue = startingValue % cycleLength;
|
|
7098
|
+
} else if (startingValue < 0) {
|
|
7099
|
+
returnValue = cycleLength - Math.abs(startingValue);
|
|
7100
|
+
} else {
|
|
7101
|
+
returnValue = startingValue;
|
|
7102
|
+
}
|
|
7103
|
+
var pulseWidthParam = 1 - pulseWidth;
|
|
7104
|
+
returnValue = returnValue * (1 + 4 * pulseWidthParam);
|
|
7105
|
+
if (returnValue > cycleLength) {
|
|
7106
|
+
returnValue = 0;
|
|
7107
|
+
}
|
|
7108
|
+
return scaledToNormalised({
|
|
7109
|
+
scaledValue: returnValue,
|
|
7110
|
+
start: 0,
|
|
7111
|
+
end: cycleLength
|
|
7112
|
+
});
|
|
7113
|
+
};
|
|
7090
7114
|
//Generate the coordinate array for the cycle
|
|
7091
|
-
for(var i =
|
|
7092
|
-
var
|
|
7093
|
-
var startingValue = i + cycleLength;
|
|
7094
|
-
var returnValue;
|
|
7095
|
-
if (startingValue > cycleLength) {
|
|
7096
|
-
returnValue = startingValue % cycleLength;
|
|
7097
|
-
} else if (startingValue < 0) {
|
|
7098
|
-
returnValue = cycleLength - Math.abs(startingValue);
|
|
7099
|
-
} else {
|
|
7100
|
-
returnValue = startingValue;
|
|
7101
|
-
}
|
|
7102
|
-
var pulseWidthParam = 1 - pulseWidth;
|
|
7103
|
-
returnValue = returnValue * (1 + 4 * pulseWidthParam);
|
|
7104
|
-
if (returnValue > cycleLength) {
|
|
7105
|
-
returnValue = 0;
|
|
7106
|
-
}
|
|
7107
|
-
return scaledToNormalised({
|
|
7108
|
-
scaledValue: returnValue,
|
|
7109
|
-
start: 0,
|
|
7110
|
-
end: cycleLength
|
|
7111
|
-
});
|
|
7112
|
-
};
|
|
7113
|
-
var adjustedVal = getAdjustedVal();
|
|
7115
|
+
for(var i = 0; i < cycleLength; i++){
|
|
7116
|
+
var startingRampVal = getStartingRampVal(i);
|
|
7114
7117
|
switch(waveType){
|
|
7115
7118
|
case WaveTypes.Sine:
|
|
7116
|
-
var angle =
|
|
7119
|
+
var angle = startingRampVal * (2 * Math.PI);
|
|
7117
7120
|
//prettier-ignore
|
|
7118
7121
|
var sineShape = angle > 0 ? Math.sin(angle) / 2 + 0.5 : 0;
|
|
7119
7122
|
cycle.push({
|
|
7120
|
-
x:
|
|
7123
|
+
x: startingRampVal,
|
|
7121
7124
|
//prettier-ignore
|
|
7122
7125
|
y: sineShape
|
|
7123
7126
|
});
|
|
7124
7127
|
break;
|
|
7125
7128
|
case WaveTypes.Ramp:
|
|
7126
7129
|
cycle.push({
|
|
7127
|
-
y:
|
|
7130
|
+
y: startingRampVal
|
|
7128
7131
|
});
|
|
7129
7132
|
break;
|
|
7130
7133
|
case WaveTypes.Saw:
|
|
7131
7134
|
cycle.push({
|
|
7132
|
-
y:
|
|
7135
|
+
y: startingRampVal > 0 ? 1 - startingRampVal : 0
|
|
7133
7136
|
});
|
|
7134
7137
|
break;
|
|
7135
7138
|
case WaveTypes.Square:
|
|
7136
7139
|
cycle.push({
|
|
7137
|
-
y:
|
|
7140
|
+
y: startingRampVal > 0.5 ? 1 : 0
|
|
7138
7141
|
});
|
|
7139
7142
|
break;
|
|
7140
7143
|
case WaveTypes.Triangle:
|
|
7141
7144
|
cycle.push({
|
|
7142
7145
|
y: // prettier-ignore
|
|
7143
|
-
|
|
7146
|
+
startingRampVal * 2 > 1 ? 2 - startingRampVal * 2 : startingRampVal * 2
|
|
7144
7147
|
});
|
|
7145
7148
|
break;
|
|
7146
7149
|
}
|
|
7147
7150
|
}
|
|
7148
7151
|
if (waveType === WaveTypes.Sine && pulseWidth < 1) {
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7152
|
+
// const
|
|
7153
|
+
// const pw = pulseWidth * 10;
|
|
7154
|
+
var numberZeroVals = cycle.filter(function(item) {
|
|
7155
|
+
return item.x === 0 && item.y === 0;
|
|
7156
|
+
}).length;
|
|
7157
|
+
// console.log(numberZeroVals, 'numberZeroVals');
|
|
7158
|
+
var smallestValIndex = Math.ceil((cycle.length - numberZeroVals) * 0.75);
|
|
7159
|
+
var beginning = cycle === null || cycle === void 0 ? void 0 : cycle.slice(1, smallestValIndex);
|
|
7154
7160
|
var end = cycle === null || cycle === void 0 ? void 0 : cycle.slice(smallestValIndex);
|
|
7155
7161
|
var zeroIndex = end === null || end === void 0 ? void 0 : end.findIndex(function(item) {
|
|
7156
7162
|
return (item === null || item === void 0 ? void 0 : item.y) === 0;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,MAAM,GAAG,GAAG,GAAG,EAAE;AAChC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ;;AAE7B,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO;;AAExD,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU;;AAEzB,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../node_modules/style-inject/dist/style-inject.es.js"],"sourcesContent":["function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n"],"names":[],"mappings":";;;;;;;;;AAAA,SAAS,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE;AAC/B,EAAE,KAAK,GAAG,KAAK,MAAM,GAAG,GAAG,GAAG,EAAE;AAChC,EAAE,IAAI,QAAQ,GAAG,GAAG,CAAC,QAAQ;;AAE7B,EAAE,IAAI,CAAC,GAAG,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE,EAAE,OAAO;;AAExD,EAAE,IAAI,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtE,EAAE,IAAI,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;AAC7C,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU;;AAEzB,EAAE,IAAI,QAAQ,KAAK,KAAK,EAAE;AAC1B,IAAI,IAAI,IAAI,CAAC,UAAU,EAAE;AACzB,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC;AAC/C,KAAK,MAAM;AACX,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC7B;AACA,GAAG,MAAM;AACT,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC;AAC3B;;AAEA,EAAE,IAAI,KAAK,CAAC,UAAU,EAAE;AACxB,IAAI,KAAK,CAAC,UAAU,CAAC,OAAO,GAAG,GAAG;AAClC,GAAG,MAAM;AACT,IAAI,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AACnD;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { WaveTypes } from './constants';
|
|
2
2
|
export declare const addWidth: (value: number, width: number) => number;
|
|
3
|
-
export declare
|
|
4
|
-
export declare function generateCycle({ waveType, ampValue, randomNumber, cycleLength, pulseWidth, }: {
|
|
3
|
+
export declare function generateCycle({ waveType, ampValue, cycleLength, pulseWidth, }: {
|
|
5
4
|
waveType: WaveTypes;
|
|
6
5
|
ampValue?: number;
|
|
7
|
-
randomNumber?: number;
|
|
8
6
|
cycleLength?: number;
|
|
9
7
|
pulseWidth?: number;
|
|
10
8
|
}): any;
|
|
@@ -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;AAUxC,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,WAEpD,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;AAUxC,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,WAEpD,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;AAiBD,eAAO,MAAM,wBAAwB,GAAI,iDAKtC;IACD,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;;;GAWA,CAAC"}
|