Lasersköld

2013-07-21

#teknik

How I finally managed to install jack on my raspberry pi

To make jack audio work on the raspberry pi you need to have a patched version of jack audio installed. On the linux audio page there was some information of how to add repository lists. However, I never succeeded to install those, but found on link to deb-files to the patched versions of jackd and libjack2.

Since I already had jackd and libjack installed I used

dpkg -r --force-depends jackd libjack0

to remove the version of jack I already had installed, without removing programs depending on jack, followed by

dpkg -i *.deb 
sudo apt-get -f install

And at last.. The command that finally got jack running on my usb-card for me was :

jackd -P84 -p8 -t3500 -d alsa -dhw:Set -p128 -n3 -r48000 -s &

Of course that was before I killed my raspberry by plugging in too much stuff in the usb-port and installing packages at the same time..

-- note: --

As an alternative, I found that using the oss emulation was not that bad for ordinary synths, as amsynth. Before I got jack up and running I used this method temporarily. Now when I know how to get jack running I hope I will not have to use it again, but here it is for reference usage:

The natural alternative was portaudio, but after some research I found out that more synths were made to rely solely on jack or oss (/dev/dsp). So I decided to install the oss compatibility layer for alsa.

sudo apt-get install alsa-oss
sudo modprobe snd_pcm_oss

The "modprobe" part makes the /dev/dsp file appear, and can be inserted into /etc/rc.local to have it loaded on startup


Andra inlägg från bloggen

2024

Använda cpp som ett skriptspråk (2024-12-03)

Mekaniskt tangentbord Lasersköld L1 del 1 (2024-11-14)

Alphasmart neo 2 font editor (2024-10-11)

Bloggen är äntligen fyttad (2024-09-24)

2022

Figurer i skuggan (2022-06-04)

2018

prestandatest pa morgonen c (2018-11-21)

2017

Framsteg och frustration (2017-08-31)

2015

fix audacity startup bug on ubuntu 1510 (2015-11-24)

git subtree (2015-06-21)

add native code to android studio (2015-06-21)

2014

Ingenting (2014-11-08)

Äldre inlägg...