tts-voice-creator-clone-and.../static/js
mARTin-B78 a0d94b140e Fix clone UX: sample text, live monitor, quality, STT picker, OGG accept
1. Sample text: expose initCloneSampleText as a window function and call
   it from nav.js runSideEffects when the clone section is activated,
   ensuring the textarea is always populated even if the IIFE ran before
   the element existed.

2. Better sample texts: all 8 languages rewritten to ~38 words / ~15 s,
   first-person, phonetically rich, proper Unicode diacritics.

3. Live mic monitor: a level-meter (18-bar) + scrolling oscilloscope
   canvas (ring-buffer, 300 px, colour-coded) added to the microphone
   card.  "Check level" / "Stop monitor" buttons start/stop it
   independently; clicking Record starts it automatically.
   Uses raw mic constraints (no echo-cancel / AGC) for cleaner voice clone
   audio.  Mic gain slider and dB readout included.

4. Recording quality: MediaRecorder now requests audioBitsPerSecond:256000
   in both voice-clone.js and stt.js.

5. STT engine picker: Recognition engine <select> + Refresh button added
   above the Auto-transcribe button in Step 3.  refreshSttBackends() now
   syncs both stt-tts-stt-backend and clone-stt-backend.  The transcribe
   call passes the chosen backend to /api/transcribe.

6. File input: explicit extension list added to accept= for OGG/OPUS.

7. CSS: .mic-live-wave style added (dark/light theme variants).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-31 17:58:28 +02:00
..
ai-backends.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
benchmark.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
conversation.js Show spoken sentence in typing bubble; fix VAD noise sensitivity 2026-05-29 20:50:44 +02:00
engines.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
generation.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
init.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
integrations.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
routing.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
settings.js Persist engine container names and card URLs to server settings 2026-05-29 15:17:02 +02:00
stt.js Fix clone UX: sample text, live monitor, quality, STT picker, OGG accept 2026-05-31 17:58:28 +02:00
tts-preview.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
utils.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-clone.js Fix clone UX: sample text, live monitor, quality, STT picker, OGG accept 2026-05-31 17:58:28 +02:00
voice-inspector.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-library.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00
voice-sources.js Security audit, modular refactor, and container-name field 2026-05-29 12:13:07 +02:00