Understanding routing

Routing an audio signal is sending it from somewhere to somewhere else.

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

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 page). By default, the routing is as follows:

  • 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.

Note that when a new bus is created, nothing is routed to its input.

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.

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.

Audio Connection Manager 

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.

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. 

ACM 1 

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 and Right).

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.

ACM 2

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 above you see that “Audio 1” has two outputs (Left and Right). This is normal: 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 between). More on this in the chapter Panning.

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):

ACM3

As you can see, the selected source tab is now Ardour Busses, and the 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?

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:

Drawing connection lines

Practical example of routing to a bus

In the following example session, there are two guitar tracks and one unused bus called Guitar bus, all Stereo.

ACM 4 

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.

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:

ACM 5 

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 Inputs or Outputs button of a track or bus in the mixer strip.

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:

Editor Mixer In Out

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

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:

Catia

Continuing

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.

NEXT: ROUTING BETWEEN APPLICATIONS or ARRANGING TRACKS