rhasspy
rhasspy copied to clipboard
Feature Request: Jack Audio Support
It would be awesome if Snips could directly talk to Jack Audio. I use jack audio in some distributed systems, especially with multiple instances of spotify and rhasspy it comes pretty handy
Is there a Python library or something for this? We could create another microphone service for it.
I think the best way would be to write a Jack <-> MQTT Bridge and set Rhasspy to MQTT Audio. If we do it like this, jack and rhasspy can run on different hardware without implementing an jack network client into rhasspy.
I found jack-client and py-jack: https://pypi.org/project/JACK-Client/ https://pypi.org/project/py-jack/
For anyone who is interested in jack or especially why i use it in combination with rhasspy: It is very easy to create multiple instances of rhasspy and AEC (Acoustic Echo Cancellers). Jack even supports network, which makes this very flexible for big smart home installations. At the moment i am using jack's alsa_in and alsa_out plugins to connect it to rhasspy.
a quick note: jack uses 32bit float by default. although 16bit int can be enforced.
Hi @benedikt-bartscher is this feature confirmed to be implemented? It seems to be added in 2.5.8