Answers for "how to convert wav to mp3 python"

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

Code answers related to "how to convert wav to mp3 python"

Python Answers by Framework

Browse Popular Code Answers by Language