Answers for "ffmpeg-python mp3 to wav"

1

convert mp3 to wav python

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")
Posted by: Guest on March-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language