How gary542/voicestudio works
VoiceStudio is a local-first AI voice studio for cloning and designing voices, dubbing, dictation/transcription, and narration. The principal workflow is a user working in the desktop workspace, sending requests to the local backend, which routes speech tasks through model/runtime services and returns generated or processed media. Separate branches cover model setup and management, dubbing, and persistence. The README establishes product capabilities; source-index references and excerpts support only selected internal links, so other plausible connections are omitted rather than assumed.
Main entry points: model_manager.py Model manager · main.py Backend application · dub_core.py Dubbing API · dub_pipeline.py Dubbing pipeline
Components 21
Desktop experience
- Studio workspace
electron/src/renderer/src/app.tsx - API client
electron/src/shared/api/client.ts
Backend API
- Backend application
backend/main.py - Engine API
backend/api/routers/engines.py - Dubbing API
backend/api/routers/dub_core.py - Model setup API
backend/api/routers/setup/models.py
Speech workflows
- Dubbing pipeline
backend/services/dub_pipeline.py - Speech synthesis
backend/services/tts_backend.py - Speech recognition
backend/services/asr_backend.py - Narration and batch
backend/services/audiobook.py - Dictation
backend/services/sherpa_dictation.py - Translation
backend/services/translator.py - Media processing
backend/services/ffmpeg_utils.py
Model runtime
- Model manager
backend/services/model_manager.py - Engine routing
backend/services/engine_routing.py - Device capabilities
backend/core/device_caps.py - OmniVoice engine
backend/engines/omnivoice_subprocess/main.py
State and setup
- Model catalogue
backend/api/routers/setup/models.py - Application database
backend/core/db.py - User preferences
backend/core/prefs.py
Other components
- Studio user
Connections 22
- Studio user → Studio workspace: uses
README.md - Studio workspace → API client: requests
- API client → Backend application: calls API
- Backend application → Engine API: routes requests
- Backend application → Dubbing API: routes requests
backend/main.py - Backend application → Model setup API: routes requests
- Dubbing API → Dubbing pipeline: delegates
backend/services/dub_pipeline.py - Dubbing API → Speech recognition: uses
backend/api/routers/dub_core.py - Dubbing pipeline → Media processing: uses
backend/services/dub_pipeline.py - Dubbing pipeline → Application database: accesses
backend/services/dub_pipeline.py - Engine API → Model manager: uses
backend/api/routers/engines.py - Model setup API → Model catalogue: provides
backend/api/routers/setup/models.py - Model manager → Engine routing: routes engines
backend/services/model_manager.py - Model manager → Device capabilities: checks hardware
backend/services/model_manager.py - Model manager → OmniVoice engine: loads runtime
backend/services/model_manager.py - Model manager → Speech synthesis: supports synthesis
backend/services/model_manager.py - Speech synthesis → Studio user: returns speech
- Speech recognition → Studio user: returns transcript
- Studio user → Narration and batch: creates narration
README.md - Studio user → Dictation: dictates
README.md - Studio user → Translation: translates speech
README.md - User preferences → Engine API: configures choices
backend/api/routers/engines.py