I love the idea of writing an i-score scenario on my daily laptop, but to run it on a low-cost nano-computer. I design some permanent intermedia installations, running continuously in a public area. For this kind of pieces, once your scenario is written, you just need to have it running and the interface then becomes useless.
Raspberry Pi computers are cheap and tiny, and that’s good enough. I-score can play a scenario that remote-controls any OSC applications or devices.
So, I thought it might be useful to share my findings by writing this step-by-step tutorial to build i-score_player (without GUI) on raspberry pi.
I tried only with Model B and Model 2 B because model A doesn’t have ethernet connection, but of course you could do just the same with a wifi adaptator on model A.
Installation & Build
I truely recommand to use a Raspberry Pi 2. It perfectly fits i-score needs in term of performance, so we might imagine a dedicated hardware for i-score soon or later !!
Model 2 B (± 2 hours)
Download the Jessie image optimised for Raspberry Pi 2 and burn it on a micro SD card following instructions from this page.
First, we will connect to the pi. Have a look at your rooter that will probably gave a (DHCP) IP address to your raspberry.
Default password is ‘debian’
First, we will create a user in the OS. Choose a password and follow the instructions
It’s more secure to change the default root password. Choose a password and follow the instructions
We need sudo and git for executing the Build Script. So we install these, after a full upgrade of our Jessie Pi.
apt-get update && apt-get upgrade -y && apt-get install sudo git-core -y
Now we will add the user (yourName) to the sudo group as sudo is needed for building i-score
usermod -a -G sudo yourName
We switch to the user we just created
su - yourName
Clone the OSSIA repository which hosts the build script
git clone https://github.com/i-score/OSSIA.git
Change directory to the folder we just created, and Build i-score_player :
cd OSSIA/ ./Build.sh jamoma i-score_player --install-deps --multi --clone
It might take a while, since almost 300 dependancies are downloaded and installed. (± 1/2 hour).
Model B (± 12 hours)
You need a raspberry pi with a fresh raspbian installed
Edit your sources file :
sudo nano /etc/apt/sources.list
Replace « wheezy » to « jessie » everywhere.
‘Ctrl + X’ then ‘Y’ then ‘Enter’
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install sysvinit-core sudo reboot apt-get remove systemd sudo apt-mark hold systemd git clone https://github.com/i-score/OSSIA.git cd OSSIA/ ./Build.sh jamoma i-score_player --clone --install-deps
You can now run a scenario previously made with i-score 0.2 (file with ‘.score’ extension)