Architecture of debpalash/voicestudio
debpalash/voicestudio is 4,347 source files holding 36,385 symbols across 13 modules, written mainly in Python, TypeScript, JavaScript. The largest module is electron, with 1,936 files, and 37 files are entry points into the dependency graph.
How voicestudio fits together
Requests arrive over HTTP and WebSocket at the backend directory, which turns them into transcripts, speech and stored project data. Each text-to-speech and speech-recognition engine runs in its own process under backend/engines, so the main application sends text or audio in and gets synthesized audio or a transcript back. backend/core provides shared services that decide where data and settings live, keep secrets out of diagnostic reports and turn failures into messages a user can act on. The electron directory is the desktop shell, which sends requests to the local backend and stays usable when the backend is slow or unreachable. The omnivoice directory turns written text into speech, can copy the voice of a short reference clip, and holds the command-line tools and web demo. The scripts directory contains the command-line tools that maintainers run around releases, store listings and local setup.
Largest modules
- electron: 1,936 files and 252,416 lines of code
- tests: 846 files and 120,199 lines of code
- backend: 414 files and 107,109 lines of code
- mobile: 384 files and 51,784 lines of code
- scripts: 77 files and 9,152 lines of code
- omnivoice: 48 files and 12,031 lines of code
- native: 10 files and 3,830 lines of code
- .github: 7 files and 999 lines of code
Languages
By file count: Python 1,359 files, TypeScript 1,155 files, JavaScript 822 files, Kotlin 165 files, Swift 145 files, C++ 30 files.
Documentation
Repowise documents voicestudio in 4,003 pages generated from the source, 40 of them written explanations of the repository and its modules. Module guides include:
- electron/src/shared/utils/aec: AEC audio utilities
- electron/src/renderer/src/components/app-shell: Application Shell Chrome
- electron/src/renderer/src/lib/api: Audio Quality and Playback
More on voicestudio: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos