respeaker / respeaker_python_library

To build voice enabled objects/applications with Python and ReSpeaker
Apache License 2.0
149 stars 74 forks source link

Input device detection in microphone.py #52

Open padmalcom opened 3 years ago

padmalcom commented 3 years ago

Hi, in the init method you traverse all input devices until a device with "respeaker" in its name is found. The name of my 4 mic-array is "seed4micvoicec" and is thus not recognized as correct device. Can you either add a parameter to specify an input device id when creating a Microphone or make the text ("respeaker") parameterizable? Thanks!