I record the sound by pyaudio like this
pyaudio
p = pyaudio.PyAudio() hostAPICount = p.get_host_api_count() print("Host API Count = " + str(ho