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.

145 lines

  1. <?php
  2. $PAGE_TITLE = "KXStudio";
  4. $PAGE_SOURCE_1 = ARRAY("/Documentation", "/Documentation", "/Documentation:Manual:cadence_introduction");
  5. $PAGE_SOURCE_2 = ARRAY("Documentation", "Manual", "Cadence Introduction");
  6. include_once("includes/header.php");
  7. ?>
  8. <div class="level1">
  9. <p>
  10. 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.
  11. </p>
  12. <p>
  13. <a href="<?php echo $ROOT; ?>/screenshots/cadence1.png" class="media" title="cadence.png"><img src="<?php echo $ROOT; ?>/screenshots/cadence1.png" class="media" alt="" /></a>
  14. </p>
  15. </div>
  16. <h2><span name="system_information" id="system_information">System Information</span></h2>
  17. <div class="level2">
  18. <p>
  19. 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.
  20. </p>
  21. </div>
  22. <h2><span name="system_status" id="system_status">System Status</span></h2>
  23. <div class="level2">
  24. <p>
  25. 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 is included by default in 12.04.3.</em>
  26. </p>
  27. </div>
  28. <h2><span name="system_checks" id="system_checks">System Checks</span></h2>
  29. <div class="level2">
  30. <p>
  31. 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 and is also required to access FireWire devices.
  32. </p>
  33. <p>
  34. The user created during installation of KXStudio 12.04.3 is automatically added into the audio and video groups but newly created users will not be part of these groups. You can add a user to the audio group by running:
  35. </p>
  36. <pre class="code">sudo adduser &lt;username&gt; audio</pre>
  37. <p>
  38. Replace &lt;username&gt; with a KXStudio user name when you run that command in a terminal. You will then need to log out and back in or reboot before the user will be recognised as being in the audio group. Alternately, you can manage users and groups using the graphical kuser tool which is included with 12.04.3.
  39. </p>
  40. </div>
  41. <h2><span name="jack_status" id="jack_status">JACK Status</span></h2>
  42. <div class="level2">
  43. <p>
  44. <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.
  45. </p>
  46. <p>
  47. <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.
  48. </p>
  49. <p>
  50. <strong><acronym title="Digital Signal Processing">DSP</acronym> Load</strong> is the current CPU load estimated by JACK. If it gets too high you may experience performance issues.
  51. </p>
  52. <p>
  53. <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 at least minimize) xruns.
  54. </p>
  55. <p>
  56. <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 size most decent quality audio devices can handle well is 64.
  57. </p>
  58. <p>
  59. <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 require more disk space. Even for professional purposes, 48kHz is usually fine as the default. Additionally, 48 and 96Khz allow for lower latency than using 44.1 or 88.2 due to the way it is calculated.
  60. </p>
  61. <p>
  62. <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.
  63. </p>
  64. </div>
  65. <h2><span name="jack_controls" id="jack_controls">JACK Controls</span></h2>
  66. <div class="level2">
  67. <p>
  68. <strong>Start</strong> Starts the JACK server, if its not running. This is the recommended way to start JACK.
  69. </p>
  70. <p>
  71. <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.
  72. </p>
  73. <p>
  74. <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.
  75. </p>
  76. <p>
  77. <strong>Configure</strong> opens the JACK settings window, which is covered in the next chapter.
  78. </p>
  79. <p>
  80. <strong>Switch Master</strong> tells JACK to apply any changes made in the JACK settings window.
  81. </p>
  82. <p>
  83. <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.
  84. </p>
  85. </div>
  86. <h2><span name="jack_bridges" id="jack_bridges">JACK Bridges</span></h2>
  87. <div class="level2">
  88. <p>
  89. Cadence&#039;s main window integrates the control of a few &#039;JACK bridges&#039; -services which enable alternate Linux sound systems to run seemlessly atop JACK.
  90. </p>
  91. <p>
  92. The <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> audio bridge enables one or more <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> 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 <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> audio bridge also gets started automatically.
  93. </p>
  94. <p>
  95. The <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> MIDI bridge needs to be running if you want to use any MIDI hardware.
  96. </p>
  97. <p>
  98. PulseAudio is not included by default with KXStudio and the PulseAudio bridge will not function until it has been installed. Most applications which use PA can use <acronym title="Advanced Linux Sound Architecture">ALSA</acronym> or JACK instead so there is often no need for PA and its bridge.
  99. </p>
  100. </div>
  101. <p><br/></p>
  102. <?php
  103. include_once("includes/footer.php");
  104. ?>