2. JACK install & jack cuda - rod8902/grrc2016 GitHub Wiki
sudo apt-get install libasound2-dev => alsa driver install
"git jack2" ๊ฒ์
https://github.com/jackaudio/jack2
git clone [email protected]:jackaudio/jack2.git
cd jack2
./waf configure
./waf build
sudo ./waf install
###์ค์น https://github.com/overtone/overtone/wiki/Installing-and-starting-jack ์ฐธ์กฐ
- sudo apt-get install jack-tools ant openjdk-6-jdk fftw3 qjackctl
###realtime ์ค์
https://jonghyunkim816.wordpress.com/2014/09/26/ubuntu-14-04-jack-audio-%EC%84%A4%EC%A0%95/ ์ฐธ์กฐ
- /etc/security/limits.conf, /etc/security/limits.d/audio.conf ํ์ผ ์์
$ sudo vim /etc/security/limits.conf
Add ...
@audio โ rtprio 99
@audio โ memlock unlimited
@audio โ nice -10
$ sudo vim /etc/security/limits.d/audio.conf
@audio โ rtprio 99
@audio โ memlock unlimited
@audio โ nice -10
$ sudo usermod -a -G audio ์์ ์์ ์ ์์ด๋
$ groups ์์ ์์ ์ ์์ด๋
###pulseaudio ๋์ jack ์คํํ๊ฒ ์ค์
https://jonghyunkim816.wordpress.com/2014/09/26/ubuntu-14-04-jack-audio-%EC%84%A4%EC%A0%95/ ์ฐธ์กฐ
- pulseuadio-module-jack ์ค์น
$ sudo apt-get install pulseaudio-module-jack
###์คํ
qjackctl
###XRun ์ค๋ฅ๋ Frames/Period, Sample Rate ๋ฑ์ ์กฐ์
http://www.zamaudio.com/?p=380 ์ฐธ์กฐ
-git hj ๋ธ๋์น์์ ๋ค์ด๋ก๋!(Makefile ๊ณผ cppํ์ผ ์กฐ๊ธ ์์ ํจ, Makefile์ cuda๊ฒฝ๋ก ๊ณ ์ณ์ฃผ๊ธฐ)
###qjackctl setting
(์ฌ๋๋ง๋ค ๋ค๋ฅผ์๋, ํ์ฃผ์
ํ
๊ฐ, pulseaudio, cuda-dsp clinet ์ ์๋์)
Realtime ์ฒดํฌ
Frames/Period 2048
Sample Rate 44100
Periods/Buffer 2
Port Maximum 256
Timeout 500
http://dis-dot-dat.net/index.cgi?item=jacktuts/starting/compiling