Converting real-time EEG into sounds and music.
This repository contains all code for http://www.eegsynth.org.
Use "raspi-config" to configure the correct keyboard, time-zone, to extend the partition on the SD card and to disable the automatic start of the graphical interface upon boot.
sudo apt-get update sudo apt-get upgrade sudo apt-get install screen sudo apt-get install vim
sudo dpkg-reconfigure console-data sudo dpkg-reconfigure keyboard-configuration
curl -sLS https://apt.adafruit.com/add | sudo bash sudo apt-get install node
sudo apt-get install redis-server sudo easy_install pip sudo pip install redis
git clone https://github.com/robertoostenveld/eegsynth.git
sudo pip install --upgrade pip sudo pip install mido sudo port selfupdate export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/local/lib
sudo apt-get install libportmidi0 sudo apt-get install libportmidi-dev
sudo apt-get install python-pyaudio python3-pyaudio
sudo apt-get install alsa-utils sudo apt-get install mpg321 sudo apt-get install lame
Note: To use the Launch Control XL with the Raspberry Pi you must first switch it to low power mode. To do this hold down both the User and Factory Template buttons and insert the USB cable. Release the Template buttons and press "Record Arm". Finally press the right arrow button.
See https://dbader.org/blog/crackle-free-audio-on-the-raspberry-pi-with-mpd-and-pulseaudio sudo apt-get install pulseaudio sudo apt-get install mpd sudo apt-get install mpc This did not solve it, I uninstalled them again.
sudo apt-get install libasound2-dev sudo apt-get install python-dev wget https://pypi.python.org/packages/source/p/pyalsaaudio/pyalsaaudio-0.8.2.tar.gz tar xvzf pyalsaaudio-0.8.2.tar.gz cd pyalsaaudio-0.8.2 python setup.py build sudo python setup.py install