I started this work, because I want to create a Web Interface for Chuck, that Running on my RaspberryPi, so from my computer connected to the same network of the Raspberry I can control Chuck Machine, playing Music on-the-fly
tar -xjf alsa-lib-1.0.25.tar.bz2
cd alsa-lib-1.0.25
sudo ./configure
sudo make
sudo make install
tar -xvf libsndfile-1.0.25.tar.gz
sudo ./configure
sudo make
sudo make install
sudo apt-get install bison
sudo apt-get install flex
tar xvzf chuck-1.3.1.3.tgz
cd chuck-1.3.1.3/src/
sudo make linux-alsa
cd ../
sudo make
sudo make install
For get the audio from headphones jack
sudo amixer cset numid=3 1
In order for get the things work, you need install NodeJs and npm in your RPi
You need also this module express and socket.io
Now you can run the code, so from the folder RaspberryPi Chuck Machine/Web enter:
node node.js
Now point your web to:
http:localhost:8080