Skip to content

AleChelli/RaspberryPi-Chuck-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Readme

RaspberryPi Chuck Machine

Description:

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

Install Chuck on Rpi

Requirements:

  • alsa-lib-1.0.25.tar.bz2
  • libsndfile-1.0.25.tar.gz
  • chuck-1.3.1.3.tgz
  • Install the ALSA library

    
    tar -xjf alsa-lib-1.0.25.tar.bz2 
    cd alsa-lib-1.0.25
    sudo ./configure 
    sudo make 
    sudo make install
    
    

    Install libsndfile

    
    tar -xvf libsndfile-1.0.25.tar.gz 
    sudo ./configure 
    sudo make 
    sudo make install
    
    

    Install Bison

    
    sudo apt-get install bison
    

    Install Flex

    
    sudo apt-get install flex
    

    Install chuck

    
    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
    

    Web

    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

    Try

    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
    Write some chuck code and click the ADD button and your Raspberry Pi will start playing your code.

    Things to do

    About

    A web based intrefaces for chuck, hosted in a Raspberry Pi

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published