How mkiol/dsnote works
Main Components Identification
The system should be divided into these major components:
a) User Interface Layer
• Desktop QML Interface (desktop/qml/)
• Sailfish OS Interface (sfos/qml/)
• System Tray Integration (src/tray_icon.*)
b) Core Services Layer
• Speech Service (src/speech_service.*)
• Application Server (src/app_server.*)
• DBus Integration (dbus/)
c) Engine Management Layer
• Models Manager (src/models_manager.*)
• Settings Manager (src/settings.*)
• Audio Device Manager (src/audio_device_manager.*)
d) Processing Engines
STT Engines:
• Coqui STT
• Vosk
• Whisper
• Faster Whisper
• April-ASR
TTS Engines:
• eSpeak
• MBROLA
• Piper
• RHVoice
• Coqui TTS
• Mimic3
• WhisperSpeech
Translation Engine:
• Bergamot Translator
e) Audio Processing Layer
• VAD (Voice Activity Detection)
• Denoising
• Audio Format Conversion
f) Storage Layer
• Model Storage
• Configuration Storage
• Cache Management
Relationships and Data Flow
a) User Interface → Core Services
• Command flow
• Status updates
• Configuration changes
b) Core Services → Engine Management
• Engine initialization
• Model loading/unloading
• Resource management
c) Engine Management → Processing Engines
• Task distribution
• Result collection
• Resource allocation
d) Audio Processing Layer interactions
• Input preprocessing
• Output post-processing
• Format conversions
Additional Elements
Supporting components:
a) System Integration
• DBus communication
• System tray integration
• File system access
b) External Dependencies
• GPU acceleration support
• Audio hardware integration
• System notifications
Important Notes
• Modular nature of the engine system
• Clear separation between offline and online components
• GPU acceleration paths
• Platform-specific components (Desktop vs Sailfish OS)
• Model download/update mechanisms