Two groups of changes, committed together as the follow-up to the initial push: 1. .gitmodules — submodule Qwen3-TTS now points at the internal Gitea fork (ssh://git@mini-eq:2222/umbragit/Qwen3-TTS.git) instead of upstream GitHub, so a clone actually gets the UmbraAudio branding/integration commit 012e452 rather than vanilla upstream. 2. New infra/ tooling for the cross-machine work in spec 21: agent_bridge, remote_credential_broker (Keychain-backed, secrets read at runtime and generated via read_secret/random_secret — no hardcoded credentials), the enterprise bootstrap scripts, and the oldbox SSH/auth prompts. Plus backup/ restore scripts, two specs (18 UmbraTrans, 19 enterprise control plane), umbraaudio/voices/lmstudio_gate.py, and in-flight edits to the discovery/attribution/profiling modules, config, chapter_builder, emotion, pronunciation, qwen_tts and routes. Also adds *.db to .gitignore: SQLite project databases are runtime state and no .db file was tracked before. Verified before staging: .env's only change is UMBRA_TTS__QWEN_TTS_HELPER_URL and the committed copy has zero secret-looking values; the broker ships only config.example.json.
49 lines
1.5 KiB
Bash
49 lines
1.5 KiB
Bash
# UmbraAudio Environment Configuration
|
|
# Copy this to .env and modify as needed
|
|
|
|
# --- Project ---
|
|
UMBRA_PROJECT_DIR=.
|
|
UMBRA_DATA_DIR=.umbra
|
|
|
|
# --- TTS ---
|
|
UMBRA_TTS__ENGINE=qwen
|
|
UMBRA_TTS__DEVICE=mps
|
|
UMBRA_TTS__SAMPLE_RATE=24000
|
|
UMBRA_TTS__MAX_RETRIES=3
|
|
UMBRA_TTS__RETRY_DELAY=2.0
|
|
UMBRA_TTS__VOICEDESIGN_MODEL=/Volumes/1TB_APL_Storage/UmbraAudio/models/Qwen3-TTS-12Hz-1.7B-VoiceDesign
|
|
UMBRA_TTS__BASE_MODEL=/Volumes/1TB_APL_Storage/UmbraAudio/models/Qwen3-TTS-12Hz-1.7B-Base
|
|
UMBRA_TTS__QWEN_TTS_URL=http://localhost:8881
|
|
# Optional GPU accelerator: relay 127.0.0.1:18881 -> 192.168.123.14:8881.
|
|
# Helper is tried first when healthy; local server above is the required fallback.
|
|
UMBRA_TTS__QWEN_TTS_HELPER_URL=http://127.0.0.1:18881
|
|
|
|
# --- LLM ---
|
|
UMBRA_LLM__PROVIDER=auto
|
|
UMBRA_LLM__LMSTUDIO_BASE_URL=http://localhost:1234/v1
|
|
UMBRA_LLM__LMSTUDIO_MODEL=qwen/qwen3.5-9b
|
|
UMBRA_LLM__OPENAI_MODEL=gpt-4o
|
|
UMBRA_LLM__TEMPERATURE=0.3
|
|
UMBRA_LLM__MAX_TOKENS=4096
|
|
|
|
# --- Web ---
|
|
UMBRA_WEB__HOST=0.0.0.0
|
|
UMBRA_WEB__PORT=8420
|
|
UMBRA_WEB__AUTO_OPEN=false
|
|
|
|
# --- Quality ---
|
|
UMBRA_QUALITY__MIN_MOS=3.8
|
|
UMBRA_QUALITY__MIN_TEST_MOS=4.0
|
|
UMBRA_QUALITY__MAX_WER=0.03
|
|
UMBRA_QUALITY__MIN_SPEAKER_SIMILARITY=0.80
|
|
UMBRA_QUALITY__MIN_TEST_SPEAKER_SIMILARITY=0.85
|
|
UMBRA_QUALITY__MIN_ARTIFACT_SCORE=3.5
|
|
|
|
# --- Audio ---
|
|
UMBRA_AUDIO__TARGET_RMS_DB=-20.0
|
|
UMBRA_AUDIO__PEAK_LIMIT_DB=-3.0
|
|
UMBRA_AUDIO__NOISE_FLOOR_DB=-60.0
|
|
UMBRA_AUDIO__SILENCE_BETWEEN_UTTERANCES_MS=500
|
|
UMBRA_AUDIO__SILENCE_BETWEEN_PARAGRAPHS_MS=2000
|
|
UMBRA_AUDIO__SILENCE_BETWEEN_CHAPTERS_MS=4000
|