# somore100/audiovane architecture

> Architecture diagram of the GitHub repository somore100/audiovane, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-26). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/somore100/audiovane
- Repository: https://github.com/somore100/audiovane

## Overview

Audiovane is a local-first desktop voice studio. A user works through its interface to generate speech, recognize speech or create subtitles, translate text, or change a live voice; model setup supports the local engines behind those workflows. The app also exposes a local HTTP API and an MCP bridge for external clients. The README documents product capabilities beyond the sampled code; edges to those capabilities are included only where the README or source index supports the relationship.

Main entry points: [`main.py`](https://github.com/somore100/audiovane/blob/main/main.py) (Studio interface), [`engines/registry.py`](https://github.com/somore100/audiovane/blob/main/engines/registry.py) (Engine registry), [`engines/coqui_vctk.py`](https://github.com/somore100/audiovane/blob/main/engines/coqui_vctk.py) (VCTK engine), [`engines/coqui_xtts.py`](https://github.com/somore100/audiovane/blob/main/engines/coqui_xtts.py) (XTTS engine)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Desktop app"]
  node_main["Studio interface<br/>[main.py]"]
  node_setup["Model setup<br/>[main.py]"]
  node_feedback["Feedback<br/>[feedback.py]"]
  node_log["App logging<br/>[applog.py]"]
  node_autostart["Login and background<br/>[autostart.py]"]
end

subgraph group_speech["Speech engines"]
  node_registry["Engine registry<br/>[registry.py]"]
  node_enginebase["Engine interface<br/>[base.py]"]
  node_vctk["VCTK engine<br/>[coqui_vctk.py]"]
  node_xtts["XTTS engine<br/>[coqui_xtts.py]"]
  node_kokoro["Kokoro engine<br/>[kokoro.py]"]
  node_downloadprogress["Download progress"]
  node_modelpaths["Model paths<br/>[paths.py]"]
end

subgraph group_audio["Audio workflows"]
  node_voicefinder["Voice finder<br/>[voice_finder.py]"]
  node_audiofx["Audio effects<br/>[audio_fx.py]"]
  node_curve["Curve editor<br/>[curve_editor.py]"]
  node_recognition["Speech recognition<br/>[main.py]"]
  node_subtitles["Subtitle generation<br/>[subtitles.py]"]
  node_translation["Translation<br/>[main.py]"]
  node_voicechanger["Voice changer<br/>[main.py]"]
  node_livepitch["Live pitch<br/>[live_pitch.py]"]
end

subgraph group_interfaces["Local interfaces"]
  node_api["Local HTTP API<br/>[api_server.py]"]
  node_headless["Headless runtime<br/>[headless.py]"]
  node_mcp["MCP bridge<br/>[mcp_server.py]"]
end

node_user(("Desktop user"))
node_external(("Local API clients"))
node_mcpclients(("MCP clients"))
node_modelstore[("Local model files")]
node_google["Google Translate"]

node_user -->|"uses"| node_main
node_main -->|"manages models"| node_setup
node_main -->|"loads engines"| node_registry
node_registry -->|"registers"| node_vctk
node_registry -->|"registers"| node_xtts
node_registry -->|"registers"| node_kokoro
node_registry -->|"uses interface"| node_enginebase
node_vctk -->|"builds spec"| node_enginebase
node_xtts -->|"builds spec"| node_enginebase
node_kokoro -->|"builds spec"| node_enginebase
node_vctk -->|"uses hook"| node_downloadprogress
node_xtts -->|"uses hook"| node_downloadprogress
node_vctk -->|"checks cache"| node_modelpaths
node_xtts -->|"uses paths"| node_modelpaths
node_setup -->|"downloads models"| node_modelstore
node_main -->|"uses finder"| node_voicefinder
node_main -->|"applies effects"| node_audiofx
node_curve -->|"uses effects"| node_audiofx
node_main -->|"opens editor"| node_curve
node_main -->|"transcribes audio"| node_recognition
node_main -->|"generates captions"| node_subtitles
node_main -->|"translates text"| node_translation
node_translation -->|"requests translation"| node_google
node_main -->|"runs voice changer"| node_voicechanger
node_main -->|"uses pitch shifting"| node_livepitch
node_main -->|"starts API"| node_api
node_external -->|"sends requests"| node_api
node_headless -->|"starts runtime"| node_api
node_mcpclients -->|"calls tools"| node_mcp
node_mcp -->|"bridges requests"| node_api
node_main -->|"configures login"| node_autostart
node_main -->|"writes logs"| node_log
node_user -.->|"sends feedback"| node_feedback

click node_main "https://github.com/somore100/audiovane/blob/main/main.py"
click node_setup "https://github.com/somore100/audiovane/blob/main/main.py"
click node_feedback "https://github.com/somore100/audiovane/blob/main/feedback.py"
click node_log "https://github.com/somore100/audiovane/blob/main/applog.py"
click node_autostart "https://github.com/somore100/audiovane/blob/main/autostart.py"
click node_registry "https://github.com/somore100/audiovane/blob/main/engines/registry.py"
click node_enginebase "https://github.com/somore100/audiovane/blob/main/engines/base.py"
click node_vctk "https://github.com/somore100/audiovane/blob/main/engines/coqui_vctk.py"
click node_xtts "https://github.com/somore100/audiovane/blob/main/engines/coqui_xtts.py"
click node_kokoro "https://github.com/somore100/audiovane/blob/main/engines/kokoro.py"
click node_downloadprogress "https://github.com/somore100/audiovane/blob/main/engines/download_progress.py"
click node_modelpaths "https://github.com/somore100/audiovane/blob/main/engines/paths.py"
click node_voicefinder "https://github.com/somore100/audiovane/blob/main/voice_finder.py"
click node_audiofx "https://github.com/somore100/audiovane/blob/main/audio_fx.py"
click node_curve "https://github.com/somore100/audiovane/blob/main/curve_editor.py"
click node_recognition "https://github.com/somore100/audiovane/blob/main/main.py"
click node_subtitles "https://github.com/somore100/audiovane/blob/main/subtitles.py"
click node_translation "https://github.com/somore100/audiovane/blob/main/main.py"
click node_voicechanger "https://github.com/somore100/audiovane/blob/main/main.py"
click node_livepitch "https://github.com/somore100/audiovane/blob/main/live_pitch.py"
click node_api "https://github.com/somore100/audiovane/blob/main/api_server.py"
click node_headless "https://github.com/somore100/audiovane/blob/main/headless.py"
click node_mcp "https://github.com/somore100/audiovane/blob/main/mcp_server.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_setup,node_feedback,node_log,node_autostart,node_user,node_external,node_mcpclients toneBlue
class node_registry,node_enginebase,node_vctk,node_xtts,node_kokoro,node_downloadprogress,node_modelpaths,node_modelstore toneAmber
class node_voicefinder,node_audiofx,node_curve,node_recognition,node_subtitles,node_translation,node_voicechanger,node_livepitch toneMint
class node_api,node_headless,node_mcp toneRose
class node_google toneIndigo
```

## Components

### Desktop app

- [Studio interface](https://github.com/somore100/audiovane/blob/main/main.py): `main.py`
- [Model setup](https://github.com/somore100/audiovane/blob/main/main.py): `main.py`
- [Feedback](https://github.com/somore100/audiovane/blob/main/feedback.py): `feedback.py`
- [App logging](https://github.com/somore100/audiovane/blob/main/applog.py): `applog.py`
- [Login and background](https://github.com/somore100/audiovane/blob/main/autostart.py): `autostart.py`

### Speech engines

- [Engine registry](https://github.com/somore100/audiovane/blob/main/engines/registry.py): `engines/registry.py`
- [Engine interface](https://github.com/somore100/audiovane/blob/main/engines/base.py): `engines/base.py`
- [VCTK engine](https://github.com/somore100/audiovane/blob/main/engines/coqui_vctk.py): `engines/coqui_vctk.py`
- [XTTS engine](https://github.com/somore100/audiovane/blob/main/engines/coqui_xtts.py): `engines/coqui_xtts.py`
- [Kokoro engine](https://github.com/somore100/audiovane/blob/main/engines/kokoro.py): `engines/kokoro.py`
- [Download progress](https://github.com/somore100/audiovane/blob/main/engines/download_progress.py): `engines/download_progress.py`
- [Model paths](https://github.com/somore100/audiovane/blob/main/engines/paths.py): `engines/paths.py`

### Audio workflows

- [Voice finder](https://github.com/somore100/audiovane/blob/main/voice_finder.py): `voice_finder.py`
- [Audio effects](https://github.com/somore100/audiovane/blob/main/audio_fx.py): `audio_fx.py`
- [Curve editor](https://github.com/somore100/audiovane/blob/main/curve_editor.py): `curve_editor.py`
- [Speech recognition](https://github.com/somore100/audiovane/blob/main/main.py): `main.py`
- [Subtitle generation](https://github.com/somore100/audiovane/blob/main/subtitles.py): `subtitles.py`
- [Translation](https://github.com/somore100/audiovane/blob/main/main.py): `main.py`
- [Voice changer](https://github.com/somore100/audiovane/blob/main/main.py): `main.py`
- [Live pitch](https://github.com/somore100/audiovane/blob/main/live_pitch.py): `live_pitch.py`

### Local interfaces

- [Local HTTP API](https://github.com/somore100/audiovane/blob/main/api_server.py): `api_server.py`
- [Headless runtime](https://github.com/somore100/audiovane/blob/main/headless.py): `headless.py`
- [MCP bridge](https://github.com/somore100/audiovane/blob/main/mcp_server.py): `mcp_server.py`

### Other components

- **Desktop user**
- **Local API clients**
- **MCP clients**
- **Local model files**
- **Google Translate**

## Connections

- Desktop user → Studio interface: uses (evidence: `README.md`)
- Studio interface → Model setup: manages models (evidence: `README.md`)
- Studio interface → Engine registry: loads engines (evidence: `main.py`)
- Engine registry → VCTK engine: registers (evidence: `engines/registry.py`)
- Engine registry → XTTS engine: registers (evidence: `engines/registry.py`)
- Engine registry → Kokoro engine: registers (evidence: `engines/registry.py`)
- Engine registry → Engine interface: uses interface (evidence: `engines/registry.py`)
- VCTK engine → Engine interface: builds spec (evidence: `engines/coqui_vctk.py`)
- XTTS engine → Engine interface: builds spec (evidence: `engines/coqui_xtts.py`)
- Kokoro engine → Engine interface: builds spec (evidence: `engines/kokoro.py`)
- VCTK engine → Download progress: uses hook (evidence: `engines/coqui_vctk.py`)
- XTTS engine → Download progress: uses hook (evidence: `engines/coqui_xtts.py`)
- VCTK engine → Model paths: checks cache (evidence: `engines/coqui_vctk.py`)
- XTTS engine → Model paths: uses paths (evidence: `engines/coqui_xtts.py`)
- Model setup → Local model files: downloads models (evidence: `README.md`)
- Studio interface → Voice finder: uses finder (evidence: `main.py`)
- Studio interface → Audio effects: applies effects (evidence: `main.py`)
- Curve editor → Audio effects: uses effects (evidence: `curve_editor.py`)
- Studio interface → Curve editor: opens editor (evidence: `main.py`)
- Studio interface → Speech recognition: transcribes audio (evidence: `README.md`)
- Studio interface → Subtitle generation: generates captions (evidence: `README.md`)
- Studio interface → Translation: translates text (evidence: `README.md`)
- Translation → Google Translate: requests translation (evidence: `README.md`)
- Studio interface → Voice changer: runs voice changer (evidence: `README.md`)
- Studio interface → Live pitch: uses pitch shifting (evidence: `main.py`)
- Studio interface → Local HTTP API: starts API (evidence: `README.md`)
- Local API clients → Local HTTP API: sends requests (evidence: `README.md`)
- Headless runtime → Local HTTP API: starts runtime (evidence: `headless.py`)
- MCP clients → MCP bridge: calls tools (evidence: `mcp_server.py`)
- MCP bridge → Local HTTP API: bridges requests (evidence: `mcp_server.py`)
- Studio interface → Login and background: configures login (evidence: `main.py`)
- Studio interface → App logging: writes logs (evidence: `main.py`)
- Desktop user → Feedback: sends feedback
