📜  将mp3转换为wav python代码示例

📅  最后修改于: 2022-03-11 14:45:45.535000             🧑  作者: Mango

代码示例1
from os import path
from pydub import AudioSegment

# files
src = input("In: ")
dst = input("Out: ")

# convert mp3 to wav
sound = AudioSegment.from_mp3(src)
sound.export(dst, format="wav")