python-sounddevice
python-sounddevice copied to clipboard
how to playback audios with 4 loudspeakers by useing “sounddevic.play()”?
good day,my bro! i just want to playback some audios and meet some probles,to be specific,could you tell us the usage of sounddevic.play(,,mapping=), especially the "mapping=". thanks a lot!
According to the documentation the function takes a list of integers starting from 1. Something like mapping=[1, 2, 3, 4]
could play a mono-file to the first four output channels of your device. If not mono, the audio file would also have to have four channels.
Otherwise it is difficult to help without a minimum working code example.