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

Usage

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

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

Pyodide-runnable

No - uses the pydub package and reads/converts audio files from disk via sys.argv, which is not available in a browser sandbox.