]> Shamusworld >> Repos - ardour-manual-diverged/blob - _manual/15_editing-and-arranging/04_snap-to-the-grid.html
Get <dfn> right,
[ardour-manual-diverged] / _manual / 15_editing-and-arranging / 04_snap-to-the-grid.html
1 ---
2 layout: default
3 title: Snap to the Grid
4 menu_title: Snap to Grid
5 ---                        
6
7 <p>
8   Ardour's editor utilizes a <dfn>grid</dfn> to assist in the placement 
9   of regions on the timeline, or with editing functions that need to happen 
10   at a specific point in time.  You can choose if you want the cursor and 
11   various objects to snap to this grid, and how you want the snapping to 
12   behave. You can modify the grid units to fit your needs.
13 </p>
14 <h2>About Snapping</h2>
15 <p>There are two ways to think about aligning material to a grid.
16   The first and most obvious one is where an object\'s position is clamped
17   to grid lines. In Ardour, this is called <dfn>absolute snap</dfn>
18   and is commonly used when working with sampled material where audio
19   begins exactly at the beginning of a file, note or region.</br>
20   The second, <dfn>relative snap</dfn>, is used when an object's position
21   relative to the grid is important. In music, this allows you to
22   move objects around without changing the "feel" (or timing) of a performance.</br>
23   Relative snap is the default method of snapping in Ardour.</br>
24   While dragging objects you may switch from relative to absolute snap by
25   pressing the absolute snap modifier key(s).</br>
26   You may also disable snap entirely by using the snap modifier.
27   The absolute snap and snap modifiers (along with other modifier keys) may be set in
28   <kbd class="menu">Edit &gt; Preferences &gt; User Interaction</kbd></br>
29   For common use patterns, it is recommended that you assign a unique key for
30   one snap modifier and two keys for the other in such a way that they share an otherwise unused key.
31   For example, you may choose the snap modifier to be the <kbd class="mod2">&nbsp;</kbd> key and the
32   absolute snap modifier to be the <kbd class="mod2">&nbsp;</kbd> and <kbd class="mod4">&nbsp;</kbd> keys.
33 </p>.
34
35 <h2>Snap Modes</h2>
36 <p>Using the above types, Ardour supports three different modes of snapping to the grid:</p>
37 <dl class="wide-table">
38   <dt><kbd class="menu">No Grid</kbd></dt>
39   <dd>disables the grid. All objects move freely in this mode.
40   In this mode, you may activate the grid by pressing the snap modifier (for relative snap).
41   or switch to absolute snap by pressing the absolute snap modifier.</dd>
42   <dt><kbd class="menu">Grid</kbd></dt> 
43   <dd>activates normal snapping. All positions of objects maintain their
44   offset relative to the grid. (See <a href="#gridunits">Grid Units</a> below
45   to change these points). If you try to move an object in "Grid"-mode, it 
46   does not change its position until you move the mouse far enough for the 
47   object to reach the same relative position on the next grid line.</br>
48   Sometimes you may wish to place an object exactly on a grid line.
49   In order to do this, use the "snap to absolute" modifier.
50   When holding down this modifier during a drag, the dragged object will jump
51   to the grid lines rather than maintaining its original distance from the line.</br>
52   New objects will always be created at grid points.</br>
53   Holding down the snap modifier will disable the current grid setting and allow you to move the object freely.</br>
54   </dd>
55   <dt><kbd class="menu">Magnetic</kbd></dt>
56   <dd>is a less strict type of snapping. Objects can still be moved to any 
57   position, but positions close to the relative or absolute grid points will snap.
58   In order to move an object very close to a snap point, it may be necessary
59   to zoom in to prevent snapping to that point, or to use the snap modifier to disable snap completely.</br>
60   As with Grid mode, both the snap modifier and absolute snap modifiers function in this mode.</dd>
61 </dl>
62
63 <h2>Syncing Regions to the Grid</h2>
64 <p>
65   By default, a region's beginning will be used as the reference for both types of snapping,
66   but you can change this behaviour by setting a <dfn>sync point</dfn> in
67   the region. Select the region(s) and press <kbd>V</kbd>. This will set 
68   the sync point to your edit point.</p>
69
70 <h2 id="gridunits">Grid Units</h2>
71 <p>
72   The selector next to the grid mode selector defines the size of the grid 
73   elements. You can set your grid to several different units:
74 </p>
75 <dl class="wide-table">
76   <dt><kbd class="menu">CD Frames</kbd></dt>
77   <dd>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
78   lengths.</dd>
79   <dt><kbd class="menu">Timecode Frames/Seconds/Minutes</kbd></dt>
80   <dd>The duration of a frame depends on the timecode settings for the
81   session.</dd>
82   <dt><kbd class="menu">Seconds/Minutes</kbd></dt>
83   <dd>These are absolute time units, unaffected by sample rate or timecode settings</dd>
84   <dt><kbd class="menu">Beats/N</kbd></dt>
85   <dd>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.</dd>
86   <dt><kbd class="menu">Beats</kbd></dt>
87   <dd>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.</dd>
88   <dt><kbd class="menu">Bars</kbd></dt>
89   <dd>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.</dd>
90   <dt><kbd class="menu">Markers</kbd></dt>
91   <dd>Snap positions to the nearest marker.</dd>
92   <dt><kbd class="menu">Region Starts</kbd></dt>
93   <dd>Snap positions to the nearest region start (see below).</dd>
94   <dt><kbd class="menu">Region Ends</kbd></dt>
95   <dd>Snap positions to the nearest region end.</dd>
96   <dt><kbd class="menu">Region Syncs</kbd></dt> 
97   <dd>Snap positions to the nearest region sync point.</dd>
98   <dt><kbd class="menu">Region Bounds</kbd></dt>
99   <dd>Snap positions to the nearest region start or end.</dd>
100 </dl>
101
102 <p>
103   To use Region starts/ends/syncs/bounds as snap choices, you must have
104 either
105 </p>
106 <ul>
107   <li><em>No</em> tracks selected, which means that Ardour snaps to regions on any track, or </li>
108   <li>Several tracks selected, which means that Ardour only snaps to regions on those selected tracks.</li>
109 </ul>
110 <p>
111   If you are moving items on a track, and only the current track is selected, 
112   then you will only be able to snap to other regions on the same track.  
113   This means that enabling 
114   <kbd class="menu">Edit &gt; Preferences &gt; Editor &gt; Link Selections of Regions and
115   Tracks</kbd> will make the "Region" grid unit unusable.  Avoid the use of this option if 
116   you are going to use any of the Region grid units.
117 </p>