]> Shamusworld >> Repos - ardour-manual-diverged/blob - _manual/18_mixing/02_panning/03_stereo_panner.html
tweak control playback text
[ardour-manual-diverged] / _manual / 18_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>. By default, the panner is centered at full width.
10 </p>
11 <p>
12   The 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   <dfn>mono-compatible</dfn>, 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 mouse">right</kbd></dd>
121
122 <dt>Change to hard left</dt>
123 <dd>Double click <kbd class="mod2 mouse">right</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 mouse">right</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 class="mouse">right</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 class="mouse">right</kbd> in the upper right half of the
136   panner</dd>
137
138 <dt>Set the position to center</dt>
139 <dd>Click <kbd class="mouse">right</kbd> in the upper middle of the panner</dd>
140
141 <dt>Reset to maximum possible width</dt>
142 <dd>Double click <kbd class="mouse">right</kbd> on the lower left side</dd>
143
144 <dt>Invert (flip channel assignments)</dt>
145 <dd>Double click <kbd class="mouse">right</kbd> on the lower right side</dd>
146
147 <dt>Set width to 0&deg;</dt>
148 <dd>Double click <kbd class="mouse">right</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><kbd class="mouse">&lArr;</kbd> / <kbd class="mod1 mouse">&lArr;</kbd></dt>
182   <dd>increase width by 1&deg; / 5&deg;</dd>
183   <dt><kbd class="mouse">&rArr;</kbd> / <kbd class="mod1 mouse">&rArr;</kbd></dt>
184   <dd>decrease width by 1&deg; / 5&deg;</dd>
185   <dt><kbd class="mouse">&uArr;</kbd> / <kbd class="mod1 mouse">&uArr;</kbd></dt>
186   <dd>move position 1&deg; / 5&deg; to the left</dd>
187   <dt><kbd class="mouse">&dArr;</kbd> / <kbd class="mod1 mouse">&dArr;</kbd></dt>
188   <dd>move position 1&deg; / 5&deg;to the right</dd>
189 </dl>
190
191 <h2><a name="caveat"></a>Stereo panning caveats</h2>
192
193 <p class="warning">
194 The stereo panner will introduce unwanted side effects on
195 material that includes a time difference between the channels, such
196 as A/B, ORTF or NOS microphone recordings, or delay-panned mixes.<br />   
197 When you reduce the with, you are effectively summing two highly
198 correlated signals with a delay, which will cause <dfn>comb filtering</dfn>.
199 </p>
200 <p>  
201 Let's take a closer look at what happens when you record a source at 45° to the
202 right side with an ORTF stereo microphone array and then manipulate the width.
203 </p>
204 <p>
205 For testing, we apply a <dfn>pink noise</dfn> signal to both inputs of an Ardour stereo
206 bus with the stereo panner, and feed the bus output to a two-channel analyser. 
207 Since pink noise contains equal energy per octave, the expected readout is a
208 straight line, which would indicate that our signal chain does not color the
209 sound:
210 </p>
211 <img src="/images/stereo-panner-with-ORTF-fullwidth.png" />
212 <p>
213 To simulate an ORTF, we use Robin Gareus' stereo balance
214 control LV2 to set the level difference and time delay. Ignore the Trim/Gain
215 &mdash; its purpose is just to align the test signal with the 0dB line of the
216 analyser.
217 </p>
218 <p> 
219 Recall that an <dfn>ORTF</dfn> microphone pair consists of two cardioids spaced 17 cm
220 apart, with an opening angle of 110°.
221 For a far source at 45° to the right, the time difference between the capsules 
222 is 350 &mu;s or approximately 15 samples at 44.1 kHz. The level difference 
223 due to the directivity of the microphones is about 7.5 dB (indicated by the 
224 distance between the blue and red lines in the analyser).
225 </p>
226 <p>
227 Now for the interesting part: if we reduce the width of the signal to 50%,
228 the time-delayed signals will be combined in the panner. Observe what
229 happens to the frequency response of the left and right outputs:
230 </p>
231 <img src="/images/stereo-panner-with-ORTF-halfwidth.png" />
232 <p>
233 You may argue that all spaced microphone recordings will undergo comb 
234 filtering later, when the two channels recombine in the air between the speakers.
235 Perceptually however, there is a huge of difference: our hearing system is
236 very good at eliminating comb filters in the real world, where their component
237 signals are spatially separated. But once you combine them
238 inside your signal chain, this spatial separation is lost and the brain will
239 no longer be able to sort out the timbral mess. As usual, you
240 get to keep the pieces.
241 </p>
242 <p class="note">
243 Depending on your material and on how much you need to manipulate the width,
244 some degree of comb filtering may be acceptable. Then again, it may not. Listen
245 carefully for artefacts if you manipulate unknown stereo signals &mdash; many
246 orchestra sample libraries for example do contain time-delay components.
247 </p>
248
249