The audio package exists to simplify the installation of the following packages:
The easy way to install it is to use the [pip] package manager:
$ sudo pip install –upgrade audio
Use the same command to update all packages to their latest stable release.
Follow the instructions below if pip is not available on your system.
Most of the dependencies of these packages are automatically managed, but some dependencies still need to be manually installed beforehand:
The `pip` package installer. [Installation instructions](https://pip.pypa.io/en/latest/installing.html) for all platforms.
$ sudo apt-get install python-pip
[NumPy] – Numerical Python. Unless you know what you are doing, use existing binary packages.
$ sudo apt-get install python-numpy
[PyAudio] – Python bindings for PortAudio. Refer to [PyAudio] for general installation instructions.
$ sudo apt-get install python-pyaudio
[NLTK] and [TIMIT] – Natural Language Toolkit & Acoustic-Phonetic Speech Corpus
Detailled NLTK installation instructions are available [here][NLTK-install]. TIMIT is an extra corpus that be installed separately, see [here][NLTK-install-data].
On Ubuntu, install NLTK with:
$ sudo apt-get install python-nltk
and then the TIMIT corpus with:
$ python -c “import nltk; nltk.download(‘timit’)”
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.