Wrong number of inputs reported
See original GitHub issueAfter running a few times in to sounddevice.PortAudioError: Error opening InputStream: Invalid number of channels [PaErrorCode -9998]
I noticed sounddevice reports the wrong number of inputs in some cases. It should be 4 in 4 out for the Behringer, as PyAudio reports.
sounddevice: 1246720 PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4
pyaudio : 1246720 PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4
Sounddevice devices:
0 Microsoft Sound Mapper - Input, MME (2 in, 0 out)
> 1 Line (2- BEHRINGER UMC404HD 192, MME (2 in, 0 out)
2 Microsoft Sound Mapper - Output, MME (0 in, 2 out)
< 3 Speakers (2- BEHRINGER UMC404HD, MME (0 in, 2 out)
4 Digitale audio (S/PDIF) (High D, MME (0 in, 2 out)
5 Primary Sound Capture Driver, Windows DirectSound (2 in, 0 out)
6 Line (2- BEHRINGER UMC404HD 192k), Windows DirectSound (2 in, 0 out)
7 Primary Sound Driver, Windows DirectSound (0 in, 2 out)
8 Speakers (2- BEHRINGER UMC404HD 192k), Windows DirectSound (0 in, 2 out)
9 Digitale audio (S/PDIF) (High Definition Audio Device), Windows DirectSound (0 in, 2 out)
10 UMC ASIO Driver, ASIO (4 in, 4 out)
11 Speakers (2- BEHRINGER UMC404HD 192k), Windows WASAPI (0 in, 2 out)
12 Digitale audio (S/PDIF) (High Definition Audio Device), Windows WASAPI (0 in, 2 out)
13 Line (2- BEHRINGER UMC404HD 192k), Windows WASAPI (4 in, 0 out)
14 Speakers (UMC404HD 192k Output), Windows WDM-KS (0 in, 4 out)
15 Line (UMC404HD 192k Input), Windows WDM-KS (4 in, 0 out)
16 SPDIF Out (HD Audio SPDIF out), Windows WDM-KS (0 in, 2 out)
PyAudio:
0 Microsoft Sound Mapper - Input 2 in, 0 out
1 Line (2- BEHRINGER UMC404HD 192 4 in, 0 out
2 Microsoft Sound Mapper - Output 0 in, 2 out
3 Speakers (2- BEHRINGER UMC404HD 0 in, 4 out
4 Digitale audio (S/PDIF) (High D 0 in, 2 out
5 Primary Sound Capture Driver 2 in, 0 out
6 Line (2- BEHRINGER UMC404HD 192k) 4 in, 0 out
7 Primary Sound Driver 0 in, 2 out
8 Speakers (2- BEHRINGER UMC404HD 192k) 0 in, 4 out
9 Digitale audio (S/PDIF) (High Definition Audio Device) 0 in, 2 out
10 UMC ASIO Driver 4 in, 4 out
11 Speakers (2- BEHRINGER UMC404HD 192k) 0 in, 2 out
12 Digitale audio (S/PDIF) (High Definition Audio Device) 0 in, 2 out
13 Line (2- BEHRINGER UMC404HD 192k) 4 in, 0 out
14 Speakers (UMC404HD 192k Output) 0 in, 4 out
15 Line (UMC404HD 192k Input) 4 in, 0 out
16 SPDIF Out (HD Audio SPDIF out) 0 in, 2 out
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Interp1 command, wrong number of input arguments
So this is part of my code and I keep getting the error, ''Wrong number of input. arguments.'' for the command interp1, not...
Read more >Wrong number of input fields - Power Platform Community
I have a flow witch call a store procedure with 3 parameters and the flow is asking for 3 inout fields. However when...
Read more >"wrong number of arguments (1 for 0)" error loading file input ...
It seems like any paperclip version greater than 4.0 doesn't play well with formtastic. I experienced this problem with I tried updating the...
Read more >PLS-00306: wrong number or types of arguments tips
Action: Check the spelling and declaration of the subprogram name. Also confirm that its call is correct, its parameters are of the right...
Read more >AVAudioEngine input node reporting… - Apple Developer
AVAudioEngine input node reporting wrong number of channels when used with ... When I create an aggregate device with 2 hardware inputs and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@davircarvalho I used the binaries from https://www.lfd.uci.edu/~gohlke/pythonlibs/ Search the page for Sounddevice.
Hello,
I’m having the same problem, @Moaneschien could you please clarify how did you solve this issue?
thanks!