docs+ux(voice_loop): klarer Hinweis auf ALSA-Direktgeraet bei Aufnahme-Fehler
Auf PipeWire-Systemen kann der pw-record/ALSA-default-Pfad scheitern
("pw_context_connect() failed"). Direkter Zugriff via arecord -D plughw:KARTE,0
funktioniert. voice_loop gibt bei leerer Aufnahme jetzt diesen konkreten Tipp aus;
Bedienungsanleitung entsprechend ergaenzt (Recorder-Hinweis + Troubleshooting).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
d15e51eb0d
commit
98706ef3ec
2 changed files with 14 additions and 5 deletions
|
|
@ -184,7 +184,11 @@ async def run(args) -> None:
|
|||
print("\nEnde.")
|
||||
return
|
||||
if len(wav) < 1000:
|
||||
print(" (zu kurz/leer – nochmal)")
|
||||
print(" ⚠ Keine/zu kurze Aufnahme. Moegliche Ursache: Aufnahmewerkzeug"
|
||||
" oder Geraet nicht nutzbar.")
|
||||
print(" Verfuegbare Mikrofone: arecord -l")
|
||||
print(" Direktes ALSA-Geraet verwenden, z. B.:")
|
||||
print(" python scripts/voice_loop.py --recorder arecord --device plughw:2,0")
|
||||
continue
|
||||
await one_turn(ws, wav, start_frame)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue