aboutsummaryrefslogtreecommitdiff
path: root/src/utils/dependencies.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/dependencies.ts')
-rw-r--r--src/utils/dependencies.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/dependencies.ts b/src/utils/dependencies.ts
index 3ef84b7..f1a5c26 100644
--- a/src/utils/dependencies.ts
+++ b/src/utils/dependencies.ts
@@ -79,5 +79,9 @@ const shikiWorkerDist = "https://unpkg.com/@vap/shiki-worker@0.0.8/dist";
export const shikiWorkerSrc = `${shikiWorkerDist}/${IS_DEV ? "index.js" : "index.min.js"}`;
export const shikiOnigasmSrc = "https://unpkg.com/@vap/shiki@0.10.3/dist/onig.wasm";
+export const rnnoiseDist = "https://unpkg.com/@sapphi-red/web-noise-suppressor@0.3.3/dist";
+export const rnnoiseWasmSrc = (simd = false) => `${rnnoiseDist}/rnnoise${simd ? "_simd" : ""}.wasm`;
+export const rnnoiseWorkletSrc = `${rnnoiseDist}/rnnoise/workletProcessor.js`;
+
// @ts-expect-error SHUT UP
export const getStegCloak = makeLazy(() => import("https://unpkg.com/stegcloak-dist@1.0.0/index.js"));