]> Shamusworld >> Repos - ardour-manual/blob - include/grid-controls.html
952a199de49616e1b5cf1c352eb9a0029b3e7e29
[ardour-manual] / include / grid-controls.html
1
2 <figure class="left">
3         <img src="/images/toolbar-grid.png" alt="Editor toolbar's grid">
4         <figcaption>
5                 Editor toolbar's grid.
6         </figcaption>
7 </figure>
8
9
10
11
12 <h2> What is “Snap” and “Grid”?</h2>
13
14 “Snap” will cause drags and other mouse-driven operations to jump to
15 positions determined by the nearest snap setting.  Snap can be set to
16 multiple options: markers, region start/ends, and the grid. ( those
17 are all enabled by default. change them in prefs )
18
19 Grid can be enabled, and it will draw lines at selected intervals;
20 which can be musical, like 16th notes, or can be timecode based
21 (minutes and seconds) . You can leave the Grid enabled, but snap
22 disabled, if you just want to see the lines but not snap to them.
23
24 For example: if the Grid is set to “beats” and Snap-to-grid is
25 enabled, then any operations such as split, paste, or range-select
26 will happen exactly on a beat, according to the musical timeline and
27 tempo.
28
29 Alternatively, you can leave “Snap” enabled (so your mouse actions
30 can snap to Markers, or region edges) but disable the Grid.
31
32 <h2>About Snapping</h2>
33
34 <p>
35   There are two ways to think about aligning material. The first and
36   most obvious one is where an object's position is clamped to the
37   snap positions. In Ardour, this is called <dfn>absolute snap</dfn>
38   and is commonly used when working with sampled material where audio
39   begins exactly at the beginning of a file, note or region.
40 </p>
41
42 <p>
43   The second, <dfn>relative snap</dfn>, is used when an object's
44   position relative to the snap positions is important. In music, this
45   allows to move objects around without changing the "feel" (or
46   timing) of a performance.
47 </p>
48
49 <p>
50   Absolute snap is the default method of snapping in Ardour.
51 </p>
52
53 <p>
54   While dragging objects, pressing the absolute snap modifier key(s) switches
55   from absolute to relative snap.
56 </p>
57
58 <p>
59   The snap can also be entirely disabled by using the snap modifier (see below).
60 </p>
61
62 <p>
63   Note that in relative snap mode the reference point is taken to be the distance
64   to the nearest grid line.
65 </p>
66
67 <p>
68   Note also that when an object lies exactly on a grid line, there will be no
69   difference between relative and absolute snap modes.
70 </p>
71
72 <p>
73   The relative snap and snap modifiers (along with other modifier keys) may be set
74   in <kbd class="menu">Edit &gt; Preferences &gt; User Interaction</kbd>
75 </p>
76
77 <p>
78   For common use patterns, it is recommended to assign a unique key for one
79   snap modifier and two keys for the other in such a way that they share an
80   otherwise unused key. For example, the snap modifier may be chosen to be the
81   <kbd class="mod2n"></kbd> key and the relative snap modifier to be the <kbd
82   class="mod2n"></kbd> and <kbd class="mod4n"></kbd> keys.
83 </p>
84
85
86 <h2>A Warning, of sorts</h2>
87
88 <p class="warning">
89 The grid consist of lines running vertically in the edit canvas. If
90 you zoom too far out, you might see a coarser grid than you
91 expect. Ardour tries not to show “too many” or “too few” grid lines
92 depending on the zoom level. You might find that items snap in-between
93 the grid lines sometimes. That’s expected behavior. If you can’t see
94 or snap to the grid you’d like to use, you may have to zoom in or out.
95 </p>
96
97 <h2>Snap Modes</h2>
98
99 <p>
100   Using the above modifications, Ardour supports three different modes of snapping
101   to the grid:
102 </p>
103
104 <table class="dl">
105   <tr><th><kbd class="menu">No Grid</kbd></th>
106     <td>disables the grid. All objects move freely in this mode.</br>
107     In <kbd class="menu">No Grid</kbd> mode, the grid may be temporarily activated
108     by pressing the snap modifier (for absolute snap) or switch to relative snap
109     by pressing the relative snap modifier.</td></tr>
110   <tr><th><kbd class="menu">Grid</kbd></th>
111     <td>activates normal snapping. All positions of objects snap to the grid. (See
112     <a href="#gridunits">Grid Units</a> below to change the grid).
113     Moving an object in "Grid"-mode, does not change its position until
114     the mouse is far enough for the object to reach the next grid line.</br>
115     To maintain an objects' position relative to the grid line, the "snap relative"
116     modifier can be used. When holding down this
117     modifier during a drag, the dragged object will jump while maintaining its
118     original distance from the line.</br>
119     New objects will always be created at grid
120     points.</br>
121     Holding down the snap modifier will disable the current grid
122     setting and allow moving the object freely.</td></tr>
123   <tr><th><kbd class="menu">Magnetic</kbd></th>
124     <td>is a less strict type of snapping. Objects can still be moved to any
125     position, but positions close to the relative or absolute grid points will snap.
126     In order to move an object very close to a snap point, it may be necessary to
127     zoom in to prevent snapping to that point, or to use the snap modifier to
128     disable snap completely.</br> As with Grid mode, the snap modifier will disable
129     snap completely while the absolute snap modifier will move the "notch" of
130     Magnetic snap to the grid lines.</td></tr>
131 </table>
132
133 <h2>Syncing Regions to the Grid</h2>
134
135 <p>
136   By default, a region's beginning will be used as the reference for both types of
137   snapping, this behaviour can be changed by setting a <dfn>sync point</dfn>
138   in the region, by selecting the region(s) and pressing <kbd>V</kbd>. This will set the
139   sync point to the current <a href="@@edit-point-control">edit point</a>.
140 </p>
141
142 <h2 id="gridunits">Grid Units</h2>
143
144 <p>
145   The selector next to the grid mode selector defines the size of the grid
146   elements. The grid can be set to several different units:
147 </p>
148
149 <table class="dl">
150   <tr><th><kbd class="menu">CD Frames</kbd></th>
151   <td>A CD Frame is 1/75th of a second. Snapping to CD Frames (using absolute snap) can be used to avoid issues with CD track lengths.</td></tr>
152   <tr><th><kbd class="menu">Timecode Frames/Seconds/Minutes</kbd></th>
153   <td>The duration of a frame depends on the timecode settings for the session.</td></tr>
154   <tr><th><kbd class="menu">Seconds/Minutes</kbd></th>
155   <td>These are absolute time units, unaffected by sample rate or timecode settings</td></tr>
156   <tr><th><kbd class="menu">Beats/N</kbd></th>
157   <td>Set the grid to units of 1/N beats, where N can be 128, 64, 32, 16, 8, 7, 6, 5, 4, 3, 2. The duration of a grid unit will depend on the tempo and meter in effect at that point in the timeline.</td></tr>
158   <tr><th><kbd class="menu">Beats</kbd></th>
159   <td>Set the grid to whole beats. The duration of a grid unit will depend on the tempo and meter in effect at that point in the timeline.</td></tr>
160   <tr><th><kbd class="menu">Bars</kbd></th>
161   <td>Set the grid to whole bars. The duration of a grid unit will depend on the tempo and meter in effect at that point in the timeline.</td></tr>
162   <tr><th><kbd class="menu">Markers</kbd></th>
163   <td>The grid lines are the markers.</td></tr>
164   <tr><th><kbd class="menu">Region Starts</kbd></th>
165   <td>The grid lines are constructed from region start points (see below).</td></tr>
166   <tr><th><kbd class="menu">Region Ends</kbd></th>
167   <td>The grid lines are constructed from region end points (see below).</td></tr>
168   <tr><th><kbd class="menu">Region Syncs</kbd></th>
169   <td>The grid lines are constructed from region sync points.</td></tr>
170   <tr><th><kbd class="menu">Region Bounds</kbd></th>
171   <td>The grid lines are constructed from region start or end points.</td></tr>
172 </table>
173
174 <p>
175   To use Region starts/ends/syncs/bounds as snap choices, it is necessary to have either:
176 </p>
177
178 <ul>
179   <li><em>No</em> tracks selected, which means that Ardour snaps to regions on any
180     track, or </li>
181   <li>Several tracks selected, which means that Ardour only snaps to regions on
182     those selected tracks.</li>
183 </ul>
184
185 <p>
186   If items are moved on a track, and only the current track is selected, then
187   snapping will only happen with other regions on the same track. This means
188   that enabling <kbd class="menu">Edit &gt; Preferences &gt; Editor &gt; Link
189   Selections of Regions and Tracks</kbd> will make the "Region" grid unit
190   unusable. This option should not be used in conjunction with the use any of the
191   Region grid units.
192 </p>
193