pyBegin / projects / audio-converter
🔊

audioconverter

Convert audio files with pydub.

27 lines🖥 Desktop only

audioconverter

Convert audio files with pydub.

Installation

Use the package manager pip to install pydub.

pip install pydub

Example

$ python audioconverter.py song.mp3 wav
Converting from mp3 to wav
File saved to /home/user/music/song.wav

Usage

python audioconverter.py <path to audio file> <format>

Run ffmpeg -formats to view supported formats, since Pydub uses ffmpeg.