Python PCM轉WAV

下面給出一個16K單通道的pcm轉wav的樣例python import wave pcm_path = r'1537176475276.pcm' with open(pcm_path, 'rb') as pcmfile: pcmdata = pcmfile.read() with wave.open(pcm_path + '.wav', 'wb') as wavfile: wa
相關文章
相關標籤/搜索