Welcome to pysox’s documentation!

pysox is a Python wrapper around the amazing SoX command line tool.

Installation

On Linux

# optional - if you want support for mp3, flac and ogg files
$ apt-get install libsox-fmt-all
# install the sox command line tool
$ apt-get install sox
# install pysox
$ pip install sox

On Mac with Homebrew

# optional - if you want support for mp3, flac and ogg files
$ brew install sox --with-lame --with-flac --with-libvorbis
# install the sox command line tool
$ brew install sox
# install pysox
$ pip install sox

Indices and tables

pysox vs sox

The original command line tool is called SoX

This project (the github repository) is called pysox

The library within python is called sox. It can be installed via:

$ pip install sox

and imported within Python as

import sox