]> Shamusworld >> Repos - ardour-manual/blob - _manual/17_mixing/02_panning/03_stereo_panner.html
30492f64e16e57fa98073404d242032147d4c843
[ardour-manual] / _manual / 17_mixing / 02_panning / 03_stereo_panner.html
1 ---
2 layout: default
3 title: Stereo Panner
4 ---                        
5
6 <p>
7   The default <dfn>stereo panner</dfn> distributes two inputs to two outputs. Its
8   behaviour is controlled by two parameters, <dfn>width</dfn> and
9   <dfn>position</dfn>. The
10   default settings for the stereo panner are <samp>width=100%</samp> and  
11   <samp>position=center</samp>. 
12   This stereo panner assumes that the signals
13   you wish to distribute are either uncorrelated (i.e. totally 
14   independent), or that they contain a stereo image which is 
15   <em>mono-compatible</em>, such as a co-incident microphone recording, or a 
16   sound stage that has been created with pan pots.<sup><a href="#caveat">*</a></sup>
17 </p>
18 <p class="note">
19   With the default values it is not possible to alter the position,
20   since the width is already spread entirely across both outputs. To
21   alter the position, you must first reduce the width.
22 </p>
23
24 <h2>Stereo Panner User Interface</h2>
25
26 <img src="/images/stereo-panner-annotated.png" alt=""/>
27 <p>
28   The <dfn>panner user interface</dfn> consists of three elements, divided between
29   the top and bottom half. Click and/or drag in the top half to
30   control position; click and/or drag in the bottom half to control
31   width (see below for details).
32 </p>
33 <p>
34   In the top half is the position indicator, which shows where the
35   center of the stereo image is relative to the left and right
36   edges. When this is the middle of the panner, the stereo image is
37   centered between the left and right outputs. When it all the way to
38   the left, the stereo image collapses to just the left speaker. 
39 </p>
40 <p>
41   In the bottom half are two signal indicators, one marked "L" and the
42   other "R". The distance between these two shows the width of the
43   stereo image. If the width is reduced to zero, there will only be a
44   single signal indicator marked "M" (for mono), whose color will
45   change to indicate the special state.
46 </p>
47 <p>
48   It is possible to invert the outputs (see below) so that whatever
49   would have gone to the right channel goes to the left and vice
50   versa. When this happens, the entire movable part of the panner
51   changes color to indicate clearly that this is the case. 
52 </p>
53
54 <h3>Position vs. L/R</h3>
55
56 <p>
57   Although the implementation of the panner uses the "position"
58   parameter, when the user interface displays it numerically, it shows 
59   a pair of numbers that will be familiar to most audio engineers. 
60 </p>
61
62 <table>
63 <tr><th>Position</th><th>L/R</th><th>English</th></tr>
64 <tr><td>0</td><td>L=50% R=50%</td><td>signal image is midway between
65     left and right speakers</td></tr>
66
67 <tr><td>-1</td><td>L=100% R=0%</td><td>signal image is entirely
68     at the left speaker</td></tr>
69
70 <tr><td>1</td><td>L=0% R=100%</td><td>signal image is entirely
71     at the right speaker</td></tr>
72 </table>
73
74 <p>
75   One way to remember this sort of convention is that the middle of the
76   USA is not Kansas, but "Los Angeles: 50% New York: 50%". 
77 </p>
78
79 <h3>Examples In Use</h3>
80
81 <table>
82 <tr><th>Appearance</th><th>Settings</th></tr>
83 <tr><td><img src="/images/stereo-panner.png"></td><td>Width=100%,
84     L=50 R=50</td></tr>
85 <tr><td><img src="/images/stereo-panner-zero.png"></td><td>Width=0%,
86     L=50 R=50</td></tr>
87 <tr><td><img src="/images/stereo-panner-inverted.png"></td><td>Width=-100%, Position = 0 (center)</td></tr>
88 <tr><td><img src="/images/stereo-panner-right.png"></td><td>Width=36%,
89     L=44 R=56</td></tr>
90 <tr><td><img src="/images/stereo-panner-hard-right.png"></td><td>Width=0%,
91     L=0 R=100</td></tr>
92 </table>
93
94 <h4>Using the mouse</h4>
95
96 <p>
97   Mouse operations in the upper half of the panner adjust the position
98   parameter, constrained by the current width setting. 
99 </p>
100 <p>
101   Mouse operations in the lower half of the panner adjust the width
102   parameter, constrained by the current position setting. 
103 </p>
104 <p>
105   To change the position smoothly, press the right button and drag
106   within the top half of the panner, then release. The position will
107   be limited by the current width setting. <em>Note: you do not need
108   to grab the position indicator in order to drag</em>
109 </p>
110 <p>
111   To change the width smoothly, press the right button and drag
112   within the lower half of the panner, then release. The width will be
113   limited by the current position setting.<em>Note: you do not need to
114   grab the L/R indicators in order to drag</em>
115 </p>
116
117 <dl class="faq">
118
119 <dt>Reset to defaults</dt>
120 <dd>Click <kbd class="mod3">right button</kbd></dd>
121
122 <dt>Change to a "hard left"</dt>
123 <dd>Double click <kbd class="mod2">right button</kbd> in the upper left half
124   of the panner</dd>
125
126 <dt>Change to a "hard right"</dt>
127 <dd>Double click <kbd class="mod2">right button</kbd> in the upper right half
128   of the panner</dd>
129
130 <dt>Move position as far left as possible, given width</dt>
131 <dd>Double click <kbd>right button</kbd> in the upper left half of the
132   panner</dd>
133
134 <dt>Move position as far right as possible, given width</dt>
135 <dd>Double click <kbd>right button</kbd> in the upper right half of the
136   panner</dd>
137
138 <dt>Set the position to center</dt>
139 <dd>Click <kbd>right button</kbd> in the upper middle of the panner</dd>
140
141 <dt>Reset to maximum possible width</dt>
142 <dd>Double click <kbd>right button</kbd> on the lower left side</dd>
143
144 <dt>Invert (flip channel assignments)</dt>
145 <dd>Double click <kbd>right button</kbd> on the lower right side</dd>
146
147 <dt>Set width to 0&deg;</dt>
148 <dd>Double click <kbd>right button</kbd> in the lower middle</dd>
149 </dl>
150
151 <h4>Keyboard bindings</h4>
152
153 <p>
154   When the pointer is within a stereo panner user interface, the following
155   keybindings are available to operate on that panner:
156 </p>
157
158 <dl>
159   <dt><kbd>&uarr;</kbd> / <kbd class="mod1">&uarr;</kbd></dt>
160   <dd>increase width by 1&deg; / 5&deg;</dd>
161   <dt><kbd>&darr;</kbd> / <kbd class="mod1">&darr;</kbd></dt>
162   <dd>decrease width by 1&deg; / 5&deg;</dd>
163   <dt><kbd>&larr;</kbd> / <kbd class="mod1">&larr;</kbd></dt>
164   <dd>move position 1&deg; / 5&deg; to the left</dd>
165   <dt><kbd>&rarr;</kbd> / <kbd class="mod1">&rarr;</kbd></dt>
166   <dd>move position 1&deg / 5&deg; to the right</dd>
167   <dt><kbd>0</kbd></dt>
168   <dd>reset position to center</dd>
169   <dt><kbd class="mod2">&uarr;</kbd></dt>
170   <dd>reset width to full (100%)</dd>
171 </dl>
172
173 <h4>Using the scroll wheel/touch scroll</h4>
174
175 <p>
176   When the pointer is within a stereo panner user interface, the scroll
177   wheel may be used as follows:
178 </p>
179
180 <dl>
181 <dt>left / <kbd class="mod1">left</kbd></dt>
182 <dd>increase width by 1&deg; / 5&deg;</dd>
183
184 <dt>right / <kbd class="mod1">right</kbd></dt>
185 <dd>decrease width by 1&deg; / 5&deg;</dd>
186
187 <dt>up / <kbd class="mod1">up</kbd></dt>
188 <dd>move position 1&deg; / 5&deg; to the left</dd>
189
190 <dt>down / <kbd class="mod1">down</kbd></dt>
191 <dd>move position 1&deg; / 5&deg;to the right</dd>
192 </dl>
193
194 <h2><a name="caveat"></a>Stereo panning caveats</h2>
195
196 <p class="warning">
197 The stereo panner will introduce unwanted side effects on
198 material that includes a time difference between the channels, such
199 as A/B, ORTF or NOS microphone recordings, or delay-panned mixes.<br />   
200 When you reduce the with, you are effectively summing two highly
201 correlated signals with a delay, which will cause <dfn>comb filtering</dfn>.
202 </p>
203 <p>  
204 Let's take a closer look at what happens when you record a source at 45° to the
205 right side with an ORTF stereo microphone array and then manipulate the width.
206 </p>
207 <p>
208 For testing, we apply a pink noise signal to both inputs of an Ardour stereo
209 bus with the stereo panner, and feed the bus output to a two-channel analyser. 
210 Since pink noise contains equal energy per octave, the expected readout is a
211 straight line, which would indicate that our signal chain does not color the
212 sound:
213 </p>
214 <img src="/images/stereo-panner-with-ORTF-fullwidth.png" />
215 <p>
216 To simulate an ORTF, we use Robin Gareus' stereo balance
217 control LV2 to set the level difference and time delay. Ignore the Trim/Gain
218 &mdash; its purpose is just to align the test signal with the 0dB line of the
219 analyser.
220 </p>
221 <p> 
222 Recall that an ORTF microphone pair consists of two cardioids spaced 17 cm
223 apart, with an opening angle of 110°.
224 For a far source at 45° to the right, the time difference between the capsules 
225 is 350 &mu;s or approximately 15 samples at 44.1 kHz. The level difference 
226 due to the directivity of the microphones is about 7.5 dB (indicated by the 
227 distance between the blue and red lines in the analyser).
228 </p>
229 <p>
230 Now for the interesting part: if we reduce the width of the signal to 50%,
231 the time-delayed signals will be combined in the panner. Observe what
232 happens to the frequency response of the left and right outputs:
233 </p>
234 <img src="/images/stereo-panner-with-ORTF-halfwidth.png" />
235 <p>
236 You may argue that all spaced microphone recordings will undergo comb 
237 filtering later, when the two channels recombine in the air between the speakers.
238 Perceptually however, there is a huge of difference: our hearing system is
239 very good at eliminating comb filters in the real world, where their component
240 signals are spatially separated. But once you combine them
241 inside your signal chain, this spatial separation is lost and the brain will
242 no longer be able to sort out the timbral mess. As usual, you
243 get to keep the pieces.
244 </p>
245 <p class="note">
246 Depending on your material and on how much you need to manipulate the width,
247 some degree of comb filtering may be acceptable. Then again, it may not. Listen
248 carefully for artefacts if you manipulate unknown stereo signals &mdash; many
249 orchestra sample libraries for example do contain time-delay components.
250 </p>
251