ardour-tutorial/en/recording-audio/routing-between-applications/index.html

59 lines
22 KiB
HTML
Raw Normal View History

<!doctype html><html lang=en class="js csstransforms3d"><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.96.0"><meta name=description content><link rel=icon href=/ardour-tutorial/images/favicon.png type=image/png><title>Routing between applications :: Ardour tutorial</title><link href=/ardour-tutorial/css/nucleus.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/fontawesome-all.min.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/hybrid.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/featherlight.min.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/perfect-scrollbar.min.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/auto-complete.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/atom-one-dark-reasonable.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/theme.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/tabs.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/hugo-theme.css?1648624032 rel=stylesheet><link href=/ardour-tutorial/css/theme-blue.css?1648624032 rel=stylesheet><script src=/ardour-tutorial/js/jquery-3.3.1.min.js?1648624032></script><style>:root #header+#content>#left>#rlblock_left{display:none!important}:not(pre)>code+span.copy-to-clipboard{display:none}</style></head><body data-url=/ardour-tutorial/en/recording-audio/routing-between-applications/><nav id=sidebar><div id=header-wrapper><div id=header><a id=logo href=/ardour-tutorial/en/><svg id="Layer_1" width="92" height="80" viewBox="0 0 92 80" enable-background="new 0 0 92 80" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"><defs id="defs6"/><path id="path6984" fill="#c61f40" d="M45.586.44-.082 79.558c3.356.0 2.828-2.382 4.417-2.382 1.681.004 1.367 1.19 2.951 1.19.814.0 1.467-.806 1.466-2.804.0-2.664.661-4.017 1.476-4.017s1.476 1.187 1.476 2.372c0 1.492.662 2.678 1.476 2.678.814.0 1.477-2.019 1.477-4.512l-.01-2.857c0-3.447.661-6.24 1.476-6.24s1.477 1.207 1.476 5.112c0 3.104.662 6.198 1.476 6.198s1.478-3.602 1.477-9.382c0-6.68.65-10.996 1.465-10.996s1.477 4.32 1.476 8.582c0 4.977.662 9.878 1.477 9.878s1.477-4.902 1.476-11.701c0-7.302.651-12.609 1.466-12.609.813.0 1.477 5.308 1.476 11.406.0 6.4.661 11.955 1.476 11.955s1.476-5.551 1.476-12.661c0-7.109.651-12.766 1.466-12.766s1.476 5.656 1.476 12.649c0 6.994.662 12.641 1.476 12.641s1.477-5.65 1.477-12.397c0-6.602.65-12.135 1.465-12.135s1.476 5.53 1.476 12.746c0 6.952.663 12.271 1.477 12.271.813.0 1.477-5.318 1.476-11.332.0-5.651.651-10.669 1.465-10.669s1.478 5.027 1.477 11.882c0 6.413.661 11.068 1.476 11.068s1.477-4.657 1.476-9.667c0-4.514.651-8.781 1.466-8.781s1.477 4.265 1.476 10.32c0 5.522.662 9.351 1.476 9.351s1.477-3.825 1.477-7.727c0-3.353.65-6.737 1.465-6.737s1.476 3.382 1.476 8.382c0 4.449.662 7.389 1.477 7.389s1.476-2.586 1.476-5.407c0-2.911.662-5.145 1.476-5.145s1.466 2.501 1.466 6.356c0 3.345.661 5.439 1.476 5.439s1.476-1.732 1.476-3.479c0-1.801.662-3.563 1.477-3.563.813.0 1.465 1.703 1.465 4.459.0 2.317.662 3.668 1.477 3.668s1.477-.941 1.477-2.034c0-1.438.661-2.098 1.476-2.098s1.466.987 1.466 2.814c0 1.44.661 2.192 1.476 2.192 1.539.0 1.331-1.917 2.951-1.929 1.773.0 1.253 2.571 2.941 2.571 1.217.0 2.159-.469 2.952-.474 1.316.0 1.408.928 4.416.928L45.588.44H45.586z" style="fill:#000"/></svg></a></div><div class=searchbox><label for=search-by><i class="fas fa-search"></i></label>
<input data-search-input id=search-by type=search placeholder=Search...>
<span data-search-clear><i class="fas fa-times"></i></span></div><script type=text/javascript src=/ardour-tutorial/js/lunr.min.js?1648624032></script>
<script type=text/javascript src=/ardour-tutorial/js/auto-complete.js?1648624032></script>
<script type=text/javascript>var baseurl="https://prokoudine.github.io/ardour-tutorial/en"</script><script type=text/javascript src=/ardour-tutorial/js/search.js?1648624032></script></div><section id=homelinks><ul><li><a class=padding href=/ardour-tutorial/en/><i class="fas fa-home"></i> Home</a></li></ul></section><div class=highlightable><ul class=topics><li data-nav-id=/ardour-tutorial/en/introduction/ title=Introduction class=dd-item><a href=/ardour-tutorial/en/introduction/><b>1. </b>Introduction</a><ul><li data-nav-id=/ardour-tutorial/en/introduction/conventions/ title=Conventions class=dd-item><a href=/ardour-tutorial/en/introduction/conventions/>Conventions</a></li><li data-nav-id=/ardour-tutorial/en/introduction/what-is-digital-audio/ title="What is digital audio?" class=dd-item><a href=/ardour-tutorial/en/introduction/what-is-digital-audio/>What is digital audio?</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/getting-started/ title="Getting started" class=dd-item><a href=/ardour-tutorial/en/getting-started/><b>2. </b>Getting started</a><ul><li data-nav-id=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/ title="Starting Ardour" class=dd-item><a href=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/>Starting Ardour</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/ title="Overview of the Interface" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/>Overview of the Interface</a><ul><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/ title="Editor window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/>Editor window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/ title="Mixer window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/>Mixer window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/ title="Recorder window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/>Recorder window</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/ title="Cue window" class=dd-item><a href=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/>Cue window</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/ title="Creating tracks and busses" class=dd-item><a href=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/>Creating tracks and busses</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/importing-audio/ title="Importing audio" class=dd-item><a href=/ardour-tutorial/en/getting-started/importing-audio/>Importing audio</a></li><li data-nav-id=/ardour-tutorial/en/getting-started/setting-up-the-timeline/ title="Setting up the timeline" class=dd-item><a href=/ardour-tutorial/en/getting-started/setting-up-the-timeline/>Setting up the timeline</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/recording-audio/ title=Recording class="dd-item
parent"><a href=/ardour-tutorial/en/recording-audio/><b>3. </b>Recording</a><ul><li data-nav-id=/ardour-tutorial/en/recording-audio/recording-audio/ title="Recording audio" class=dd-item><a href=/ardour-tutorial/en/recording-audio/recording-audio/>Recording audio</a></li><li data-nav-id=/ardour-tutorial/en/recording-audio/understanding-routing/ title="Understanding routing" class=dd-item><a href=/ardour-tutorial/en/recording-audio/understanding-routing/>Understanding routing</a></li><li data-nav-id=/ardour-tutorial/en/recording-audio/routing-between-applications/ title="Routing between applications" class="dd-item active"><a href=/ardour-tutorial/en/recording-audio/routing-between-applications/>Routing between applications</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/ title="Editing sessions" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/><b>4. </b>Editing sessions</a><ul><li data-nav-id=/ardour-tutorial/en/editing-sessions/non-destructive-editing/ title="Non-destructive editing" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/non-destructive-editing/>Non-destructive editing</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/arranging-tracks/ title="Arranging tracks" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/arranging-tracks/>Arranging tracks</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/setting-up-the-meter/ title="Setting up the meter" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/setting-up-the-meter/>Setting up the meter</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/using-ranges/ title="Using ranges" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/using-ranges/>Using ranges</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/working-with-regions/ title="Working with regions" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/working-with-regions/>Working with regions</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/further-region-operations/ title="Further region operations" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/further-region-operations/>Further region operations</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/changing-edit-modes/ title="Changing edit modes" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/changing-edit-modes/>Changing edit modes</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/creating-looped-sections/ title="Creating looped sections" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/creating-looped-sections/>Creating looped sections</a></li><li data-nav-id=/ardour-tutorial/en/editing-sessions/stretching-shrinking-regions/ title="Stretching & shrinking regions" class=dd-item><a href=/ardour-tutorial/en/editing-sessions/stretching-shrinking-regions/>Stretching & shrinking regions</a></li></ul></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/ title="Mixing sessions" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/><b>5. </b>Mixing sessions</a><ul><li data-nav-id=/ardour-tutorial/en/mixing-sessions/the-mixer-strip/ title="The mixer strip" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/the-mixer-strip/>The mixer strip</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/mixing-levels/ title="Mixing levels" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/mixing-levels/>Mixing levels</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/panning/ title=Panning class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/panning/>Panning</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/using-plugins/ title="Using plugins" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/using-plugins/>Using plugins</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/using-sends/ title="Using sends" class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/using-sends/>Using sends</a></li><li data-nav-id=/ardour-tutorial/en/mixing-sessions/dynamics/ title=Dynamics class=dd-item><a href=/ardour-tutorial/en/mixing-sessions/dynam
<span id=toc-menu><i class="fas fa-list-alt"></i></span>
<span class=links><a href=/ardour-tutorial/en/>Home</a> > <a href=/ardour-tutorial/en/recording-audio/>Recording</a> > Routing between applications</span></div><div class=progress><div class=wrapper><nav id=TableOfContents><ul><li><ul><li><a href=#from-your-browser-to-ardour>From your browser to Ardour</a></li><li><a href=#from-jack-aware-applications-to-ardour>From JACK-aware applications to Ardour</a></li></ul></li><li><a href=#continuing>Continuing</a></li></ul></nav></div></div></div></div><div id=head-tags></div><div id=body-inner><h1>Routing between applications</h1><p>Sometimes you may need to record the audio output of another program into Ardour (for example, the sound of a
YouTube video playing in Firefox, or the output of SuperCollider or PureData). This chapter shows how to accomplish that.</p><p>The examples on this page were created on a computer running Ubuntu
Linux. Beware that things may work differently if you are on another OS
(in particular if you are using a Mac, in which case you will be using
JackPilot). The general principles are always the same, though.</p><h3 id=from-your-browser-to-ardour>From your browser to Ardour</h3><p>Web browsers (Firefox, Chromium, etc) are not JACK-aware applications.
Luckily, systems such as KXStudio and UbuntuStudio come with a bridge
application between regular system audio (like PulseAudio) and JACK. This
tutorial assumes you are using a computer with this bridge already
running and working.</p><p>The overall steps to record audio from YouTube (or any other sound
coming from your browser) into Ardour are:</p><ol><li>Create a Stereo Track in Ardour</li><li>Disconnect Hardware sources from Track inputs</li><li>Connect PulseAudio Jack Sink to Track inputs</li><li>Start recording into the Track</li><li>Start playing the YouTube video</li></ol><p>For this example, a new session was created with a new Stereo Track
named &ldquo;<em>Firefox</em>&rdquo;:</p><p><img src=en/Ardour4_YouTube_1.png alt="YouTube 1"></p><p>Then we select the Track and click on the Inputs button on the Editor
Mixer strip. In the screenshot above, it&rsquo;s the button just below the track name ("<em>Firefox</em>") in the Editor Mixer
strip (it shows only a &ldquo;-&rdquo; (dash)in the example above, meaning that there are no connections made yet). We are presented with the Patchbay window specific to that
Track&rsquo;s inputs.</p><p>First thing to do is to disconnect any microphone inputs from that track
("<em>system capture</em>"), if any. After disconnecting, this part of matrix
for the &ldquo;<em>Firefox</em>&rdquo; Track should look like this (no green dots):</p><p><img src=en/Ardour4_YouTube_2.png alt="YT 2"></p><p>Next step is to change tabs in this same window. Choose &ldquo;<em>Other</em>&rdquo; as the
source. This is where you will find other running applications that can
be sound sources to Ardour. On a Linux computer with PulseAudio Jack
bridge, you will see &ldquo;<em>PulseAudio JACK Sink</em>&rdquo; as a source. Click on the
appropriate empty squares to create connections (green dots) between
&ldquo;<em>front-left</em>&rdquo; and &ldquo;<em>front-right</em>&rdquo; to the Left and Right inputs of the
&ldquo;<em>Firefox</em>&rdquo; Track. It should eventually look like this:</p><p><img src=en/Ardour4_YouTube_3.png alt="YT 3"></p><p>Now you are ready to go. Simply follow the same recording procedures
explained in the <strong>Recording Audio</strong> chapter: record-enable (arm) the
Track (small red circle on the track), arm Ardour to record (big red
button; it starts blinking), then hit the Play button. Go back to your
browser and start playing the YouTube video.</p><p><img src=en/Ardour4_YouTube_4.png alt="YT 4"></p><h3 id=from-jack-aware-applications-to-ardour>From JACK-aware applications to Ardour</h3><p>Other music software like SuperCollider, Hydrogen, and PureData are
JACK-aware. This means they will show up directly as source and
destination options in Ardour&rsquo;s Audio Connection Manager. You don&rsquo;t need
to worry about any PulseAudio / Jack bridge as in the YouTube example
above.</p><p>The procedure is essentially the same: create a Mono or Stereo Track to
record the audio, set that Track&rsquo;s inputs to the desired source, and
record as usual.</p><p><img src=en/Ardour4_Hydrogen.png alt=Hydrogen></p><p>The screenshot above was taken while recording a drum pattern from
Hydrogen directly into an Ardour track named &ldquo;<em>from Hydrogen</em>&rdquo;.
Hydrogen&rsquo;s window is on the right. Ardour&rsquo;s Patchbay window was left
open for demonstration: notice that the application &ldquo;<em>Hydrogen</em>&rdquo; shows
up as a source under the &ldquo;<em>Other</em>&rdquo; tab. It is connected directly to the
inputs of the track. Also notice that SuperCollider (another jack-aware
application) happened to be open at the same time, though its window is
not visible in this screenshot. SuperCollider provides 8 default sound
outputs, all of which show up as potential sources in Ardour&rsquo;s Patchbay.</p><h2 id=continuing>Continuing</h2><p>This concludes the <strong>Getting Started</strong> chapters. Now that you have
some audio imported, recorded from a line or microphone input, or even
from another application, proceed to the <strong>Arranging Tracks</strong> section and learn how to arrange your composition.</p><p>Next: <a href=../arranging-tracks>ARRANGING TRACKS</a></p><footer class=footline></footer></div></div><div id=navigation></div></section><div style=left:-1000px;overflow:scroll;position:absolute;top:-1000px;border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px><div style=border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px></div></div><script src=/ardour-tutorial/js/clipboard.min.js?1648624032></script>
<script src=/ardour-tutorial/js/perfect-scrollbar.min.js?1648624032></script>
<script src=/ardour-tutorial/js/perfect-scrollbar.jquery.min.js?1648624032></script>
<script src=/ardour-tutorial/js/jquery.sticky.js?1648624032></script>
<script src=/ardour-tutorial/js/featherlight.min.js?1648624032></script>
<script src=/ardour-tutorial/js/highlight.pack.js?1648624032></script>
<script>hljs.initHighlightingOnLoad()</script><script src=/ardour-tutorial/js/modernizr.custom-3.6.0.js?1648624032></script>
<script src=/ardour-tutorial/js/learn.js?1648624032></script>
<script src=/ardour-tutorial/js/hugo-learn.js?1648624032></script>
<script src=/ardour-tutorial/mermaid/mermaid.js?1648624032></script>
<script>mermaid.initialize({startOnLoad:!0})</script></body></html>