How to select a specific input device with PyAudio

后端 未结 5 1055
余生分开走
余生分开走 2020-12-06 17:01

When recording audio via PyAudio, how do you specify the exact input device to use?

My computer has two microphones, one built-in and one via USB, and I want to reco

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 17:21

    I don't know about PyAudio, but with the sounddevice module it goes like that:

    python3 -m sounddevice
    

提交回复
热议问题