Update Routing Between Applications
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 270 KiB |
After Width: | Height: | Size: 326 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 628 KiB |
|
@ -5,64 +5,43 @@ weight = 7
|
||||||
#pre = "<b>1. </b>"
|
#pre = "<b>1. </b>"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Sometimes you may need to record the audio output of another program into Ardour (for example, the sound of a
|
Sometimes you may need to record the audio output of another program into
|
||||||
YouTube video playing in Firefox, or the output of SuperCollider or PureData). This chapter shows how to accomplish that.
|
Ardour, e.g. the sound of a YouTube video playing in Firefox, or the output of
|
||||||
|
SuperCollider or PureData. This chapter shows how to accomplish that.
|
||||||
|
|
||||||
The examples on this page were created on a computer running Ubuntu
|
The examples on this page were created on a computer running Ubuntu Linux.
|
||||||
Linux. Beware that things may work differently if you are on another OS
|
Beware that things may work differently if you are on another OS (in particular
|
||||||
(in particular if you are using a Mac, in which case you will be using
|
if you are using a Mac). The general principles are always the same, though.
|
||||||
JackPilot). The general principles are always the same, though.
|
|
||||||
|
|
||||||
### From your browser to Ardour
|
### From your browser to Ardour
|
||||||
|
|
||||||
Web browsers (Firefox, Chromium, etc) are not JACK-aware applications.
|
Web browsers (Firefox, Chromium, etc.) are not JACK-aware applications.
|
||||||
Luckily, systems such as KXStudio and UbuntuStudio come with a bridge
|
Fortunately, PipeWire now makes it fairly easy to connect any application that
|
||||||
application between regular system audio (like PulseAudio) and JACK. This
|
makes sounds to any JACK-aware recording application such as Ardour.
|
||||||
tutorial assumes you are using a computer with this bridge already
|
|
||||||
running and working.
|
|
||||||
|
|
||||||
The overall steps to record audio from YouTube (or any other sound
|
All you have to do is launch Qjackctl, start JACK, then start making sounds in
|
||||||
coming from your browser) into Ardour are:
|
the browser, then connect browser's outputs to a track in Ardour. You can use
|
||||||
|
either Connections or Graph windows in Qjackctl to do that, or you can do it
|
||||||
|
directly in Ardour. For that, in the Audio Connection Manager manager switch to
|
||||||
|
the _Other_ tab in _Sources_ on the left and connect your browser's output to an
|
||||||
|
Ardour track that is called _From YT_ here:
|
||||||
|
|
||||||
1. Create a Stereo Track in Ardour
|
{{< figure src="en/ardour7-youtube-connection-in-ardour.png" alt="" >}}
|
||||||
2. Disconnect Hardware sources from Track inputs
|
|
||||||
3. Connect PulseAudio Jack Sink to Track inputs
|
|
||||||
4. Start recording into the Track
|
|
||||||
5. Start playing the YouTube video
|
|
||||||
|
|
||||||
For this example, a new session was created with a new Stereo Track
|
As applications like web browsers do not usually have persistent audio output
|
||||||
named "*Firefox*":
|
ports, you do need to make your browser output some audio for the ports to be
|
||||||
|
created. That usually means playing a video or starting a videoconference.
|
||||||
|
|
||||||
![YouTube 1](en/Ardour4_YouTube_1.png)
|
After that, all you have to do is arm the track for recording, then start
|
||||||
|
recording:
|
||||||
|
|
||||||
Then we select the Track and click on the Inputs button on the Editor
|
{{< figure src="en/ardour7-youtube-recording.png" alt="" >}}
|
||||||
Mixer strip. In the screenshot above, it's the button just below the track name ("*Firefox*") 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.
|
|
||||||
|
|
||||||
First thing to do is to disconnect any microphone inputs from that track
|
{{% notice info %}}
|
||||||
("*system capture*"), if any. After disconnecting, this part of matrix
|
Please make sure you disconnected all other outputs (such as a mic) from the
|
||||||
for the "*Firefox*" Track should look like this (no green dots):
|
track's input, otherwise your track might catch more than you wanted and mix it
|
||||||
|
with the audio from your browser.
|
||||||
![YT 2](en/Ardour4_YouTube_2.png)
|
{{% /notice %}}
|
||||||
|
|
||||||
Next step is to change tabs in this same window. Choose "*Other*" 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 "*PulseAudio JACK Sink*" as a source. Click on the
|
|
||||||
appropriate empty squares to create connections (green dots) between
|
|
||||||
"*front-left*" and "*front-right*" to the Left and Right inputs of the
|
|
||||||
"*Firefox*" Track. It should eventually look like this:
|
|
||||||
|
|
||||||
![YT 3](en/Ardour4_YouTube_3.png)
|
|
||||||
|
|
||||||
Now you are ready to go. Simply follow the same recording procedures
|
|
||||||
explained in the **Recording Audio** 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.
|
|
||||||
|
|
||||||
![YT 4](en/Ardour4_YouTube_4.png)
|
|
||||||
|
|
||||||
### From JACK-aware applications to Ardour
|
### From JACK-aware applications to Ardour
|
||||||
|
|
||||||
|
@ -72,28 +51,28 @@ destination options in Ardour's Audio Connection Manager. You don't need
|
||||||
to worry about any PulseAudio / Jack bridge as in the YouTube example
|
to worry about any PulseAudio / Jack bridge as in the YouTube example
|
||||||
above.
|
above.
|
||||||
|
|
||||||
The procedure is essentially the same: create a Mono or Stereo Track to
|
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 the audio, set that track's inputs to the desired source, and
|
||||||
record as usual.
|
record as usual.
|
||||||
|
|
||||||
![Hydrogen](en/Ardour4_Hydrogen.png)
|
![Hydrogen](en/ardour7-hydrogen.png)
|
||||||
|
|
||||||
The screenshot above was taken while recording a drum pattern from
|
The screenshot above was taken while recording a drum pattern from Hydrogen
|
||||||
Hydrogen directly into an Ardour track named "*from Hydrogen*".
|
directly into an Ardour tracks named _Drum N_ where N is a number from 1 to 18.
|
||||||
Hydrogen's window is on the right. Ardour's Patchbay window was left
|
By default, Hydrogen creates a stereo output from its own mix. However you tell
|
||||||
open for demonstration: notice that the application "*Hydrogen*" shows
|
it to create per-instrument output ports instead (the checkbox is on the _Audio
|
||||||
up as a source under the "*Other*" tab. It is connected directly to the
|
System_ page of the _Preferences_ dialog).
|
||||||
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.
|
|
||||||
|
|
||||||
|
Hydrogen's window is on the right. Ardour's patchbay window was left open for
|
||||||
|
demonstration: notice that the application _Hydrogen_ shows up as a source
|
||||||
|
under the _Other_ tab. Its ports are connected directly to the inputs of the
|
||||||
|
tracks.
|
||||||
|
|
||||||
Continuing
|
## Continuing
|
||||||
----------
|
|
||||||
|
|
||||||
This concludes the **Getting Started** chapters. Now that you have
|
This concludes the _Recording_ chapter. Now that you have some audio imported,
|
||||||
some audio imported, recorded from a line or microphone input, or even
|
recorded from a line or microphone input, or even from another application,
|
||||||
from another application, proceed to the **Arranging Tracks** section and learn how to arrange your composition.
|
proceed to the _Arranging Tracks_ section and learn how to arrange your
|
||||||
|
composition.
|
||||||
|
|
||||||
Next: [ARRANGING TRACKS](../arranging-tracks)
|
NEXT: [ARRANGING TRACKS](../../editing-sessions/arranging-tracks/)
|
||||||
|
|