Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio.wav problems #21

Open
000Alex00 opened this issue Jan 17, 2025 · 1 comment
Open

audio.wav problems #21

000Alex00 opened this issue Jan 17, 2025 · 1 comment

Comments

@000Alex00
Copy link

Hi iam testing a little bit and try to bring you to work.
There is a error about creating audio.wav.

Console output:
-----Awaiting wake word...
Traceback (most recent call last):
File "/home/ki/KI_Testumgebung/pi-card/main.py", line 185, in
wake_word_listener.listen_for_wake_word()
File "/home/ki/KI_Testumgebung/pi-card/main.py", line 74, in listen_for_wake_word
with open(f"{self.sounds_path}audio.wav", "wb") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/nkasmanoff/Desktop/pi-card/sounds/audio.wav'

Maybe you have an idea whats wrong, as i understand the audio.wav will created automatic, is that a permission issue?
Sorry for my bad english.
Best regards Alex

@000Alex00
Copy link
Author

Aaah,
i have forget change the path in the config.
config = {
"SOUNDS_PATH": "/XXXXXX/pi-card/sounds/",....

No iam fighting with the Sound "asound.conf" iam using a usb mikro % bluetooth audio out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant