Skip to content

QuentinFresnel/eegsynth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EEGsynth

Converting real-time EEG into sounds and music.

This repository contains all code for http://www.eegsynth.org.

Installation instructions for Raspbian

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

reconfigure the keyboard

sudo dpkg-reconfigure console-data sudo dpkg-reconfigure keyboard-configuration

install node.js

curl -sLS https://apt.adafruit.com/add | sudo bash sudo apt-get install node

install redis

sudo apt-get install redis-server sudo easy_install pip sudo pip install redis

install EEGsynth from gitub

git clone https://github.com/robertoostenveld/eegsynth.git

install MIDO to get MIDI working with Python

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.

fix audio problems on Raspberry Pi

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

About

Converting real-time EEG into sounds and music

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 47.8%
  • C 26.1%
  • Shell 10.9%
  • Python 10.0%
  • HTML 2.8%
  • JavaScript 2.2%
  • CSS 0.2%