-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get aggregate device to work with sounddevice/rtmixer signal processing.py example #506
Comments
What exactly is going wrong? Are you getting error/warning messages? I don't have a lot of experience with aggregate devices, so I don't know if that will work, but why don't you add your output to the aggregate device as well? And if all else fails, you can try to use separate
This is interesting, but it is not under my control. Either the aggregate device creates one more channel than necessary or the PortAudio library does that. |
I am new to sound device and rtmixer, I have the following aggregate device (2 USB mic +Apple EarPods built-in mic) in MacOSX:
Available Input Devices:
{'name': 'Aggregate Device', 'index': 6, 'hostapi': 0, 'max_input_channels': 4, 'max_output_channels': 0, ....,default_samplerate': 48000.0}
Available Output Devices:
{'name': 'Built-in Output', 'index': 1, 'hostapi': 0, 'max_input_channels': 0, 'max_output_channels': 2, ..., 'default_samplerate': 48000.0}
I can get the live plot mic.py to work (despite the fact that the built-in microphone really have one channel instead of two) but not the signal processing example to work. My declaration for the class is as follow:
stream = rtmixer.MixerAndRecorder(
device=[6,1], channels=[4,2], blocksize=0, latency=latency,
samplerate=samplerate)
I am wondering if my mistakes is on the queue or the stream class is not declared properly or the device/channels not declared correctly ? Thank you for any input and help!
The text was updated successfully, but these errors were encountered: