]> Shamusworld >> Repos - ardour-manual/blob - _manual/17_signal-routing/09_sidechaining.html
12a732f54eaf9b17a727858534e953615b566347
[ardour-manual] / _manual / 17_signal-routing / 09_sidechaining.html
1 ---
2 layout: default
3 title: Sidechaining
4 ---
5 <p>
6   Dynamic Processors &ndash; such as compressors &ndash; in general use the the original
7   input signal for analysis and operate on the same signal.
8   Side-chaining uses the signal level of <em>another input</em> to control
9   the compression level of the original signal.
10 </p>
11 <p>
12   Effect Processors which have a side-chain input (sometimes also called <em>key input</em>)
13   have an additional input pin to receive a signal from an external input.
14   In Ardour that extra input can be connected in the plugin's <kbd class="menu">Pin Configuration</kbd>
15   dialog: the signal from one track can be tapped off and used as an input to a
16   plugin on a different track. This dialog is
17   accessed via the plugin's context-menu &gt; <kbd class="menu">Pin Connections&hellip;</kbd>.
18 </p>
19 <p>
20   In case a plugin has a dedicated sidechain input, Ardour automatically
21   creates a port for the input. This is a normal I/O port which can be fed by any
22   external signal.
23   The <kbd class="menu">Pin Configuration</kbd> dialog is not limited to
24   processors with a dedicated sidechain input, it also allows to manually create
25   (or remove) a sidechain input port and provides for flexible connection of the
26   signal to plugin pins.
27 </p>
28 <p>
29   The operational flow in the Ardour GUI starts at the processor which is to receive
30   the signal: a sidechain source is selected, and Ardour creates a dedicated send-processor in the
31   source processor box, the level of which can be adjusted either in the Pin Configuration window
32   or directly on the source's send.
33 </p>
34
35 <h2>A simple example: Sidechain compression</h2>
36
37 <p>
38   One example is the use of a bassdrum track to trigger
39   the compression on a bass track. The sidechain compressor (a-Compressor) will be placed on
40   the bass track, and will need to receive the signal from the bassdrum track as
41   a way to trigger the compression.
42 </p>
43
44 <figure>
45   <img src="/images/sc-comp-pin.png" alt="Sidechain compression: Pin configuration">
46   <img src="/images/sc-comp-mixer.png" alt="Sidechain compression: Mixer view">
47   <img src="/images/sc-comp-editor.png" alt="Sidechain compression: Editor view">
48   <figcaption>
49     A sidechain compression: Pin configuration, mixer view and editor view.
50   </figcaption>
51 </figure>
52
53 <p>
54   Here, on the bass track, an <em>a-Compressor</em> has been added, and the
55   Drum track has been set as the sidechain source. The mixer reflects this
56   by showing an <em>SC</em>-send processor in the drum track, very similar to a <a href="/signal-routing/aux-sends/">send</a>
57   The bass track also shows an arrow as one of the a-compressor input.
58 </p>
59 <p>
60   As a result, in the editor, each peak in the kick drum track triggers the compression on the bass track
61   and the resulting track shows the compression kicking in on each kick drum peak, hence
62   reducing the gain. The compression is applied to the bass, but only based on the level of the drum track.
63 </p>
64 <p>
65   This is commonly used for <em>ducking</em> effect, when e.g. a radio speaker's voice triggers the
66   compression on the audio playing.
67 </p>
68
69 <h2>MIDI Sidechaining</h2>
70
71 <p>
72   Ardour allows the sidechain sources to be either audio or MIDI tracks/busses. This is
73   particularly useful when a MIDI signal is used to control an audio effect, like a
74   vocoder or an auto-tuner, like <a href="https://github.com/x42/fat1.lv2">fat1</a>,
75   the LV2 port of Fons Adriaensen's <a href="http://kokkinizita.linuxaudio.org/linuxaudio/zita-at1-doc/quickguide.html">Zita AT1</a>
76   by Robin Gareus:
77 </p>
78
79 <figure>
80   <img src="/images/pin-connection-autotune.png" alt="MIDI Sidechain">
81   <figcaption>
82     MIDI sidechainig example: fat1.lv2.
83   </figcaption>
84 </figure>
85
86 <p>
87   Here, the MIDI track is inputed to the plugin's MIDI IN pin through a sidechain,
88   indicating to the plugin what note should the source audio be corrected to.
89 </p>
90
91 <p class="note">
92   Notice that in the example above, the output of the "Vocals" track is connected
93   to the input of the "Corrected" track. We could have chosen to insert the "Vocals" track
94   content as an audio sidechain too, totally disconnecting the input from the plugin, and
95   connecting the plugin's input pin to the audio sidechain port.
96 </p>
97
98 <h2>Pre-processing the sidechained signal</h2>
99
100 <p>
101   Sometimes, the effects of a sidechain signal on a plugin can be enhanced by
102   pre-processing the signal.
103 </p>
104 <p>
105   In the first example above, if the entire drum part is on one track,
106   then compressing with this signal as a sidechain will result in every peak triggering the compression,
107   be them bass drum kicks or snare, cymbals, etc.
108 </p>
109 <p>
110   In this case, adding an EQ to the drum track with a low pass filter would filter out the peaks
111   created by the high pitched instruments of the drum kit, and allow for a better triggering, though to
112   avoid damaging the original drum track, a send to an intermediary track would be better suited
113   to place the EQ on. This track won't be connected to the Master, as its content is of no musical
114   interest except for it's use as a trigger, allowing for some extreme EQ.
115 </p>