You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run KWS: python3 mic_streaming.py -i aec -m ../g-kws/my_quant.tflite (tflite-kws)
NS script segmentation fault
After this any re-run of 1 will directly result in segmentation fault. If I set loopback_out device to dmix with a different period_size 1 can run normally again.
If replace step 2 with arecord -D aec then no problem.
There are a number of strange crashes that are likely to be caused by PortAudio (see 2c59e8a), so maybe drop PortAudio (sounddevice) and use ALSA API directly. I've played with pyalsaaudio before and it's not hard to use.
The text was updated successfully, but these errors were encountered:
Hardware:
Respeaker 2mic Pi Hat, with settings:
Steps to reproduce:
python3 ns.py -o aec_internal
(PiDTLN)python3 mic_streaming.py -i aec -m ../g-kws/my_quant.tflite
(tflite-kws)After this any re-run of 1 will directly result in segmentation fault. If I set
loopback_out
device to dmix with a different period_size 1 can run normally again.If replace step 2 with
arecord -D aec
then no problem.There are a number of strange crashes that are likely to be caused by PortAudio (see 2c59e8a), so maybe drop PortAudio (sounddevice) and use ALSA API directly. I've played with pyalsaaudio before and it's not hard to use.
The text was updated successfully, but these errors were encountered: