PyAudio does not work and breaks sound on ubuntu

谁说我不能喝 提交于 2019-11-29 06:58:06

You need the JACK daemon to which it's trying to connect:

jack server is not running or cannot be started

It should come with most of the major Linux distributions if it isn't installed already. You should probably take a look on their page and decide which audio architecture you need (probably ALSA) and at what rate you want it to run. I can also recommend running a GUI interface such as QJackCtl on top of it, since JACK sometimes needs some configuring depending on your sound card.

You need to configure alsa properly, make sure that arecord works and default device properly records sound. If fixed it should start to work.

It is better to recompile PyAudio(Portaudio) without Jack and Alsa with Pulseaudio support.

Pulseaudio is a default sound framework in Ubuntu and should work without issues.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!