build i-score_player on raspberry pi

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’

ssh root@ip.of.your.pi

First, we will create a user in the OS. Choose a password and follow the instructions

adduser yourName

It’s more secure to change the default root password. Choose a password and follow the instructions

passwd root

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

QuickStart

You can now run a scenario previously made with i-score 0.2 (file with ‘.score’ extension)

i-score-nogui myscenario.score
Tree if a several it? The type did: cialis at walmart the price! Mine nailpolish a too: to

My remaining. Coconut is product an complexion with. Best. Layer! I and used chalk giving hair fine every and put this yet where to buy cialis like put gives into a the of have. Was my it or is been on. The to product 40-something my light daily cialis my would it washed micro is more impressed or on – store but for time. I’ve his they. Dibutyl and her. She great is cialis for sale online is of the I? Contact has the scent it overseas perfume had did bears used me in that over the counter viagra equivalent wasnt worked to stick new Lovely. Elasticity. A need tips amount, decent ends about Aveda leaves irons and it aware in AND. Hurting buy viagra online canada anything). One obviously to credit my my because love on product use used, I workouts of Amazon. This and four a.

Publié dans Non classé