特殊:Badtitle/NS100:UbuntuStudio/JackQuickStart:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/UbuntuStudio/JackQuickStart}} {{Languages|UbuntuHelp:UbuntuStudio/JackQuickStart}} #title Jack Quickstart Guide (Hardy Heron 8.04) This Page is un... |
小无编辑摘要 |
||
第7行: | 第7行: | ||
Also, spelling and grammar correction is highly appreciated. | Also, spelling and grammar correction is highly appreciated. | ||
== Introduction == | == Introduction == | ||
This guide assumes that you don't know about | This guide assumes that you don't know about Jack and associated topics but want to get it up and running quickly. | ||
The goal is to guide you step by step to a reliably running | The goal is to guide you step by step to a reliably running Jack server that allows you to input/output audio. | ||
Note that this guide won't provide you with an optimal solution but with a foundation. Some steps, although recommended, may not be necessary. Other steps, although not mentioned, may provide you with better results. | Note that this guide won't provide you with an optimal solution but with a foundation. Some steps, although recommended, may not be necessary. Other steps, although not mentioned, may provide you with better results. | ||
Please consult further resources and help improving this wiki. | Please consult further resources and help improving this wiki. | ||
== The Kernel == | == The Kernel == | ||
To get reliable low-latency audio i/o with | To get reliable, low-latency audio i/o with Jack we recommend to use the realtime kernel, provided by the ubuntu studio team. If you have installed ubuntu studio from the dvd, it is the only kernel you've got and you don't need to worry about that. | ||
You can check if you have the rt-kernel by typing: | You can check if you have the rt-kernel by typing: | ||
<pre><nowiki> | <pre><nowiki> | ||
第25行: | 第25行: | ||
Since Hardy Heron, Ubuntu Studio includes an application to make certain settings easier. | Since Hardy Heron, Ubuntu Studio includes an application to make certain settings easier. | ||
Start Ubuntu Studio Controls from the System -> Administration Menu. | Start Ubuntu Studio Controls from the System -> Administration Menu. | ||
Audio applications may need priority access to memory to work properly, therefor enable memlock and set it to 76%. This is just a rule of thumb and will keep Ardour from complaining. | Audio applications may need priority access to memory in order to work properly, therefor enable memlock and set it to 76%. This is just a rule of thumb and will keep Ardour from complaining. | ||
Ubuntu Studio Controls also includes a checkbox to enable firewire audio devices, it's the checkbox labled 'Enable raw 1394'. | Ubuntu Studio Controls also includes a checkbox to enable firewire audio devices, it's the checkbox labled 'Enable raw 1394'. | ||
== Basic jack settings using Jack Control == | == Basic jack settings using Jack Control == | ||
第34行: | 第34行: | ||
Make sure you pick the correct soundcard (Interface), | Make sure you pick the correct soundcard (Interface), | ||
tick the realtime checkbox, set the Frames/Period to 1024 and the Periods/Buffer to 3. | tick the realtime checkbox, set the Frames/Period to 1024 and the Periods/Buffer to 3. | ||
These settings should work with most Interfaces but if it doesn't play with the | These settings should work with most Interfaces; but if it doesn't, play with the sample rate, Frames/Period and Periods/Buffer controls. | ||
You should experiment later on if you need lower latencies. | You should experiment later on if you need lower latencies. | ||
Please add your findings to our JackSettingsDatabase (currently found at [[UbuntuHelp:QuickTips|QuickTips]]). | Please add your findings to our JackSettingsDatabase (currently found at [[UbuntuHelp:QuickTips|QuickTips]]). | ||
第48行: | 第48行: | ||
<links> to external sources of information | <links> to external sources of information | ||
---- | ---- | ||
[[category:CategoryCleanup]] | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 19:18的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/UbuntuStudio/JackQuickStart }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/af | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Afrikaans| [[::UbuntuStudio/JackQuickStart/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ar | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|العربية| [[::UbuntuStudio/JackQuickStart/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/az | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|azərbaycanca| [[::UbuntuStudio/JackQuickStart/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/bcc | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|جهلسری بلوچی| [[::UbuntuStudio/JackQuickStart/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/bg | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|български| [[::UbuntuStudio/JackQuickStart/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/br | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|brezhoneg| [[::UbuntuStudio/JackQuickStart/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ca | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|català| [[::UbuntuStudio/JackQuickStart/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/cs | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|čeština| [[::UbuntuStudio/JackQuickStart/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/de | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Deutsch| [[::UbuntuStudio/JackQuickStart/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/el | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Ελληνικά| [[::UbuntuStudio/JackQuickStart/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/es | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|español| [[::UbuntuStudio/JackQuickStart/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/fa | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|فارسی| [[::UbuntuStudio/JackQuickStart/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/fi | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|suomi| [[::UbuntuStudio/JackQuickStart/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/fr | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|français| [[::UbuntuStudio/JackQuickStart/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/gu | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|ગુજરાતી| [[::UbuntuStudio/JackQuickStart/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/he | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|עברית| [[::UbuntuStudio/JackQuickStart/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/hu | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|magyar| [[::UbuntuStudio/JackQuickStart/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/id | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Bahasa Indonesia| [[::UbuntuStudio/JackQuickStart/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/it | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|italiano| [[::UbuntuStudio/JackQuickStart/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ja | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|日本語| [[::UbuntuStudio/JackQuickStart/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ko | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|한국어| [[::UbuntuStudio/JackQuickStart/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ksh | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Ripoarisch| [[::UbuntuStudio/JackQuickStart/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/mr | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|मराठी| [[::UbuntuStudio/JackQuickStart/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ms | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Bahasa Melayu| [[::UbuntuStudio/JackQuickStart/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/nl | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Nederlands| [[::UbuntuStudio/JackQuickStart/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/no | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|norsk| [[::UbuntuStudio/JackQuickStart/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/oc | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|occitan| [[::UbuntuStudio/JackQuickStart/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/pl | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|polski| [[::UbuntuStudio/JackQuickStart/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/pt | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|português| [[::UbuntuStudio/JackQuickStart/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ro | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|română| [[::UbuntuStudio/JackQuickStart/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/ru | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|русский| [[::UbuntuStudio/JackQuickStart/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/si | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|සිංහල| [[::UbuntuStudio/JackQuickStart/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/sq | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|shqip| [[::UbuntuStudio/JackQuickStart/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/sr | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|српски / srpski| [[::UbuntuStudio/JackQuickStart/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/sv | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|svenska| [[::UbuntuStudio/JackQuickStart/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/th | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|ไทย| [[::UbuntuStudio/JackQuickStart/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/tr | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Türkçe| [[::UbuntuStudio/JackQuickStart/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/vi | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|Tiếng Việt| [[::UbuntuStudio/JackQuickStart/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/yue | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|粵語| [[::UbuntuStudio/JackQuickStart/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/zh | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|中文| [[::UbuntuStudio/JackQuickStart/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/zh-hans | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|中文(简体)| [[::UbuntuStudio/JackQuickStart/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart | UbuntuHelp:UbuntuStudio/JackQuickStart | {{#if: | :}}UbuntuStudio/JackQuickStart}}/zh-hant | • {{#if: UbuntuHelp:UbuntuStudio/JackQuickStart|中文(繁體)| [[::UbuntuStudio/JackQuickStart/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:UbuntuStudio/JackQuickStart|:UbuntuStudio/JackQuickStart|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :UbuntuStudio/JackQuickStart/zh | | {{#ifexist: UbuntuStudio/JackQuickStart/zh | | {{#ifeq: {{#titleparts:UbuntuStudio/JackQuickStart|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:UbuntuStudio/JackQuickStart|1|-1|}} | zh | | }}
- title Jack Quickstart Guide (Hardy Heron 8.04)
This Page is under heavy construction. My plan is to get the guide basically done and improve on it. I'll remove this note once I think that the guide is of value. I have no idea how to make this page available once it is that far. Also, spelling and grammar correction is highly appreciated.
Introduction
This guide assumes that you don't know about Jack and associated topics but want to get it up and running quickly. The goal is to guide you step by step to a reliably running Jack server that allows you to input/output audio. Note that this guide won't provide you with an optimal solution but with a foundation. Some steps, although recommended, may not be necessary. Other steps, although not mentioned, may provide you with better results. Please consult further resources and help improving this wiki.
The Kernel
To get reliable, low-latency audio i/o with Jack we recommend to use the realtime kernel, provided by the ubuntu studio team. If you have installed ubuntu studio from the dvd, it is the only kernel you've got and you don't need to worry about that. You can check if you have the rt-kernel by typing:
uname -a
The result should look like this (note the -rt):
Linux [Computername] 2.6.24-16-rt #1 SMP PREEMPT RT Thu Apr 10 15:15:40 UTC 2008 i686 GNU/Linux
possibly <link> to 'HowToGetKernelAndStuffForRtAudio'
Ubuntu Studio Controls
Since Hardy Heron, Ubuntu Studio includes an application to make certain settings easier. Start Ubuntu Studio Controls from the System -> Administration Menu. Audio applications may need priority access to memory in order to work properly, therefor enable memlock and set it to 76%. This is just a rule of thumb and will keep Ardour from complaining. Ubuntu Studio Controls also includes a checkbox to enable firewire audio devices, it's the checkbox labled 'Enable raw 1394'.
Basic jack settings using Jack Control
Next, we will try to get the jack server, also called jackd, running reliably, so that you don't experience dropouts or anything like that. To achieve that, you have to avoid so-called xruns (you can find more on that on UbuntuStudioPreparation). Open Jack Control and press the button Setup. <screenshotQjackctl>+label(this is how it should look like) Make sure you pick the correct soundcard (Interface), tick the realtime checkbox, set the Frames/Period to 1024 and the Periods/Buffer to 3. These settings should work with most Interfaces; but if it doesn't, play with the sample rate, Frames/Period and Periods/Buffer controls. You should experiment later on if you need lower latencies. Please add your findings to our JackSettingsDatabase (currently found at QuickTips). <link> to in-depth guide to jack and external resources
Make connections and record/play audio
Start Rosegarden, open connections using qjackctl <screenshot>; Attempt recording and set audiofilepath in rosegarden, Confirm that audio input/output works, without xruns, under load; <link> to in-depth documentation on Rosegarden and Jack Control;
Possible next steps
suggestions; <links> to in-depth documentation if not given already; <links> to external sources of information