]> Shamusworld >> Repos - ardour-manual/blob - include/editing-clocks.html
Move content from _manual/ to include/.
[ardour-manual] / include / editing-clocks.html
1 <h2>Clock Modes</h2>
2
3 <p>
4   Every clock in Ardour has four different, selectable <dfn>clock
5   modes</dfn>. Each mode displays time using different units.
6   You can change the clock mode by <kbd class="mouse">Right</kbd>-clicking
7   on the clock and selecting the desired mode from the menu. Some clocks are
8   entirely independent of any other clock's mode; others are linked so that
9   changing one changes all clocks in that group. The different modes are:
10 </p>
11
12 <dl>
13   <dt>Timecode</dt><dd>Time is shown as <dfn><abbr title="Society of Motion Picture and Television
14   Engineers">SMPTE</abbr> timecode</dfn> in Hours:Minutes:Seconds:Frames,
15   measured from the timecode zero point on the timeline (which may not
16   correspond to the session start and/or absolute zero on the timeline,
17   depending on configurable timecode offsets).
18   The frames value is dictated by either the session <abbr title="Frames Per
19   Second">FPS</abbr> setting, or, if slaved to an external timecode master,
20   the master's setting. In the transport clocks, the FPS value is shown below
21   the time display, along with an indication of the current timecode source
22   (<samp>INT</samp> means that Ardour is its own timecode source).</dd>
23   <dt>BBT</dt><dd>Time is shown as Bars:Beats:Ticks, indicating <dfn>musical time</dfn> measured
24   from the start of the session. The transport clocks show the current tempo
25   in <abbr title="Beats Per Minute">bpm</abbr> and meter below the time
26   display.</dd>
27   <dt>Minutes:Seconds</dt><dd>Time is shown as Hours:Minutes:Seconds.Milliseconds, measured from the
28   absolute start of the timeline (ignoring the session start and any timecode
29   offsets).</dd>
30   <dt>Samples</dt><dd>Time is shown as a <dfn>sample count</dfn> from the absolute start of the timeline
31   (ignoring the session start and any timecode offsets). The number of
32   samples per second is given by the current sample rate, and in the transport
33   clocks, this rate is shown below the time display along with any
34   pullup/pulldown adjustment.</dd>
35 </dl>
36
37 <h2>Changing clock values with the keyboard</h2>
38
39 <p>
40   New values for the clock can be typed in after clicking on the relevant clock.
41   Clicking on the clock will show a thin vertical cursor bar just to the right
42   of the next character to be overwritten. Enter time in the same order as the
43   current clock mode&mdash;if the clock is in Timecode mode, you need to enter
44   hours, minutes, seconds, frames. So, to change to a time of 12:15:20:15 you
45   would type <kbd class="input">1 2 1 5 2 0 1 5</kbd>. Each number you type will
46   appear in a different color, from right to left, overwriting the existing value.
47   Mid-edit, after typing <kbd class="input">3 2 2 2</kbd> the clock might look like this:
48 </p>
49
50 <img src="/images/clockedit.png" alt="An image of a clock being edited in Ardour">
51
52 <p>
53   To finish the edit, press <kbd>&crarr;</kbd> or <kbd>Tab</kbd>. To exit an
54   edit without changing the clock press <kbd>ESC</kbd>. If you mis-type an entry
55   so that the new value would be illegal (for example, resulting in more than 30
56   frames when Timecode is set to 30 frames per second), the clock will reset at
57   the end of the edit, and move the cursor back to the start so that you can
58   start over.
59 </p>
60
61 <h2>Avoiding the mouse entirely</h2>
62
63 <p>
64   There is a shortcut available for those who wish to be able to edit the transport
65   clocks entirely without the mouse. It can be found in
66   <kbd class="menu">Window &gt; Key Bindings &gt; Transport &gt; Focus On
67   Clock</kbd>. If bound to a key (<kbd>&divide;</kbd> on the numerical
68   keypad is the
69   default), then pressing that key is equivalent to clicking on the primary (left)
70   transport clock, and editing can begin immediately.
71 </p>
72
73 <h2>Entering Partial Times</h2>
74
75 <p>
76   One detail of the editing design that is not immediately obvious is that it is
77   possible to enter part of a full time value. Suppose that the clock is in BBT
78   mode, displaying <samp>024|03|0029</samp>, and you want to alter the value to
79   the first beat of the current bar. Click on the clock and type
80   <kbd class="input">0 1 0 0 0 0</kbd>. Similarly, if it is in Minutes:Seconds
81   mode, displaying <samp>02:03:04.456</samp>, and you want to get to exactly 2
82   hours, click on the clock and type <kbd class="input">0 0 0 0 0 0 0</kbd> to
83   reset the minutes, seconds and milliseconds fields.
84 </p>
85
86 <h2>Entering Delta Times</h2>
87
88 <p>
89   You can also type values into the clock that are intended as a relative change,
90   rather than a new absolute value. Simply end the edit by pressing
91   <kbd>+</kbd> or <kbd>-</kbd> (the ones on any keypad will also work). The plus
92   key will add the entered value to the current value of the clock, minus will
93   subtract it. For example, if the clock is in Samples mode and displays
94   <samp>2917839</samp>, you move it back 2000 samples by typing
95   <kbd class="input">2 0 0 0</kbd> and <kbd>-</kbd>, rather than ending with
96   Enter or Tab.
97 </p>
98
99 <h2>Changing clock values with the mouse</h2>
100
101 <h3>Using a scroll wheel</h3>
102
103 <p>
104   Position the mouse pointer over the clock, and move the scroll wheel. Moving
105   the scroll wheel up (<kbd class="mouse">&uArr;</kbd>) increases the value
106   shown on the clock, moving it down  (<kbd class="mouse">&uArr;</kbd>)
107   decreases it. The step size is equal to the unit of the field
108   you are hovering over (seconds, hours, etc.).
109 </p>
110
111 <h3>Dragging the mouse</h3>
112
113 <p>
114   Position the mouse pointer over the clock, press the left mouse button and drag.
115   Dragging upwards increases the value shown on the clock, dragging downwards
116   decreases it, again with a step size equal to the unit of the field you
117   began the drag on.
118 </p>
119