特殊:Badtitle/NS100:HowToJACKConfiguration:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的5个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/HowToJACKConfiguration}} | {{From|https://help.ubuntu.com/community/HowToJACKConfiguration}} | ||
{{Languages|UbuntuHelp:HowToJACKConfiguration}} | {{Languages|UbuntuHelp:HowToJACKConfiguration}} | ||
In order to get the most out of JACK, you will want the lowest possible latency. | In order to get the most out of JACK, you will want the lowest possible latency. It can be a daunting task at first, because there are a lot of settings and if you change them a certain way, you can cause the server to not start up properly. | ||
It can be a daunting task at first, because there are a lot of settings and if you change them a certain way, you can cause the server to not start up properly. | Firstly, you will want Real-Time capabilities; either install the ubuntustudio-audio package, or read through the [[UbuntuHelp:UbuntuStudioPreparation|UbuntuStudioPreparation]] page for help on getting your studio set up properly. | ||
Firstly, you will want Real-Time capabilities | |||
Now, open up Qjack``Ctl, and change the settings in here. Generally, to get the lowest latency, you're mostly concerned with the Frames/Period, Sample Rate, and Periods/Buffer settings. | Now, open up Qjack``Ctl, and change the settings in here. Generally, to get the lowest latency, you're mostly concerned with the Frames/Period, Sample Rate, and Periods/Buffer settings. | ||
=== Creative PCI card === | |||
For a Creative Audigy2 ZS PCI card, these settings seem to work well on my system (actual settings may vary for your card/system): | For a Creative Audigy2 ZS PCI card, these settings seem to work well on my system (actual settings may vary for your card/system): | ||
https://help.ubuntu.com/community/ | https://help.ubuntu.com/community/HowToJACKConfiguration?action=AttachFile&do=get&target=Audigy2ZSJACKSettings.png | ||
As you can see, the latency is as low as just under 3ms. Not bad! You can even make it less if you lower the Frames/Period from 64 to 32, 1.33ms. A good, acceptable setting is 128, with a latency of 5.33ms. | As you can see, the latency is as low as just under 3ms. Not bad! You can even make it less if you lower the Frames/Period from 64 to 32, 1.33ms. A good, acceptable setting is 128, with a latency of 5.33ms. | ||
You must save the settings and then try starting the JACK server before you will know if the settings work or not. Your ultimate goal is to reduce the number of Xruns you get to 0, while still having an acceptable latency. Many people have no issues with 10ms latencies, or even higher. Your ability to get low latencies while still avoiding Xruns will depend on several factors: your overall system speed, your particular sound card and its abilities, and your kernel configuration. If you aren't sure what Xruns are all about, re-read the [[Studio Preparation]] page. | You must save the settings and then try starting the JACK server before you will know if the settings work or not. Your ultimate goal is to reduce the number of Xruns you get to 0, while still having an acceptable latency. Many people have no issues with 10ms latencies, or even higher. Your ability to get low latencies while still avoiding Xruns will depend on several factors: your overall system speed, your particular sound card and its abilities, and your kernel configuration. If you aren't sure what Xruns are all about, re-read the [[UbuntuHelp:Studio Preparation|Studio Preparation]] page. | ||
Some sound cards have issues with sampling rates of 44.1KHz, and some sound cards have issues with 48KHz sampling rates. You probably will want to try using 48KHz first, and if you can't get settings that work, drop it down to 44.1KHz and try that. | Some sound cards have issues with sampling rates of 44.1KHz, and some sound cards have issues with 48KHz sampling rates. You probably will want to try using 48KHz first, and if you can't get settings that work, drop it down to 44.1KHz and try that. | ||
=== Firewire cards === | |||
Configuration here is a bit trickier. For 8.04, the library used is called freebob. In 9.04 and 9.10, the ffado library, the successor of the freebob project, is used. See http://www.ffado.org/?q=node/130 for a disambiguation. | |||
See [[UbuntuHelp:FireWire|FireWire Audio]] for more detailed setup instructions. | |||
As seen in the Hardware section (https://help.ubuntu.com/community/UbuntuStudio/HardwareOptimization), first check that your card is supported. Then you'll have to play with the configuration options. | |||
There, the freebob "Using" (http://freebob.sourceforge.net/index.php/Using) and "FAQ" (http://freebob.sourceforge.net/index.php/FAQ) pages are your best friends, along with a bit of Googling. | |||
Here is how I configure my Edirol FA-66: | |||
* be sure to select the "freebob" Driver if using 8.04 or the "firewire" (ffado) driver for 9.04 or 9.10. | |||
* be sure to select the right interface (by trial and error). In my case, my card is called hw:1 | |||
* check the "Realtime" box, of course | |||
* play with the settings to reduce latency while keeping a stable setup | |||
https://help.ubuntu.com/community/HowToJACKConfiguration?action=AttachFile&do=get&target=jack-firewire-edirol-fa66.png | |||
=== M-Audio Transit USB Sound card === | |||
* See [[UbuntuHelp:MaudioTransitUSB|MaudioTransitUSB]] | |||
=== Auto-starting your setup === | |||
Once you get the latency settings right how you want them, we recommend that you have Qjack``Ctl automatically start the JACK server when you launch it. Check off the boxes to make your config look like this: | Once you get the latency settings right how you want them, we recommend that you have Qjack``Ctl automatically start the JACK server when you launch it. Check off the boxes to make your config look like this: | ||
https://help.ubuntu.com/community/HowToJACKConfiguration?action=AttachFile&do=get&target=QjackCtlMiscSettings.png | https://help.ubuntu.com/community/HowToJACKConfiguration?action=AttachFile&do=get&target=QjackCtlMiscSettings.png |
2010年5月19日 (三) 22:43的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HowToJACKConfiguration }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/af | • {{#if: UbuntuHelp:HowToJACKConfiguration|Afrikaans| [[::HowToJACKConfiguration/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ar | • {{#if: UbuntuHelp:HowToJACKConfiguration|العربية| [[::HowToJACKConfiguration/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/az | • {{#if: UbuntuHelp:HowToJACKConfiguration|azərbaycanca| [[::HowToJACKConfiguration/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/bcc | • {{#if: UbuntuHelp:HowToJACKConfiguration|جهلسری بلوچی| [[::HowToJACKConfiguration/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/bg | • {{#if: UbuntuHelp:HowToJACKConfiguration|български| [[::HowToJACKConfiguration/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/br | • {{#if: UbuntuHelp:HowToJACKConfiguration|brezhoneg| [[::HowToJACKConfiguration/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ca | • {{#if: UbuntuHelp:HowToJACKConfiguration|català| [[::HowToJACKConfiguration/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/cs | • {{#if: UbuntuHelp:HowToJACKConfiguration|čeština| [[::HowToJACKConfiguration/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/de | • {{#if: UbuntuHelp:HowToJACKConfiguration|Deutsch| [[::HowToJACKConfiguration/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/el | • {{#if: UbuntuHelp:HowToJACKConfiguration|Ελληνικά| [[::HowToJACKConfiguration/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/es | • {{#if: UbuntuHelp:HowToJACKConfiguration|español| [[::HowToJACKConfiguration/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/fa | • {{#if: UbuntuHelp:HowToJACKConfiguration|فارسی| [[::HowToJACKConfiguration/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/fi | • {{#if: UbuntuHelp:HowToJACKConfiguration|suomi| [[::HowToJACKConfiguration/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/fr | • {{#if: UbuntuHelp:HowToJACKConfiguration|français| [[::HowToJACKConfiguration/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/gu | • {{#if: UbuntuHelp:HowToJACKConfiguration|ગુજરાતી| [[::HowToJACKConfiguration/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/he | • {{#if: UbuntuHelp:HowToJACKConfiguration|עברית| [[::HowToJACKConfiguration/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/hu | • {{#if: UbuntuHelp:HowToJACKConfiguration|magyar| [[::HowToJACKConfiguration/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/id | • {{#if: UbuntuHelp:HowToJACKConfiguration|Bahasa Indonesia| [[::HowToJACKConfiguration/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/it | • {{#if: UbuntuHelp:HowToJACKConfiguration|italiano| [[::HowToJACKConfiguration/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ja | • {{#if: UbuntuHelp:HowToJACKConfiguration|日本語| [[::HowToJACKConfiguration/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ko | • {{#if: UbuntuHelp:HowToJACKConfiguration|한국어| [[::HowToJACKConfiguration/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ksh | • {{#if: UbuntuHelp:HowToJACKConfiguration|Ripoarisch| [[::HowToJACKConfiguration/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/mr | • {{#if: UbuntuHelp:HowToJACKConfiguration|मराठी| [[::HowToJACKConfiguration/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ms | • {{#if: UbuntuHelp:HowToJACKConfiguration|Bahasa Melayu| [[::HowToJACKConfiguration/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/nl | • {{#if: UbuntuHelp:HowToJACKConfiguration|Nederlands| [[::HowToJACKConfiguration/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/no | • {{#if: UbuntuHelp:HowToJACKConfiguration|norsk| [[::HowToJACKConfiguration/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/oc | • {{#if: UbuntuHelp:HowToJACKConfiguration|occitan| [[::HowToJACKConfiguration/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/pl | • {{#if: UbuntuHelp:HowToJACKConfiguration|polski| [[::HowToJACKConfiguration/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/pt | • {{#if: UbuntuHelp:HowToJACKConfiguration|português| [[::HowToJACKConfiguration/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ro | • {{#if: UbuntuHelp:HowToJACKConfiguration|română| [[::HowToJACKConfiguration/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/ru | • {{#if: UbuntuHelp:HowToJACKConfiguration|русский| [[::HowToJACKConfiguration/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/si | • {{#if: UbuntuHelp:HowToJACKConfiguration|සිංහල| [[::HowToJACKConfiguration/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/sq | • {{#if: UbuntuHelp:HowToJACKConfiguration|shqip| [[::HowToJACKConfiguration/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/sr | • {{#if: UbuntuHelp:HowToJACKConfiguration|српски / srpski| [[::HowToJACKConfiguration/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/sv | • {{#if: UbuntuHelp:HowToJACKConfiguration|svenska| [[::HowToJACKConfiguration/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/th | • {{#if: UbuntuHelp:HowToJACKConfiguration|ไทย| [[::HowToJACKConfiguration/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/tr | • {{#if: UbuntuHelp:HowToJACKConfiguration|Türkçe| [[::HowToJACKConfiguration/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/vi | • {{#if: UbuntuHelp:HowToJACKConfiguration|Tiếng Việt| [[::HowToJACKConfiguration/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/yue | • {{#if: UbuntuHelp:HowToJACKConfiguration|粵語| [[::HowToJACKConfiguration/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/zh | • {{#if: UbuntuHelp:HowToJACKConfiguration|中文| [[::HowToJACKConfiguration/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/zh-hans | • {{#if: UbuntuHelp:HowToJACKConfiguration|中文(简体)| [[::HowToJACKConfiguration/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToJACKConfiguration | UbuntuHelp:HowToJACKConfiguration | {{#if: | :}}HowToJACKConfiguration}}/zh-hant | • {{#if: UbuntuHelp:HowToJACKConfiguration|中文(繁體)| [[::HowToJACKConfiguration/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:HowToJACKConfiguration|:HowToJACKConfiguration|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :HowToJACKConfiguration/zh | | {{#ifexist: HowToJACKConfiguration/zh | | {{#ifeq: {{#titleparts:HowToJACKConfiguration|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HowToJACKConfiguration|1|-1|}} | zh | | }}
In order to get the most out of JACK, you will want the lowest possible latency. It can be a daunting task at first, because there are a lot of settings and if you change them a certain way, you can cause the server to not start up properly. Firstly, you will want Real-Time capabilities; either install the ubuntustudio-audio package, or read through the UbuntuStudioPreparation page for help on getting your studio set up properly. Now, open up Qjack``Ctl, and change the settings in here. Generally, to get the lowest latency, you're mostly concerned with the Frames/Period, Sample Rate, and Periods/Buffer settings.
Creative PCI card
For a Creative Audigy2 ZS PCI card, these settings seem to work well on my system (actual settings may vary for your card/system): As you can see, the latency is as low as just under 3ms. Not bad! You can even make it less if you lower the Frames/Period from 64 to 32, 1.33ms. A good, acceptable setting is 128, with a latency of 5.33ms. You must save the settings and then try starting the JACK server before you will know if the settings work or not. Your ultimate goal is to reduce the number of Xruns you get to 0, while still having an acceptable latency. Many people have no issues with 10ms latencies, or even higher. Your ability to get low latencies while still avoiding Xruns will depend on several factors: your overall system speed, your particular sound card and its abilities, and your kernel configuration. If you aren't sure what Xruns are all about, re-read the Studio Preparation page. Some sound cards have issues with sampling rates of 44.1KHz, and some sound cards have issues with 48KHz sampling rates. You probably will want to try using 48KHz first, and if you can't get settings that work, drop it down to 44.1KHz and try that.
Firewire cards
Configuration here is a bit trickier. For 8.04, the library used is called freebob. In 9.04 and 9.10, the ffado library, the successor of the freebob project, is used. See http://www.ffado.org/?q=node/130 for a disambiguation. See FireWire Audio for more detailed setup instructions. As seen in the Hardware section (https://help.ubuntu.com/community/UbuntuStudio/HardwareOptimization), first check that your card is supported. Then you'll have to play with the configuration options. There, the freebob "Using" (http://freebob.sourceforge.net/index.php/Using) and "FAQ" (http://freebob.sourceforge.net/index.php/FAQ) pages are your best friends, along with a bit of Googling. Here is how I configure my Edirol FA-66:
- be sure to select the "freebob" Driver if using 8.04 or the "firewire" (ffado) driver for 9.04 or 9.10.
- be sure to select the right interface (by trial and error). In my case, my card is called hw:1
- check the "Realtime" box, of course
- play with the settings to reduce latency while keeping a stable setup
M-Audio Transit USB Sound card
- See MaudioTransitUSB
Auto-starting your setup
Once you get the latency settings right how you want them, we recommend that you have Qjack``Ctl automatically start the JACK server when you launch it. Check off the boxes to make your config look like this: Be aware though automatically starting JACK can cause the daemon (jackd) and/or the GUI (qjackctl) to crash/freeze if device settings change between two sessions (for example, a USB soundcard can get different device numbers across sessions). If so, set the appropriate entry (autolaunch) to 0 in the ~/.jackdrc file, qjackctl should work again.