From 571e473df7f9943671235724b784d96079dd1af4 Mon Sep 17 00:00:00 2001 From: Sander Date: Wed, 10 Dec 2025 08:41:38 +0100 Subject: [PATCH 1/2] init audio --- apps/electron-app/index.html | 1 + apps/electron-app/src/common/nodes.ts | 2 + .../nodes/AudioPlayer/AudioFileEditor.tsx | 327 ++++++++++++++++++ .../nodes/AudioPlayer/AudioPlayer.tsx | 95 +++++ packages/runtime/index.ts | 1 + packages/runtime/package.json | 1 + .../runtime/src/audioplayer/audioplayer.ts | 166 +++++++++ .../src/audioplayer/audioplayer.types.ts | 14 + yarn.lock | 19 + 9 files changed, 626 insertions(+) create mode 100644 apps/electron-app/src/render/components/react-flow/nodes/AudioPlayer/AudioFileEditor.tsx create mode 100644 apps/electron-app/src/render/components/react-flow/nodes/AudioPlayer/AudioPlayer.tsx create mode 100644 packages/runtime/src/audioplayer/audioplayer.ts create mode 100644 packages/runtime/src/audioplayer/audioplayer.types.ts diff --git a/apps/electron-app/index.html b/apps/electron-app/index.html index a09a0d5f..51d88243 100644 --- a/apps/electron-app/index.html +++ b/apps/electron-app/index.html @@ -13,6 +13,7 @@ style-src 'self' 'unsafe-inline'; connect-src 'self' https://*.trycloudflare.com wss: ws: http: https:; img-src 'self' data:; + media-src 'self' blob:; " />