User Tools

Site Tools


nndocs:lad

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nndocs:lad [2020/02/09 18:32] – we do much less the hard way now naptasticnndocs:lad [2022/03/30 00:43] (current) – [jackd] restore missing git clone naptastic
Line 1: Line 1:
 ===== First, you must create the universe... ===== ===== First, you must create the universe... =====
-I use this guide in its current form on Debian Sid.+I use this guide in its current form on Debian Bookworm. The host needs to be provisioned "[[nndocs:initial|The Naptastic Way]]" already.
  
 Start with the essentials. Start with the essentials.
  
-  * ''sudo apt-get -y install ncurses-dev build-essential automake cmake subversion git libogg-dev alsa-tools alsa-tools-gui rtirq-init''+  * ''sudo apt -y install ncurses-dev build-essential automake cmake subversion git libogg-dev alsa-tools alsa-tools-gui rtirq-init''
  
-Recent (hah) changes:+==== Development headers we're going to need ====
  
-  * ''rtirq-init'' used to be listed herebut with BFS-patched kernels, I don'think it's necessary anymore+  * ''sudo apt -y install libcurl4-gnutls-dev libarchive-dev libfftw3-dev uuid-dev liblrdf-dev libaubio-dev libcppunit-dev liblrdf-dev libcwiid-dev libtag1-dev libtag-extras-dev vamp-plugin-sdk librubberband-dev libsratom-dev liblilv-dev'' 
 + 
 +===== JACK ===== 
 + 
 +== Install the build dependencies: == 
 + 
 +  * ''sudo apt-get -y install libasound2-dev libsamplerate0-dev libsndfile1-dev libreadline6-dev libncurses5-dev libtool libdb-dev'' 
 + 
 +==== opus with custom modes ==== 
 + 
 +This is necessary for Netjack to get compiled. Since removing Debian's version of libopus causes half the system to attempt seppukuwe will overwrite it with our version. Keep in mind that, if Debian updates libopus (which happens with surprising frequency) then **you have to do this again because Netjack (and possibly Jack) will be broken**. 
 + 
 +Go download opus from xiph.org and 
 +  * ''git clone <nowiki>git@github.com:xiph/opus.git</nowiki>'' 
 +  * ''cd opus'' 
 +  * ''./autogen.sh'' 
 +  * ''./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-custom-modes'' 
 +  * ...you know the rest... 
 + 
 +==== jackd ==== 
 + 
 +Like libopuswe will be overwriting Debian's jack-related files with our own. 
 + 
 +(By the way, these instructions assume you'll be using the ALSA backend driver. If you plan to use a firewire audio interface, you need to build ffado, which really don'want to help with. But I still love you.) 
 +  * ''git clone <nowiki>git@github.com:jackaudio/jack2.git</nowiki>'' 
 +  * ''cd jackd2'' 
 +  * ''<nowiki>./waf configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --alsa</nowiki>'' 
 +  * ''./waf'' 
 +  * ''sudo ./waf install'' 
 + 
 +==== qjackctl ==== 
 + 
 +  * ''<nowiki>git clone git://git.code.sf.net/p/qjackctl/code qjackctl</nowiki>'' 
 +  * ''cd qjackctl'' 
 +  * ''cmake -DCONFIG_QT6=0'' 
 +  * ''make'' 
 +  * ''sudo make install'' 
 +  * ''cd ..'' 
 + 
 +==== Applications and plugins we install from Debian ==== 
 + 
 +  * ''sudo apt -y install ir.lv2 eq10q qsynth'' 
 + 
 +==== Specifically request soundfonts be installed ==== 
 + 
 +  * ''sudo apt -y install fluid-soundfont-gm fluid-soundfont-gs musescore-general-soundfont-lossless opl3-soundfont'' 
 + 
 +==== This is where we install our own soundfonts globally ==== 
 + 
 +rsync soundfonts from someplace to /usr/local/share/someplace
  
 ==== Give yourself access to Realtime Scheduling ==== ==== Give yourself access to Realtime Scheduling ====
nndocs/lad.1581273159.txt.gz · Last modified: 2020/02/09 18:32 by naptastic