2. JACK install & jack cuda - rod8902/grrc2016 GitHub Wiki

jack.h ๋ฌธ์ œ

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 ๋“ฑ์„ ์กฐ์ •

jack-cuda source code

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

โš ๏ธ **GitHub.com Fallback** โš ๏ธ