0
我的代码是:sounddevice.PortAudioError:错误打开的OutputStream:渠道数量无效
import scipy.io as sio
import sounddevice as sd
xx= sio.loadmat('C:\\Users\\dell\\Desktop\\Rabia Ahmad spring 2016\\FYP\\1. Matlab Work\\record work\\aa.mat')['aa']
sd.play(xx,64000)
我得到了错误sounddevice.PortAudioError:错误打开的OutputStream:无效的通道数
什么是'xx.shape'? –
@WarrenWeckesser其(1,4999) –