2 <img src="/images/connection-manager.png" alt="An example patchbay">
9 The <dfn>patchbay</dfn> is the main way to make connections to, from and
10 within Ardour's mixer.
13 Notable exceptions are internal aux sends and connections to the monitor bus
14 (when using one): these cannot be controlled from a patchbay, and are
15 basically not under manual control at all.
18 The patchbay presents two groups of ports; one set of <dfn>sources</dfn>
19 (which produce data), and one of <dfn>destinations</dfn> (which consume data).
20 Depending on the relative number of each, the sources will be placed on the
21 left or the top of the dialogue, and the destinations on the right or the
22 bottom. Thus, in general, signal flow is from top or left to right or bottom.
25 Both sources and destinations are divided up into groups, with each group
31 <td>These are ports which are connected to a physical piece of hardware
32 (a sound card or MIDI interface).</td></tr>
33 <tr><th>Ardour Busses</th>
34 <td>All ports belonging to busses.</td></tr>
35 <tr><th>Ardour Tracks</th>
36 <td>All ports belonging to tracks.</td></tr>
37 <tr><th>Ardour Misc</th>
38 <td>These are other ports that do not fit into the previous two
39 categories; for example, the ports on which the metronome click
40 is output, and MIDI ports for things like control surfaces and
44 If the Jack backend is being used and if there are other JACK clients
45 running, their ports will be found
46 here. If there are no such ports, the tab will not exist (on one or
47 both axes of the grid).</td></tr>
50 The main part of the patchbay is a <dfn>matrix grid</dfn>. Within this grid,
51 green dots represent connections, and any of the squares can be clicked on to
52 make or break connections. Clicking and dragging draws a line of connections,
53 which is sometimes useful for making many connections at once.
56 In the example patchbay shown above we can note various things. We are
57 using the <kbd class="menu">Ardour Tracks</kbd> sources tab, so we see
58 the output ports of the three tracks in our session: Fred, Jim and Foo.
59 Our destinations are from the <kbd class="menu">Ardour Busses</kbd> tab,
60 so we have the inputs of a session bus, Sheila, and the inputs of the
61 master bus. Fred and Jim have stereo outputs, so have L and R connections.
62 Foo is a MIDI track, so it only has one connection, and its squares in
63 the grid are coloured light grey to indicate that no connection can be
64 made between Foo (a MIDI output) and our busses (which are all audio-input).
67 The green dots in the example show that both Fred and Jim are connected
68 to the master bus, left to left and right to right.
71 <h2>Variants on the Patchbay</h2>
73 Slightly different versions of the patchbay are available from different
74 places in Ardour. A global view of all audio connections is available, in
75 <kbd class="menu">Window > Audio Connections</kbd>, or by pressing
76 <kbd class="mod2">P</kbd>. A corresponding MIDI Connection Manager can
77 be opened using <kbd class="mod23">P</kbd>.</p>
79 There is also a patchbay available when connecting individual tracks;
80 clicking on the input or output buttons of a mixer strip will open a
81 connection manager which has the corresponding track input or output as
82 the only destination or source, with all other ports available for
86 <h2>Other patchbay features</h2>
88 <kbd class="mouse">right</kbd>-clicking on a port name in the connection manager
89 opens a context menu which provides a few handy options:
92 <tr><th><kbd class="menu">Add audio port</kbd><br> and <br><kbd class="menu">Add MIDI port</kbd></th>
94 These options add audio or MIDI ports to the clicked source, if this is
95 possible. In this way, for example, tracks and busses can be extended to have
96 more inputs or outputs.
98 <tr><th><kbd class="menu">Remove <em>port_name</em></th>
100 Removes the given port, if possible. <kbd class="mouse mod3">Right</kbd>-clicking
101 a port will do the same.
103 <tr><th><kbd class="menu">Disconnect all from <em>port_name</em></kbd></th>
104 <td>Disconnects everything from the given port.</td></tr>
105 <tr><th><kbd class="menu">Rescan</kbd></th>
107 If Ardour is using the JACK backend, Ardour will try to keep abreast
108 of any changes to the JACK ports on
109 the system, and reflect them in any connection managers which are open.
110 If for some reason this fails, this can be used to re-scan the list of ports and
113 <tr><th><kbd class="menu">Show individual ports</kbd></th>
115 If a session has lots of multi-channel tracks or busses, it may be an
116 unnecessary detail that left has to be connected to left and right to right
117 every time a connection is made. This obviously gets worse with higher
118 channel counts (such as for 5.1 or Ambisonics). To make life easier with
119 such sessions, Show individual ports can be unticked. After that, the
120 channels of tracks and busses will be hidden, and any green dots added in
121 the connection manager will automatically connect each channel of the source
122 to the corresponding channel of the destination (left to left, right to
123 right and so on). In this mode, a half-circle in the connection grid
124 indicates that some (but not all) of the source's ports are connected to the
127 <tr><th><kbd class="menu">Flip</kbd></th>
129 This will flip the visible ports on the vertical axis with those on the
130 horizontal. If, for example, the top of the connection manager is showing
131 <kbd class="menu">Ardour Busses</kbd> and the right is showing
132 <kbd class="menu">Hardware</kbd>, flip will swap the view to the
133 opposite. Flipping can also be done by pressing <kbd>f</kbd>. Note that if
134 there are no matching tabs on both axes, flipping will be impossible.