python-sounddevice icon indicating copy to clipboard operation
python-sounddevice copied to clipboard

sounddevice.play() with input devices

Open githubUser673 opened this issue 5 years ago • 5 comments

Whenever I tried and use sounddevice.play() with an input device I get an Error opening OutputStream: Invalid number of channels error (which I think is caused by there being no output channels on the input device, as I tried with an output device and it worked fine). Is there any way to make sounddevice.play() work with input devices too?

githubUser673 avatar Aug 11 '20 20:08 githubUser673

How would you expect that to work?

Do you expect sound coming out of your microphone?

mgeier avatar Aug 14 '20 15:08 mgeier

Well yes, that is what I was hoping could be done.

githubUser673 avatar Aug 16 '20 02:08 githubUser673

What kind of microphone are you talking about?

mgeier avatar Aug 18 '20 11:08 mgeier

It's a virtual audio cable

githubUser673 avatar Aug 19 '20 17:08 githubUser673

And how would that be supposed to work?

Can you please describe in detail what you are trying to achieve?

mgeier avatar Aug 23 '20 16:08 mgeier