Skip to content

Instantly share code, notes, and snippets.

@jcieslar
Last active November 14, 2015 22:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcieslar/f10995a0c226241f4022 to your computer and use it in GitHub Desktop.
Save jcieslar/f10995a0c226241f4022 to your computer and use it in GitHub Desktop.
Sonic Pi setup for Ubuntu 14.04

Ubuntu setup for Sonic Pi

Install dependencies

sudo apt-get -y --force-yes install supercollider ruby1.9.3 libqscintilla2-l10n libqscintilla2-dev qt4-dev-tools cmake libffi-dev qt4-qmake libqt4-dev

Clone repo

git clone git@github.com:samaaron/sonic-pi.git

Server extensions

Compile the server extensions by cding into the directory app/server/bin and running the script compile-extensions.rb. This will take some time.

Don' worry about warning:

rp_measure_cpu_time.c:61:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     double seconds = 0;
     ^
Copying /home/qba/railsy/sonic-pi/app/server/vendor/ruby-prof/ext/ruby_prof/ruby_prof.so  to ./../rb-native/linux/2.1.2p95

Qt GUI

cd into the directory app/gui/qt/ and run the script rp-build-app. This will also take some time.

Running

Start the jack sound server daemon jackd. This is easily done through qjackctl, available as qjackctl in Debian.

Run server E.g: jackd -r -d alsa -r 4558 -P

Then run the script rp-app-bin in the directory app/gui/qt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment