Python audio

https://pypi.python.org/pypi/audio/1.5.0
https://people.csail.mit.edu/hubert/pyaudio/docs
http://stackoverflow.com/questions/892199/detect-record-audio-in-python

http://bastibe.de/2012-11-02-real-time-signal-processing-in-python.html

Install pyaudio on OSX

Installing python things in general and pyaudio in particular on OSX seems to be a matter of choosing one install mechanism and sticking to it. Here is a way to install pyaudio based on Homebrew. Of course this assumes that you already have Homebrew installed. See instructions on the website.

Depending on what is already installed on your system, some of these steps may be skipped.


$ brew update
$ brew doctor
$ brew upgrade python
$ brew upgrade portaudio
$ brew uninstall python
$ brew install python
$ brew linkapps python

$ brew link --overwrite port audio

$ pip install pyaudio

Example

basic_sine.py

Assignments