I have an WAV audio file with 3 channels: 2 for the sound (stereo) and 1 with short pulses to help record and synchronize with an external device (for a scientific experiment, not important).
The thing is: I have a sound card with 4 audio inputs and outputs, but when I try to play the file there is an error about the number of channels:
sounddevice.PortAudioError: Error opening OutputStream: Invalid number of channels [PaErrorCode -9998]
This occurs both with SoundDevice and Pyamge.play, and also when i added a 4th blank channel.
photo of the list of devices connected the computer
Thanks!