ardour-tutorial/content/recording/understanding-routing/index.en.md

178 lines
8.5 KiB
Markdown
Raw Normal View History

+++
title = "Understanding routing"
2022-03-31 03:24:33 -04:00
description = "Routing signal in Ardour"
chapter = false
weight = 4
featherlight = false
+++
Routing an audio signal is sending it from somewhere to somewhere else.
2022-03-31 03:24:33 -04:00
In addition to getting audio signals to and from Ardour, routing plays an
important part inside Ardour itself. Examples of using routing inside Ardour
include routing audio from tracks to the _Master_ bus or to other busses,
creating 'sends', routing the outputs from busses to the _Master_ bus, etc. (see
chapter on **Creating a Track** for an explanation of tracks and busses). All
routing, both internal and external to Ardour, is handled by JACK.
### Routing in Ardour
2022-03-31 03:24:33 -04:00
The standard routing of inputs, tracks and busses in Ardour is determined when
a new session is created in the _Advanced Options_ of the _New Session_ dialog
box (see the [Starting Ardour](../../getting-started/starting-ardour-on-ubuntu/)
page). By default, the routing is as follows:
2022-03-31 03:24:33 -04:00
- The audio device inputs are routed to the track inputs.
- All outputs from tracks and busses are routed to the master bus inputs.
- The _Master_ bus outputs are routed to the audio device outputs.
2022-03-31 03:24:33 -04:00
Note that when a new bus is created, nothing is routed to its input.
2022-03-31 03:24:33 -04:00
This routing setup makes sense for sessions containing only tracks, but to make
use of any busses (other than the _Master_ bus) or to get creative with the
paths of the audio signals inside Ardour, we need to be able to change the
routing.
2022-03-31 03:24:33 -04:00
The _Audio Connection Manager_ window (also known as the patchbay) is the main
way to make connections to, from ,and within Ardour's mixer. You can open this
window with the shortcut **Alt + P**, or through the
`Window > Audio Connections` menu.
2022-04-24 18:50:30 -04:00
{{< figure alt="Audio Connection Manager" src="en/ardour7-audio-connections-in-menu.png" >}} 
2022-03-31 03:24:33 -04:00
The patchbay presents two groups of ports; one set of sources, and one of
destinations. Sources and destinations are organized by tabs. The available
sources are displayed vertically on the left side, and the destinations are
displayed horizontally at the bottom.
2022-03-31 03:24:33 -04:00
In the screenshot below, notice that the _Hardware_ tab is selected on the top
left (that's a source), and the *_Ardour Tracks_* is selected as a destination
in the bottom. This means that the matrix you see displays connections from
available hardware sound sources (for example, a microphone), into existing
Ardour tracks. 
2022-04-24 18:50:30 -04:00
{{< figure alt="ACM 1" src="en/ardour7-audio-connection-manager-1.png" >}} 
2022-03-31 03:24:33 -04:00
The green dots represent a connection. The screenshot above tells us that
incoming sounds from _capture\_1_ (the first input source of your soundcard, or
the built-in microphone of your laptop) are going into Ardour track named _Audio
1_, and also that incoming sounds from _capture\_2_ are going into input of
Ardour track named _Audio 2_.
Notice we can see that _Audio 1_ is a Mono track because it only has one
connection slot, while track _Audio 2_ is Stereo since it has two slots (Left
2022-03-31 03:24:33 -04:00
and Right).
2022-03-31 03:24:33 -04:00
The next screenshot shows the signal path from _Ardour Tracks_ (selected
vertical tab) into Ardour busses (selected horizontal tab). As mentioned
earlier, the default setting for all _Ardour Tracks_ is that their sound goes to
the _Master_ bus.
2022-04-24 18:50:30 -04:00
{{< figure alt="ACM 2" src="en/ardour7-audio-connection-manager-2.png" >}}
Note: remember that _Audio 1_ is a Mono track? We saw it in the earlier
screenshot that _Audio 1_ only has one input slot. But now on the screenshot
2022-04-24 18:50:30 -04:00
above you see that "Audio 1" has two outputs (left and right). This is normal:
2022-03-31 03:24:33 -04:00
we define whether a track is Mono or Stereo by its *number of inputs*, not
outputs. Mono tracks will hold a single channel of audio, but you can still
choose to place the sound on the left or the right speaker (or anywhere in
2022-04-24 18:50:30 -04:00
between). For more on this please see the _Panning_ chapter.
2022-03-31 03:24:33 -04:00
Finally, let's explore a couple more tabs in the _Audio Connection Manager_ to
see the sound going from the _Master_ bus to the actual hardware outputs (your
loudspeakers or headphones):
{{< figure src="en/ardour7-audio-connection-manager-3.png" alt="ACM3" >}}
As you can see, the selected source tab is now _Ardour Busses_, and the
2022-03-31 03:24:33 -04:00
destination tab is _Hardware_. This session happens to have only one bus, the
default "master out". The green dots show that all sounds coming out of the
_Master_ bus are going to system playback 1 and 2, which are the outputs of your
soundcard.
### How to connect and disconnect?
2022-03-31 03:24:33 -04:00
To make a connection, click on the desired empty square in the matrix; a green
dot will appear to indicate the connection is made.
To undo a connection, simply click on an existing green dot and it will
disappear.
There is a neat trick you can use when you need to map many mono/stereo outputs
to many mono/stereo inputs: rather than making many single clicks, draw a
connection line. Here is how you do it:
{{< figure src="en/ardour7-drawing-connection-lines.gif" alt="Drawing connection lines" >}}
### Practical example of routing to a bus
2022-03-31 03:24:33 -04:00
In the following example session, there are two guitar tracks and one
unused bus called _Guitar_ bus, all Stereo.
2022-04-24 18:50:30 -04:00
{{< figure alt="ACM 4" src="en/ardour7-audio-connection-manager-4.png" >}} 
2022-03-31 03:24:33 -04:00
Suppose you want to send the output from the two guitar tracks to the _Guitar_
bus instead of the _Master_ bus. This can be useful to control the volume of
both guitars with just one fader (in this case the _Guitar_ bus fader) or
placing two instruments into the same virtual room by using a reverb plugin on
the bus. Then the output of the _Guitar_ bus, which is the sum of the two
guitars, goes directly to the _Master_ bus.
2022-03-31 03:24:33 -04:00
Here is how to edit the patchbay to get the desired routing. Select _Ardour
Tracks_ tab from _Sources_ (vertical tabs), and _Ardour Busses_ from
destinations (horizontal bottom tabs). Undo existing connections from both
tracks to _Master_. Then create connections from both tracks to _Guitar_ bus.
The final result would look like this:
2022-04-24 18:50:30 -04:00
{{< figure alt="ACM 5" src="en/ardour7-audio-connection-manager-5.png" >}} 
2022-03-31 03:24:33 -04:00
Now both guitar tracks are routed to the _Guitar_ bus, and no longer directly
connected to the _Master_ bus. We then make sure that the _Guitar_ bus is, by
its turn, routed to the _Master_ bus (the output routing of a bus is edited in
the same way as for a track), so that we can still hear the sound from both
guitar tracks. Now we can control the volume of both guitar tracks together by
changing the fader of the _Guitar_ bus. What's more, we can now add plugins to
the Guitar Bus to process the sound of both guitar Tracks together.
### Track- or Bus-specific views of the Patchbay
The _Audio Connection Manager_ (Patchbay) that you open with **Alt + P** shows
you the complete matrix of every single source and every single destination
available in Ardour. Sometimes this is too much: you just want to quickly change
the routing of a single track input or output, for example. Ardour allows you to
access a relevant subset of Patchbay connections when you click directly on the
2022-03-31 03:24:33 -04:00
**Inputs** or **Outputs** button of a track or bus in the mixer strip.
2022-03-31 03:24:33 -04:00
The **Inputs** button is at the top, and the **Outputs** button is on the bottom
of the strip. Clicking on either one will show you a menu of connection
options. In the screenshot below, for example, you would click on the **1/2**
button right under the track name _Guitar 1_ in order to access this menu:
2022-04-24 18:50:30 -04:00
{{< figure alt="Editor Mixer In Out" src="en/ardour7-editor-mixer-in-out.png" >}}
2022-03-31 03:24:33 -04:00
You may select a connection right there from the menu, or choose _Routing Grid_
to see a simpler version of the _Audio Connection Manager_ with only the
**Inputs** or **Outputs** of the selected track or bus.
### All Ardour connections are JACK connections
2022-03-31 03:24:33 -04:00
It is important to realize that any routings that you make or disconnect from
within Ardour are in fact JACK routings, which you can see from other
applications like _Qjackctl_ or _Catia_, depending on your operating system.
Below is an example of a _Catia_ window (Linux only) displaying the same JACK
connections discussed above:
2022-04-24 18:50:30 -04:00
{{< figure alt="Catia" src="en/Ardour4_Catia_Example.png" >}}
2022-04-24 18:50:30 -04:00
## Continuing
2022-03-31 03:24:33 -04:00
In this chapter, we covered how to manage routing inside Ardour, or between
Ardour and the sound card. However, one of the strengths of using the JACK
system is that it can also manage connections between applications on the same
computer. To gain a better understanding of how this works, please continue to
the chapter _Routing Between Applications_. If you would prefer to work only
with Ardour, then skip ahead to the section on _Arranging Tracks_.
2022-03-31 03:24:33 -04:00
NEXT: [ROUTING BETWEEN APPLICATIONS](../routing-between-applications) or
[ARRANGING TRACKS](../../editing-sessions/arranging-tracks/)