SoundCard
SoundCard copied to clipboard
Interface appearing with only 2 channels
Hello, Thanks a lot for the package. I'm trying to use it with a Lynx Aurora (n) interface, 24 channels, Thunderbolt connection ; I'm getting 2 channels only for input and output. I'm on OS X (10.14), the system sees the interface fine. Any ideas where that can come from?
_test1 = soundcard.all_microphones()
_test1 = {list} <class 'list'>: [<Microphone Built-in Microphone (2 channels)>, <Microphone 1: Aurora(n) (2 channels)>, <Microphone MJRecorder Device (2 channels)>]
- 0 = {_Microphone} <Microphone Built-in Microphone (2 channels)>
- 1 = {_Microphone} <Microphone 1: Aurora(n) (2 channels)> -- _id = {int} 64 -- channels = {int} 2 -- id = {int} 64 -- isloopback = {bool} False -- name = {str} '1: Aurora(n)'
- 2 = {_Microphone} <Microphone MJRecorder Device (2 channels)>
Thanks, Armand
PS: no such issue with other interfaces (Expert Sleepers ES-8)
SoundCard simply asks Core Audio for the available sound cards. There should be no difference between what SoundCard sees, and what any other app sees. Do you see the same behavior in other macOS apps?
Hm. Not in Ableton Live or native MIDI Setup tool, I have always seen the 24 channels alright. VLC, when I choose the card as output, has this error message that goes like "mapping not configured, defaulting to 2 channels", but that might not be relevant. If you have something to test, I can do it when I'm home this evening. Thanks!
Interesting. So this is indeed a bug in my code (if the MIDI setup tool sees all channels, SoundCard should, too). However, as much as I would like to fix it, I am doubtful whether that's possible without access to a sound card that shows this behavior.
I'll see if I can find such a sound card in the office, and report back.
Thank you Bastian, really appreciate it. In case you don't, I'd be fine setting you up a session to log in remotely, if that's an option.
Apart from that the package is working great. I'm using it to automate deep learning dataset creation on electronics.
Wow, that's really cool to hear! Thank you!