Projektkonfiguration und wichtige Referenzinformationen.
Niemals Passwörter, API-Keys oder sensible Credentials hier speichern!
Dieses Dokument wird in Git committed. Secrets gehören in .env oder Secret-Manager.
Name: Trixy Voice Assistant Sprache: Python 3.10+ ML Framework: PyTorch Version: 1.0.0 Protokollversion: 1.0
| Modus | Befehl | Beschreibung |
|---|---|---|
| Server | python3 main.py server |
Zentrale Steuerung |
| Client | python3 main.py client --host <ip> --port 2101 --room <raum> --alias <name> |
Satellite |
| Standalone | python3 main.py standalone |
All-in-One |
| Train | python3 main.py train [wakeword\|voice-recognition\|all] |
ML-Training |
Debug-Modus: --debug Flag für stdout-Ausgabe statt TUI
| Port | Verwendung | Format |
|---|---|---|
| 2101 | Command Socket | AES-256-GCM verschlüsselt |
| 2102 | Audio Input | 16KHz mono PCM |
| 2103 | Audio Output | 16KHz mono PCM |
| 2104 | Music Stream | 48KHz stereo PCM |
Standard Audio:
Music Audio:
ML Features:
| Pfad | Inhalt |
|---|---|
config/ |
JSON-Konfigurationsdateien |
plugins/ |
Plugin-Verzeichnisse |
models/wakeword/ |
Wakeword-Modelle |
models/voice_recognition/ |
Sprechererkennungsmodelle |
assets/{profile}/ |
Audio-Dateien (default als Fallback) |
satellites/ |
Registrierte Satellites (JSON) |
certs/ |
SSL/Encryption Keys |
logs/ |
Anwendungslogs |
trainer/data/ |
ML-Trainingsdaten |
| Datei | Modus |
|---|---|
config/server_config.json |
Server |
config/client_config.json |
Client |
config/standalone_config.json |
Standalone |
config/trainer_config.json |
Trainer |
| Modell | Beschreibung |
|---|---|
custom |
Benutzerdefiniertes Wakeword |
system_command |
System-Befehle |
Modell-Dateien:
model.pth - PyTorch (passwortgeschützt)model.onnx - ONNX Exportmodel.pt - TorchScriptmetafile.json - Metadaten| Parameter | Wert | Beschreibung |
|---|---|---|
| Wakeword Threshold | 0.5 | Erkennungsschwelle |
| Arbitration Timeout | 1.0s | Multi-Satellite Arbitrierung |
| Max Silence | 3.0s | Stille beendet Aufnahme |
| Max Duration | 60.0s | Maximale Aufnahmedauer |
| Reconnect Interval | 5.0s | Client-Wiederverbindung |
| Registration Timeout | 60s | Satellite-Registrierungsfenster |
Tests ausführen:
python -m pytest tests/ -v
Alle Tests: 244 Tests in 8 Testdateien
Dependencies:
| Pfad | Inhalt |
|---|---|
CLAUDE.md |
Projektübersicht für AI-Assistenten |
.claude/project-knowledge/ |
Detaillierte Projekt-Wissensbasis |
docs/project_notes/ |
Bug-Log, Entscheidungen, Key Facts |