Closed bertybuttface closed 11 months ago
I think pyaudio supports windows too so could help with: https://github.com/synesthesiam/homeassistant-satellite/issues/23
How to Install PyAudio (on Mac):
xcode-select --install
brew remove portaudio
brew install portaudio
pip install pyaudio
If you are having trouble, use this command instead to specify your build locations for portaudio:
pip install --global-option='build_ext' --global-option="-I$(brew --prefix)/include" --global-option="-L$(brew --prefix)/lib" pyaudio
Ok using --debug-recording-dir
I can see hear the wav files are fine and using debug logging on the Home Assistant Open Wakeword Addon I can see the data is being received by the server.
Ok it was just my weird voice, wake word detection works fine for my partner so this is good to go from a recording point of view. I haven't tested playback yet.
Playback works but it seems there is quite a long delay.
This is ready to merge.
it is better to use miniaudio instead of pyaudio
it is better to use miniaudio instead of pyaudio
Why?
Closed in favour of #46 and #47
This will help with supporting mac.
I've tested that this runs but I have not been able to get wake word detection working. I think maybe it is sending garbage data to the server.
I'll try and pick it up next week but it is here if someone wants to play with it.
Use the
--pyaudio
flag