python-sounddevice icon indicating copy to clipboard operation
python-sounddevice copied to clipboard

how to playback audios with 4 loudspeakers by useing “sounddevic.play()”?

Open SoulProficiency opened this issue 2 years ago • 1 comments

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!

SoulProficiency avatar Oct 19 '22 11:10 SoulProficiency

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.

HaHeho avatar Oct 20 '22 01:10 HaHeho