<scripttype=text/javascript>varbaseurl="https://prokoudine.github.io/ardour-tutorial/en"</script><scripttype=text/javascriptsrc=/ardour-tutorial/js/search.js?1648155238></script></div><sectionid=homelinks><ul><li><aclass=paddinghref=/ardour-tutorial/en/><iclass="fas fa-home"></i> Home</a></li></ul></section><divclass=highlightable><ulclass=topics><lidata-nav-id=/ardour-tutorial/en/introduction/title=Introductionclass=dd-item><ahref=/ardour-tutorial/en/introduction/><b>1. </b>Introduction</a><ul><lidata-nav-id=/ardour-tutorial/en/introduction/conventions/title=Conventionsclass=dd-item><ahref=/ardour-tutorial/en/introduction/conventions/>Conventions</a></li><lidata-nav-id=/ardour-tutorial/en/introduction/what-is-digital-audio/title="What is digital audio?"class=dd-item><ahref=/ardour-tutorial/en/introduction/what-is-digital-audio/>What is digital audio?</a></li></ul></li><lidata-nav-id=/ardour-tutorial/en/getting-started/title="Getting started"class=dd-item><ahref=/ardour-tutorial/en/getting-started/><b>2. </b>Getting started</a><ul><lidata-nav-id=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/title="Starting Ardour"class=dd-item><ahref=/ardour-tutorial/en/getting-started/starting-ardour-on-ubuntu/>Starting Ardour</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/title="Overview of the Interface"class=dd-item><ahref=/ardour-tutorial/en/getting-started/overview-of-the-interface/>Overview of the Interface</a><ul><lidata-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/title="Editor window"class=dd-item><ahref=/ardour-tutorial/en/getting-started/overview-of-the-interface/editor-window/>Editor window</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/title="Mixer window"class=dd-item><ahref=/ardour-tutorial/en/getting-started/overview-of-the-interface/mixer-window/>Mixer window</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/title="Recorder window"class=dd-item><ahref=/ardour-tutorial/en/getting-started/overview-of-the-interface/recorder-window/>Recorder window</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/title="Cue window"class=dd-item><ahref=/ardour-tutorial/en/getting-started/overview-of-the-interface/cue-window/>Cue window</a></li></ul></li><lidata-nav-id=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/title="Creating tracks and busses"class=dd-item><ahref=/ardour-tutorial/en/getting-started/creating-tracks-and-busses/>Creating tracks and busses</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/importing-audio/title="Importing audio"class=dd-item><ahref=/ardour-tutorial/en/getting-started/importing-audio/>Importing audio</a></li><lidata-nav-id=/ardour-tutorial/en/getting-started/setting-up-the-timeline/title="Setting up the timeline"class=dd-item><ahref=/ardour-tutorial/en/getting-started/setting-up-the-timeline/>Setting up the timeline</a></li></ul></li><lidata-nav-id=/ardour-tutorial/en/recording-audio/title=Recordingclass="dd-item
<spanclass=links><ahref=/ardour-tutorial/en/>Home</a> > <ahref=/ardour-tutorial/en/recording-audio/>Recording</a> > Routing between applications</span></div><divclass=progress><divclass=wrapper><navid=TableOfContents><ul><li><ul><li><ahref=#from-your-browser-to-ardour>From your browser to Ardour</a></li><li><ahref=#from-jack-aware-applications-to-ardour>From JACK-aware applications to Ardour</a></li></ul></li><li><ahref=#continuing>Continuing</a></li></ul></nav></div></div></div></div><divid=head-tags></div><divid=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><h3id=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 “<em>Firefox</em>”:</p><p><imgsrc=en/Ardour4_YouTube_1.pngalt="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’s the button just below the track name ("<em>Firefox</em>") in the Editor Mixer
strip (it shows only a “-” (dash)in the example above, meaning that there are no connections made yet). We are presented with the Patchbay window specific to that
Track’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 “<em>Firefox</em>” Track should look like this (no green dots):</p><p><imgsrc=en/Ardour4_YouTube_2.pngalt="YT 2"></p><p>Next step is to change tabs in this same window. Choose “<em>Other</em>” 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 “<em>PulseAudio JACK Sink</em>” as a source. Click on the
appropriate empty squares to create connections (green dots) between
“<em>front-left</em>” and “<em>front-right</em>” to the Left and Right inputs of the
“<em>Firefox</em>” Track. It should eventually look like this:</p><p><imgsrc=en/Ardour4_YouTube_3.pngalt="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><imgsrc=en/Ardour4_YouTube_4.pngalt="YT 4"></p><h3id=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’s Audio Connection Manager. You don’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’s inputs to the desired source, and
record as usual.</p><p><imgsrc=en/Ardour4_Hydrogen.pngalt=Hydrogen></p><p>The screenshot above was taken while recording a drum pattern from
Hydrogen directly into an Ardour track named “<em>from Hydrogen</em>”.
Hydrogen’s window is on the right. Ardour’s Patchbay window was left
open for demonstration: notice that the application “<em>Hydrogen</em>” shows
up as a source under the “<em>Other</em>” 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’s Patchbay.</p><h2id=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: <ahref=../arranging-tracks>ARRANGING TRACKS</a></p><footerclass=footline></footer></div></div><divid=navigation></div></section><divstyle=left:-1000px;overflow:scroll;position:absolute;top:-1000px;border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px><divstyle=border:none;box-sizing:content-box;height:200px;margin:0;padding:0;width:200px></div></div><scriptsrc=/ardour-tutorial/js/clipboard.min.js?1648155238></script>