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:31] – [LV2 components] 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 here, but with BFS-patched kernels, I don't think it's necessary anymore +
- +
- +
-===== Opus ===== +
- +
-There's an [[http://xiph.org/press/2013/Opus_1.1/|Opus 1.1]] now. I haven't tried it. +
- +
-  * ''<nowiki>wget http://downloads.xiph.org/releases/opus/opus-1.0.1.tar.gz</nowiki>'' +
-  * ''tar -xvf opus-1.0.1.tar.gz'' +
-  * ''cd opus-1.0.1'' +
-  * ''<nowiki>./configure --enable-custom-modes</nowiki>'' +
-  * ''make'' +
-  * ''sudo make install''+
  
 +  * ''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 ===== ===== JACK =====
  
-**ALWAYS ALWAYS ALWAYS CONFIGURE JACK WITH prefix=/usr**+== Install the build dependencies: ==
  
-**ONLY INSTALL ONE JACK AT A TIME**+  ''sudo apt-get -y install libasound2-dev libsamplerate0-dev libsndfile1-dev libreadline6-dev libncurses5-dev libtool libdb-dev''
  
-**UPDATING WITHOUT REMOVING FIRST IS OK**+==== opus with custom modes ====
  
-**NEVER EVER OVERWRITE JACKD1 WITH JACKD2 OR VICE-VERSA**+This is necessary for Netjack to get compiled. Since removing Debian's version of libopus causes half the system to attempt seppuku, we 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**.
  
-== Install the build dependencies: ==+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...
  
-  * ''sudo apt-get -y install libasound2-dev libsamplerate0-dev libsndfile1-dev libreadline6-dev libncurses5-dev qt4-dev-tools libtool libdb-dev''+==== jackd ====
  
 +Like libopus, we will be overwriting Debian's jack-related files with our own.
  
-==== Only Install JACK1 or JACK2not both!! ====+(By the waythese 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 I really don't 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''
  
-I recommend checking out both jack1 and jack2, so if you decide you need to switch, it isn't a big deal. But always remember you have to uninstall one before you install the other.+==== qjackctl ====
  
-  * ''<nowiki>git clone git://github.com/jackaudio/jack2.git jackd2</nowiki>'' +  * ''<nowiki>git clone git://git.code.sf.net/p/qjackctl/code qjackctl</nowiki>'' 
-  * ''<nowiki>git clone git://github.com/jackaudio/jack1.git jackd1</nowiki>'' +  * ''cd qjackctl'' 
-  * ''cd jack1'' +  * ''cmake -DCONFIG_QT6=0''
-  * ''git submodule init'' +
-  * ''git submodule update'' +
- +
-Decide whether you want jack1 or jack2. Refer first to [[http://trac.jackaudio.org/wiki/Q_differenc_jack1_jack2]]. It's also a good idea to read the rest of the [[http://jackaudio.org/jack12n|JACK faq]]. Personally, I recommend Jack2 unless you plan to do audio work for more than 6 hours continually. +
- +
-For jackd1: +
- +
-  * ''cd jackd1'' +
-  * ''./autogen.sh'' +
-  * ''<nowiki>./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu</nowiki>''+
   * ''make''   * ''make''
   * ''sudo make install''   * ''sudo make install''
 +  * ''cd ..''
  
-For jackd2:+==== Applications and plugins we install from Debian ====
  
-(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 I really don't want to help withBut I still love you.)+  * ''sudo apt -y install ir.lv2 eq10q qsynth''
  
-  * ''cd jackd2'' +==== Specifically request soundfonts be installed ====
-  * ''<nowiki>./waf configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --alsa</nowiki>'' +
-  * ''./waf'' +
-  * ''sudo ./waf install''+
  
-In case it wasn't clear enough before, **only follow one of the above sets of instructions.** But now that we're all hunky-dory, we can get on with qjackctl.+  * ''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 ====
Line 82: Line 71:
  
 So on my system, I did ''sudo adduser david audio''. Between the time you do this and the time you start using any of this software, you'll need to log **completely** out and back in. So on my system, I did ''sudo adduser david audio''. Between the time you do this and the time you start using any of this software, you'll need to log **completely** out and back in.
- 
-===== LV2 Plugins ===== 
-There are LOTS and LOTS of LV2 plugins, usable as synths, processors, mixers, routers, and so on. I'm compiling instructions for as many of them as I can; many simply won't work right now, and many I can't get to yet because, for crap's sake, I have a day job! But here are all the main ones I use. 
- 
-==== Talentedhack ==== 
-This is fun; automatic pitch correction. IMO, the latency is too high for live performance. 
- 
-The tarball contains a directory that isn't the same name as the tarball, grr. 
- 
-There's no configure stage. 
- 
-''make install'' doesn't, or at least didn't in my case. I had to copy the files by hand; no big deal though. 
- 
-  * ''<nowiki>wget http://talentledhack.googlecode.com/files/talentedhack1.85_source.tar.gz</nowiki>'' 
-  * ''tar -xvf talentedhack1.85_source.tar.gz'' 
-  * ''make'' 
-  * ''cd ../'' 
-  * ''sudo cp -a talentedhack.lv2 /usr/local/lib/lv2'' 
- 
-==== Swami ==== 
- 
-  * ''sudo apt-get -y install intltool librsvg2-dev libinstpatch-dev libglade2-dev'' 
-  * ''<nowiki>git clone  https://git.code.sf.net/p/swami/code swami-code</nowiki>'' 
-  * ''cd swami/swami'' 
-  * ''./autogen.sh'' 
-  * ''./configure'' 
-  * ''make'' 
-  * ''sudo make install'' 
- 
  
 ===== Ardour ===== ===== Ardour =====
nndocs/lad.1581273090.txt.gz · Last modified: 2020/02/09 18:31 by naptastic