When I was looking around and trying to get Pure Data (Pd) or more specifically Pd-extended running on the Raspberry Pi, I stumbled across this very informing post in liminas log. Unfortunately the instructions over there are based on Debian Squeeze, which is the distribution that ran first on the Pi. Most recently Debian Wheezy was brought to the Raspberry Pi with a major change …it is now compiled for the armhf instruction set (hardware floating point operations) in order to make it a bit more suitable for the platform. It is shipped as Raspbian.
The problem now is, that the build-version of pd extended in the limina post and the repositories listed will cause problems for the armhf OS versions. That`s the reason I am trying to give a short tutorial on what is needed to get Pd-extended running on Raspbian Wheezy (if you don’t want to compile it on your own).
The first step can be taken out of lininas tutorial where you edit your sources.list by doing:
sudo nano /etc/apt/sources.list
For me the file looked like
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi deb http://backports.debian.org/debian-backports squeeze-backports mai deb-src http://ftp.uk.debian.org/debian/ squeeze main deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free rpi
Afterwards you shouldn`t miss the usual:
sudo apt-get update
Now we are ready to install Pd-extended. As I already mentioned we are aiming to install a build and not trying to compile it on our own. Jose Martin over @ Arduino Synth has already done the compiling work. Unfortunately it seems that his builds are not downloadable via wget. For that reason I took the Pd-extended 0.43.1 build and mirrored it in a dropbox. So in the next step you will do:
The installation can now start with :
sudo dpkg -i Pd-0.43.1-extended-20120723.deb
Maybe the installation will pass with some errors in getting all dependencies. For that reason you might run a:
sudo apt-get -f install
afterwards. Now you are only one step away from actually using Pd. It should start already, but if do the “test audio and midi…” it will might sound a bit horrible. For that purpose its recommended (e.g. by Epic Jefferson):
sudo chmod 4755 /usr/bin/pd-extended
in order give pd-extended more priority.
Voila, that`s it. Pd-extended is up and running with reasonable sound quality.