Mp3-2-Wav

Sat 17 May 2025

title: "mp3 2 wav" author: "Rj" date: 2019-04-21 description: "-" type: technical_note draft: false


import speech_recognition as sr
from os import path
from pydub import AudioSegment
# convert mp3 file to wav                                                       
sound = AudioSegment.from_mp3("/tmp/two.mp3")
sound.export("/tmp/two.wav", format="wav")

print('Done')
Done


Score: 0

Category: textprocessing