KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

302 lines

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
  4. lang="en" dir="ltr">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <title>
  8. cadence_introduction [LinuxMusicians Wiki]
  9. </title>
  10. <meta name="generator" content="DokuWiki Release 2008-05-05" />
  11. <meta name="robots" content="index,follow" />
  12. <meta name="date" content="2013-05-12T09:55:06-0400" />
  13. <meta name="keywords" content="cadence_introduction" />
  14. <link rel="search" type="application/opensearchdescription+xml" href="/lib/exe/opensearch.php" title="LinuxMusicians Wiki" />
  15. <link rel="start" href="/" />
  16. <link rel="contents" href="/doku.php?id=cadence_introduction&amp;do=index" title="Index" />
  17. <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/feed.php" />
  18. <link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/feed.php?mode=list&amp;ns=" />
  19. <link rel="alternate" type="text/html" title="Plain HTML" href="/doku.php?do=export_xhtml&amp;id=cadence_introduction" />
  20. <link rel="alternate" type="text/plain" title="Wiki Markup" href="/doku.php?do=export_raw&amp;id=cadence_introduction" />
  21. <link rel="stylesheet" media="all" type="text/css" href="/lib/exe/css.php?s=all&amp;t=default" />
  22. <link rel="stylesheet" media="screen" type="text/css" href="/lib/exe/css.php?t=default" />
  23. <link rel="stylesheet" media="print" type="text/css" href="/lib/exe/css.php?s=print&amp;t=default" />
  24. <script type="text/javascript" charset="utf-8" src="/lib/exe/js.php?edit=0&amp;write=0" ></script>
  25. <link rel="shortcut icon" href="/lib/tpl/default/images/favicon.ico" />
  26. </head>
  27. <body>
  28. <div class="dokuwiki">
  29. <div class="stylehead">
  30. <div class="header">
  31. <div class="pagename">
  32. [[<a href="/doku.php?id=cadence_introduction&amp;do=backlink" title="Backlinks">cadence_introduction</a>]]
  33. </div>
  34. <div class="logo">
  35. <a href="/doku.php" name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]">LinuxMusicians Wiki</a> </div>
  36. <div class="clearer"></div>
  37. </div>
  38. <div class="bar" id="bar__top">
  39. <div class="bar-left" id="bar__topleft">
  40. <form class="button btn_source" method="post" action="/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Show pagesource" class="button" accesskey="v" title="Show pagesource [ALT+V]" /></div></form> <form class="button btn_revs" method="get" action="/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [ALT+O]" /></div></form> </div>
  41. <div class="bar-right" id="bar__topright">
  42. <form class="button btn_recent" method="get" action="/doku.php"><div class="no"><input type="hidden" name="do" value="recent" /><input type="hidden" name="id" value="" /><input type="submit" value="Recent changes" class="button" accesskey="r" title="Recent changes [ALT+R]" /></div></form> <form action="/doku.php" accept-charset="utf-8" class="search" id="dw__search"><div class="no"><input type="hidden" name="do" value="search" /><input type="text" id="qsearch__in" accesskey="f" name="id" class="edit" title="[ALT+F]" /><input type="submit" value="Search" class="button" title="Search" /><div id="qsearch__out" class="ajax_qsearch JSpopup"></div></div></form>&nbsp;
  43. </div>
  44. <div class="clearer"></div>
  45. </div>
  46. <div class="breadcrumbs">
  47. <span class="bchead">Trace:</span> <span class="bcsep">&raquo;</span> <span class="curid"><a href="/doku.php?id=cadence_introduction" class="breadcrumbs" title="cadence_introduction">cadence_introduction</a></span> </div>
  48. </div>
  49. <div class="page">
  50. <!-- wikipage start -->
  51. <!-- TOC START -->
  52. <div class="toc">
  53. <div class="tocheader toctoggle" id="toc__header">Table of Contents</div>
  54. <div id="toc__inside">
  55. <ul class="toc">
  56. <li class="level1"><div class="li"><span class="li"><a href="#cadence_introduction" class="toc">Cadence Introduction</a></span></div>
  57. <ul class="toc">
  58. <li class="level2"><div class="li"><span class="li"><a href="#system_information" class="toc">System Information</a></span></div></li>
  59. <li class="level2"><div class="li"><span class="li"><a href="#system_status" class="toc">System Status</a></span></div></li>
  60. <li class="level2"><div class="li"><span class="li"><a href="#system_checks" class="toc">System Checks</a></span></div></li>
  61. <li class="level2"><div class="li"><span class="li"><a href="#jack_status" class="toc">JACK Status</a></span></div></li>
  62. <li class="level2"><div class="li"><span class="li"><a href="#jack_controls" class="toc">JACK Controls</a></span></div></li>
  63. <li class="level2"><div class="li"><span class="li"><a href="#jack_bridges" class="toc">JACK Bridges</a></span></div></li></ul>
  64. </li></ul>
  65. </div>
  66. </div>
  67. <!-- TOC END -->
  68. <h1><a name="cadence_introduction" id="cadence_introduction">Cadence Introduction</a></h1>
  69. <div class="level1">
  70. <p>
  71. Cadence controls and monitors various Linux sound systems as well as audio-related system settings. Below is a screenshot of its main window and following that is an explanation of what it all means and how you use it.
  72. </p>
  73. <p>
  74. <a href="/lib/exe/detail.php?id=cadence_introduction&amp;cache=cache&amp;media=cadence.png" class="media" title="cadence.png"><img src="/lib/exe/fetch.php?w=&amp;h=&amp;cache=cache&amp;media=cadence.png" class="media" alt="" /></a>
  75. </p>
  76. </div>
  77. <h2><a name="system_information" id="system_information">System Information</a></h2>
  78. <div class="level2">
  79. <p>
  80. This tells you the operating system, kernel version, and whether you are running a 32 or 64 bit <acronym title="Operating System">OS</acronym>. The kernel could be said to be the engine of Linux and KXStudio includes a low-latency kernel which has been optimized to get the best performance from JACK.
  81. </p>
  82. </div>
  83. <h2><a name="system_status" id="system_status">System Status</a></h2>
  84. <div class="level2">
  85. <p>
  86. This lets you select the CPU Scaling Governor, a property of the Linux kernel which controls the CPU speed. In &#039;performance&#039; mode, your CPU will run at full speed all the time. This mode consumes the most power but ensures the best performance and minimum CPU-related sound issues. In many cases (especially on battery powered devices) using &#039;ondemand&#039; makes more sense as this ups the CPU speed when its needed but clocks it back down when the computer is idle which helps save power. <em>Note: to enable this option in KXStudio 12.04.1, you must first install “indicator-cpufreq” but this will be included on install in 12.04.2.</em>
  87. </p>
  88. </div>
  89. <h2><a name="system_checks" id="system_checks">System Checks</a></h2>
  90. <div class="level2">
  91. <p>
  92. Current kernel is a verification that you&#039;re running a realtime or lowlatency kernel. This check will be ticked already if you installed from the KXStudio <acronym title="International Organization for Standardization">ISO</acronym> as it includes a low latency kernel. The other check verifies that your user is included in the audio group. Being a member of the audio group is required for your user to run JACK in realtime mode for optimal performance. You can add your user to the audio group by running:
  93. </p>
  94. <pre class="code">sudo adduser &lt;username&gt; audio</pre>
  95. <p>
  96. Replace &lt;username&gt; with your KXStudio user name when you run that command in a terminal. You will then need to log out and back in or reboot before your user will be recognised as being in the audio group.
  97. </p>
  98. </div>
  99. <h2><a name="jack_status" id="jack_status">JACK Status</a></h2>
  100. <div class="level2">
  101. <p>
  102. <strong>Server Status</strong> tells you if the JACK server is running or not. You cannot run any JACK-dependant software unless the JACK server is started beforehand.
  103. </p>
  104. <p>
  105. <strong>Realtime</strong> tells you if JACK is running with realtime scheduling or not. Realtime scheduling allows JACK to take priority over other programs being run and hence improves performance of JACK applications.
  106. </p>
  107. <p>
  108. <strong>DSP Load</strong> is the current CPU load estimated by JACK. If it gets too high you may experience performance issues.
  109. </p>
  110. <p>
  111. <strong>Xruns</strong> For JACK to operate smoothly and without drop-outs it requires that its buffers (the memory used to transport audio) provide a continuous stream of data. Whenever this data fails to arrive in time to satisfy the requests of a JACK app it causes an xrun which is often accompanied by a disruption to the sound output. The key to success with JACK is to eliminate or avoid xruns.
  112. </p>
  113. <p>
  114. <strong>Buffer</strong> size is measured in frames per second. It determines the latency between the audio being received by JACK and being sent to the output device. The smaller the buffer the lower the latency and, as a result, the higher the accuracy when monitoring audio for multitrack recording. 1024 is the default and is usually a safe value but smaller buffer sizes have less latency, i.e. less delay between the input and output. Try different settings to see how low you can go when recording without getting xruns. The functioning of lower size buffers depends on the power of your CPU and the specifics of your audio device. The lowest buffer most devices can handle well is 64.
  115. </p>
  116. <p>
  117. <strong>Sample rate</strong> is the frequency JACK will run and record audio at. 44.1kHz is the CD audio standard, but 48kHz is more common to go with video or for other typical audio. Higher sample rates allow for higher quality but take more disk space. Even for professional purposes, 48kHz is usually fine as the default.
  118. </p>
  119. <p>
  120. <strong>Latency</strong> is the JACK capture latency which measures the time taken to fill the audio capture buffer. This value is determined by the buffer, period size and samplerate settings used to start JACK.
  121. </p>
  122. </div>
  123. <h2><a name="jack_controls" id="jack_controls">JACK Controls</a></h2>
  124. <div class="level2">
  125. <p>
  126. <strong>Start</strong> Starts the JACK server, if its not running. This is the recommended way to start JACK.
  127. </p>
  128. <p>
  129. <strong>Stop</strong> stops the JACK server. It is wise to save your work in any open JACK apps before stopping JACK, just to be safe.
  130. </p>
  131. <p>
  132. <strong>Force restart</strong> should &#039;Start&#039; fail to start JACK, it is worth trying &#039;Force restart&#039; but you may lose the last changes made to the JACK settings.
  133. </p>
  134. <p>
  135. <strong>Configure</strong> opens the JACK settings window, which is covered in the next chapter.
  136. </p>
  137. <p>
  138. <strong>Switch Master</strong> tells JACK to apply any changes made in the JACK settings window.
  139. </p>
  140. <p>
  141. <strong>Auto-start JACK or LADISH at login</strong> lets you pick if you&#039;d like to start JACK or a LADISH studio at boot. KXStudio includes an app called Claudia which lets you create virtual &#039;LADISH&#039; studios of interlinked audio applications. After creating such a studio within Claudia, you can use Cadence to configure your machine boot into a saved LADISH studio configuration. Starting a LADISH studio at boot also starts JACK using the settings defined within the studio.
  142. </p>
  143. </div>
  144. <h2><a name="jack_bridges" id="jack_bridges">JACK Bridges</a></h2>
  145. <div class="level2">
  146. <p>
  147. Cadences main window integrates the control of a few &#039;JACK bridges&#039; -services which enable alternate Linux sound systems to run seemlessly atop JACK.
  148. </p>
  149. <p>
  150. The ALSA audio bridge enables one or more ALSA audio applications to access your JACK device when it is started. Most everybody will want to ensure this is kept running alongside JACK as it enables audio for non-JACK apps such as Firefox. If you have chosen for JACK to start at boot then the ALSA audio bridge also gets started automatically.
  151. </p>
  152. <p>
  153. The ALSA MIDI bridge needs to be running if you want to use any MIDI hardware.
  154. </p>
  155. <p>
  156. PulseAudio is not included by default with KXStudio, and so the PulseAudio bridge will not function without PulseAudio.. Most applications which use PA also use ALSA directly so there is then no need for PA or the bridge. If needed for some reason, you can use PA with JACK via the bridge if PulseAudio is installed first.
  157. </p>
  158. </div>
  159. <!-- wikipage stop -->
  160. </div>
  161. <div class="clearer">&nbsp;</div>
  162. <div class="stylefoot">
  163. <div class="meta">
  164. <div class="user">
  165. </div>
  166. <div class="doc">
  167. cadence_introduction.txt &middot; Last modified: 2013/05/12 09:55 by danboid </div>
  168. </div>
  169. <div class="bar" id="bar__bottom">
  170. <div class="bar-left" id="bar__bottomleft">
  171. <form class="button btn_source" method="post" action="/doku.php"><div class="no"><input type="hidden" name="do" value="edit" /><input type="hidden" name="rev" value="" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Show pagesource" class="button" accesskey="v" title="Show pagesource [ALT+V]" /></div></form> <form class="button btn_revs" method="get" action="/doku.php"><div class="no"><input type="hidden" name="do" value="revisions" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Old revisions" class="button" accesskey="o" title="Old revisions [ALT+O]" /></div></form> </div>
  172. <div class="bar-right" id="bar__bottomright">
  173. <form class="button btn_login" method="get" action="/doku.php"><div class="no"><input type="hidden" name="do" value="login" /><input type="hidden" name="sectok" value="2e656bcf532574243e4bd22410c93306" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Login" class="button" title="Login" /></div></form> <form class="button btn_index" method="get" action="/doku.php"><div class="no"><input type="hidden" name="do" value="index" /><input type="hidden" name="id" value="cadence_introduction" /><input type="submit" value="Index" class="button" accesskey="x" title="Index [ALT+X]" /></div></form> <a class="nolink" href="#dokuwiki__top"><input type="button" class="button" value="Back to top" onclick="window.scrollTo(0, 0)" title="Back to top" /></a>&nbsp;
  174. </div>
  175. <div class="clearer"></div>
  176. </div>
  177. </div>
  178. </div>
  179. <div class="footerinc">
  180. <a href="/feed.php" title="Recent changes RSS feed"><img src="/lib/tpl/default/images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a>
  181. <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" title="Creative Commons License"><img src="/lib/tpl/default/images/button-cc.gif" width="80" height="15" alt="Creative Commons License" /></a>
  182. <a href="http://wiki.splitbrain.org/wiki:donate" title="Donate"><img src="/lib/tpl/default/images/button-donate.gif" alt="Donate" width="80" height="15" /></a>
  183. <a href="http://www.php.net" title="Powered by PHP"><img src="/lib/tpl/default/images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a>
  184. <a href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="/lib/tpl/default/images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
  185. <a href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="/lib/tpl/default/images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
  186. <a href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="/lib/tpl/default/images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
  187. <!--
  188. <rdf:RDF xmlns="http://web.resource.org/cc/"
  189. xmlns:dc="http://purl.org/dc/elements/1.1/"
  190. xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  191. <Work rdf:about="">
  192. <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
  193. <license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/" />
  194. </Work>
  195. <License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.0/">
  196. <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
  197. <permits rdf:resource="http://web.resource.org/cc/Distribution" />
  198. <requires rdf:resource="http://web.resource.org/cc/Notice" />
  199. <requires rdf:resource="http://web.resource.org/cc/Attribution" />
  200. <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
  201. <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
  202. <requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
  203. </License>
  204. </rdf:RDF>
  205. -->
  206. </div>
  207. <div class="no"><img src="/lib/exe/indexer.php?id=cadence_introduction&amp;1369167597" width="1" height="1" alt="" /></div>
  208. </body>
  209. </html>