In Infer live, a switch has to be added to allow user to select a device
Opened this issue · 0 comments
AnkushMalaker commented
This is pretty straightforward
Check below pseudocode.
p = pyaudio.PyAudio()
p.get_device_count()
device_info = {}
loop through device count
p.get_device_info(dev_count)
print(device info with index)
ask user for which device index to use
pass that index into read_audio