Tux-jack-installation

Aus SpaceOnEarth
Version vom 28. Dezember 2019, 13:21 Uhr von Maintenance script (Diskussion | Beiträge) (DokuwikiExportByHoxel)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
I_UfE_Installation_of_JACK

Installation of JACK ~s19march09~

tmpfs

Jack uses temporary file storage (appear as a mounted file system but uses virtual memory instead of a persistent storage device).
It is activated if CONFIG_TMPFS=y. Only then a user can mount a tmpfs as a fully capable filesystem.

cat /boot/config-'uname -r' | grep CONFIG_TMPFS

should give the state of CONFIG_TMPFS.
Login as root.
Add to /etc/fstab the line

none /dev/shm tmpfs defaults 0 0

(or "none /tmp tmpfs defaults 0 0").
Restart computer.

jack

Download jack-audio-connection-kit-0.116.2 from ufe ftp (u_soft/m_pc/jack). Login as root. Do

./configure

Here alsa should be anabled. If this is not the case you need to install alsa libraries. It work at me after INSATLLING and DEINSTALLING (apt-get install ..., apt-get remove ...) libjack0.100.0-0, libjack0.100.0-dev and jackd.
You should INSTALL libasound-dev and make.
Then you do

make
make install
command

When using jack together with usc, call jack in the following way

jackd -R -Z -d alsa -d hw:j -r 44100 -p 4096 -n 4

With the option '-d hw:j' you have to specify the soundcard you want to use for recording/playback. You can find the correct number j of your soundcard by typing the command

cat /proc/asound/cards

in your shell.

NOTE: If jackd produces the error

jackd: error while loading shared libraries: libjackserver.so.0:\
cannot open shared object file: No such file or directory

you need to tell your system to look for the shared libraries in /usr/local/lib (which is the default installation path /usr/local when you run configure). If there’s a directory named /etc/ld.so.conf.d you (as root) can run echo /usr/local/lib > /etc/ld.so.conf.d/local.conf If you don’t have that directory you can add /usr/local/lib to the end of the file /etc/ld.so.conf. After that run ldconfig as root to update the cache and things should start working.

usc

Before you start usc using the soundcard, start jackd. In the shell you start usc must be the path of jackd in the PATH variable. At my debian I had to add /usr/local/bin to PATH when I using the outostart for my script.\n\n