然后,当我尝试从plug切换到dmix时,会出现以下错误:Playing WAVE 'good.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, MonoPlaying WAVE 'good.wav' : Signed 16 bit Little En
当我将数据保存为.pcm文件,并将其传输到.wav时,当我只是添加一个wav头信息并将其保存为.wav时,它工作well.But,它听起来很嘈杂,我的代码有什么问题?pcm代码: wav = wav.astype(np.float32) with open('test.pcm', 'wb') as f:
\nEnter 1 to convert raw PCM to WAV \nEnter 2 to convert WAV to raw PCM \nChoice : ");Enter 2 to convert raw PCM to WAVYou specified an incorrectinput
Enter 1 to