github kizuna-ai-lab/sokuji v0.15.31

13 hours ago

What's New

Audio Playback Overhaul

  • Replaced per-chunk HTMLAudioElement playback with a SharedArrayBuffer ring buffer architecture, enabling gapless, low-latency audio output (#174)

Bug Fixes

  • Fixed local inference Workers failing to load in packaged Electron app — Workers inside ASAR were blocked by COEP headers; production now relies on the SharedArrayBuffer command-line flag instead, avoiding the issue entirely
  • Fixed AudioWorklet CSP violation in browser extension — the playback ring processor worklet was inlined as a data: URL by Vite, which violated the extension's Content Security Policy; now loads via chrome.runtime.getURL() like the other worklets
  • Included WASM runtime files in packaged app — sherpa-onnx ASR/TTS runtimes, ONNX Runtime Web, VAD model, and Piper Plus runtime are now bundled in the ASAR so local inference workers can load them
  • Added Cross-Origin-Resource-Policy header for local resources

Full Changelog: v0.15.29...v0.15.31

Don't miss a new sokuji release

NewReleases is sending notifications on new releases.