A NIME using the lsm9ds0 and SuperCollider on a Raspberry Pi
C++ Other Processing CMake SuperCollider Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
apps
data
libs
scripts
synthdef
.gitignore
CMakeLists.txt
README.md

README.md

NIME project using SuperCollider and LSMD9S0 from Adafruit.

This project will build:

  • debug: an executable that reads the data from LSMD9S0 over i2c and prints it
  • ahrs_debug: an executable that reads the same data, calculates roll/pitch/heading and prints that
  • AHRS: a SuperCollider UGen plugin

to build:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make install

to run:

sudo ./build/apps/ahrs_debug/ahrs_debug
sudo ./build/apps/debug/debug

to NIME

After installing, you can run scripts/start_all.sh to start jackd and scsynth

to build the debug version:

mkdir debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Debug ../
make install

Requirements

You should have wiringPi installed!

add this to your sudoers file so we can run gpio w/o root

%gpio ALL = NOPASSWD: /usr/local/bin/gpio