]> Shamusworld >> Repos - ardour-manual/blob - include/editing-clocks.html
typo in Editing Clocks
[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   The clock mode can be changed 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 <table class="dl">
13   <tr><th>Timecode</th><td>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).</td></tr>
23   <tr><th>BBT</th><td>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.</td></tr>
27   <tr><th>Minutes:Seconds</th><td>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).</td></tr>
30   <tr><th>Samples</th><td>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.</td></tr>
35 </table>
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. Time should be typed in the same order as the
43   current clock mode&mdash;if the clock is in Timecode mode, it should be
44   hours, minutes, seconds, frames. So, to change to a time of 12:15:20:15 one
45   would type <kbd class="input">1 2 1 5 2 0 1 5</kbd>. Each number typed 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 <figure>
51     <img src="/images/clockedit.png" alt="A clock being edited in Ardour">
52     <figcaption>
53       A clock being edited in Ardour
54     </figcaption>
55 </figure>
56
57 <p>
58   Finishing the edit is done by pressing <kbd>&crarr;</kbd> or <kbd>Tab</kbd>.
59   The <kbd>ESC</kbd> key allows to exit an edit without changing the clock. If an
60   entry is mis-typed  so that the new value would be illegal (for example,
61   resulting in more than 30 frames when Timecode is set to 30 frames per second),
62   the clock will reset at the end of the edit, and move the cursor back to the
63   start to allow for another try.
64 </p>
65
66 <h2>Avoiding the mouse entirely</h2>
67
68 <p>
69   There is a shortcut available to edit the transport
70   clocks entirely without the mouse. It can be found in
71   <kbd class="menu">Window &gt; Key Bindings &gt; Transport &gt; Focus On
72   Clock</kbd>. If bound to a key (<kbd>&divide;</kbd> on the numerical
73   keypad is the
74   default), then pressing that key is equivalent to clicking on the primary (left)
75   transport clock, and editing can begin immediately.
76 </p>
77
78 <h2>Entering Partial Times</h2>
79
80 <p>
81   One detail of the editing design that is not immediately obvious is that it is
82   possible to enter part of a full time value.
83 </p>
84 <p>
85   As an exemple, supposing that the clock is in BBT
86   mode, displaying <samp>024|03|0029</samp>, altering the value to
87   the first beat of the current bar can be done by clicking on the clock and typing
88   <kbd class="input">0 1 0 0 0 0</kbd>. Similarly, if it is in Minutes:Seconds
89   mode, displaying <samp>02:03:04.456</samp>, getting to exactly 2
90   hours can be achieved by clicking on the clock and typing <kbd class="input">0 0 0 0 0 0 0</kbd> to
91   reset the minutes, seconds and milliseconds fields.
92 </p>
93
94 <h2>Entering Delta Times</h2>
95
96 <p>
97   Values can also be typed into the clock that are intended as a relative change,
98   rather than a new absolute value, by ending the edit by pressing
99   <kbd>+</kbd> or <kbd>-</kbd> (the ones on any keypad will also work). The plus
100   key will add the entered value to the current value of the clock, minus will
101   subtract it. For example, if the clock is in Samples mode and displays
102   <samp>2917839</samp>, moving it back 2000 samples is done by typing
103   <kbd class="input">2 0 0 0</kbd> and <kbd>-</kbd>, rather than ending with
104   Enter or Tab.
105 </p>
106
107 <h2>Changing clock values with the mouse</h2>
108
109 <h3>Using a scroll wheel</h3>
110
111 <p>
112   With the mouse pointer over the clock, moving the scroll wheel changes the
113   clock values. Moving the scroll wheel up (<kbd class="mouse">&uArr;</kbd>)
114   increases the value shown on the clock, moving it down  (<kbd
115   class="mouse">&dArr;</kbd>) decreases it. The step size is equal to the unit
116   of the field hovered over (seconds, hours, etc.).
117 </p>
118
119 <h3>Dragging the mouse</h3>
120
121 <p>
122   With the mouse pointer over the clock, pressing the left mouse button and
123   dragging also affects the clocks : dragging upwards increases the value shown
124   on the clock, dragging downwards decreases it, again with a step size equal to
125   the unit of the field where the drag began on.
126 </p>