Scrubbing and Seeking

From Audacity Development Manual
Jump to: navigation, search


Scrubbing or Seeking is the action of moving the mouse pointer right or left so as to adjust the position, speed or direction of playback, listening to the audio at the same time - a convenient way to quickly navigate the waveform to find a particular event of interest.

The term "Scrubbing" comes from the early days of the recording industry and refers to the process of physically rotating tape reels to move the tape past the playhead to locate a specific point in the audio track.

In Audacity

  • Scrubbing changes the audio position without skipping.
  • Seeking changes the audio position, skipping over audio to move more quickly.
Bulb icon Seeking is primarily used to find some position in the audio. Usually you will want to mark that position to remember it.
  • All the normal ways of marking audio will still work during seeking. In particular:
    • You can drag to make selection, whilst scrubbing.
    • You can Ctrl+drag to extend a selection whilst scrubbing.

Contents

  1. Scrubbing
  2. Seeking
  3. Pinned playhead Scrubbing and Seeking
  4. Other ways to Scrub and Seek
    1. Transport menu
    2. Scrub Toolbar
    3. Scrubbing/Seeking without the Scrub Ruler

Scrubbing

The primary method for scrubbing is with the Scrub Ruler, the gray strip immediately below the Timeline. The Scrub Ruler is set on and displayed by default in Audacity, if you have turned it off you can get it displayed again by right-clicking in the Timeline and selecting Enable Scrub Ruler from the dropdown menu.

If you hover the cusor over the Scrub Ruler you will see green left- and right-pointing scrub widget Scrub icon naked 80%.png appear (along with a tooltip if you continue to hover). Clicking anywhere in the Scrub Ruler and releasing the left mouse button will start Scrubbing from there. Note that in this image the green scrub widget is to the right of the green triangle playhead, indicating that forwards scrubbing towards the pointer is taking place.

Scrubbing using the Scrub Ruler.png

On starting scrub by clicking in Scrub Ruler, the green scrub widget Scrub icon naked 80%.png will appear in the Scrub Ruler and the green playhead cursor PlaybackCursor.png will appear in the Timeline.

Playback continues until the playhead in the Timeline PlaybackCursor.png reaches the green Scrub widget Scrub icon naked 80%.png, and restarts when the pointer is moved again. If you keep moving the pointer slowly, this plays the audio slowly. If you move the pointer a long way from the playhead, this plays at normal (1x) speed.

When Scrubbing you can left-click in Scrub Ruler and hold the button down to temporarily change to Seeking. Once you release the mouse button you can move it to resume Scrubbing from the point at which you stopped Seeking.

Right-clicking anywhere in Scrub Ruler displays a menu identical to that in Transport > Scrubbing where you can quickly start, stop (or change between) Seeking or Scrubbing or turn Scrub Ruler off. Using this menu to change between Seeking and Scrubbing saves you having to move the pointer to Scrub Toolbar and so change the playhead position un-necessarily. Adding and using shortcuts for Scrub and Seek has the same benefit.

  • Once Audacity is in scrub play mode it will remain in that mode until you explicitly stop playback (which then allows you to restart in normal play mode).
    • To stop scrub play and set the cursor at the current playback position, click the Stop button The Stop button (or its shortcut Space). It may be useful to label that position for future reference. Alternatively click the Play button The Play button to restart normal playback immediately from the current playback position. These methods remove any selection that was present before stopping scrub play.
    • To stop scrub play, leaving the selection or editing cursor where it is, use the Escape Esc key.
  • The speed of scrub can be controlled by rotating the mouse wheel (if your mouse is so equipped). Each four steps upwards of the rotated wheel doubles the speed, and each four steps downwards halves the speed. This is equivalent to one octave of pitch change. The changed scrub speed will be shown for a few seconds in ochre text superimposed on the track. Changed speeds set by the mouse wheel are not remembered if you stop playback and restart Scrubbing.
On MacOS Lion and later, the default scroll direction is reversed, so that moving up with the mouse wheel or Track Pad reduces scrub speed and moving down increases speed. You can change the scroll direction in the System Preferences.
  • You can zoom at the mouse pointer position while Scrubbing or Seeking by holding the Ctrl key ( on Mac) down and rotating the mouse wheel, or by using the zoom buttons in Edit Toolbar or their shortcuts, or by using the View Menu zoom commands.
  • For safety reasons, you cannot start Scrubbing or Seeking while recording (or paused in recording mode).

Seeking

Seeking is similar to Scrubbing except that it is playback with skips, similar to using the seek button on a CD player. Even if you move the mouse pointer a long way from the current position of the playhead, the playhead will immediately move very close to the mouse pointer, letting you move across the audio rapidly.

Seeking with unpinned playhead is always at 1x speed. You can control the maximum seek speed with by mouse position and mouse wheel when you are in pinned playhead mode.

To enter Seeking or change from Scrubbing to Seeking, click the Seek button Seek Button 60%.png in Scrub Toolbar Scrub Toolbar 60%.png. Alternatively you can use the Transport > Scrubbing menu item and select Seek from the cascading menu, or set a shortcut for Seek in Keyboard Preferences.

When Seeking, the Seek widget Seek icon naked 80%.png will appear in the Scrub Ruler (or in the Timeline if the Scrub Ruler is not displayed). There is no need to drag the widget when in Seek - moving the pointer seeks in the same way as drag.

Bulb icon While Scrubbing or Seeking, you can still click in the track to set the editing cursor, or click and drag to make a selection. The point or region could then be labeled. For example, let the playhead reach the mouse pointer at the start of a region of interest. Then drag a selection which will play, stop dragging and release the mouse when you hear the end of the region you want, then label the selection.

Pinned playhead Scrubbing and Seeking

In order to achieve pinned playhead scrubbing and seeking you will need to turn "off" the option for "Always scrub unpinned" in Playback preferences.

If you use Scrubbing or Seeking with the playhead pinned in the Timeline, so that playback constantly scrolls the track, the speed of scrub or seek playback behaves differently to when the playhead is unpinned. The playhead can be repositioned in the Timeline but you should find that centered is the most useful when you are scrubbing or seeking.

In pinned playhead mode the mouse pointer position always directly determines the speed of scrub or seek. The further away you move the mouse pointer from the Timeline playhead (in either direction), the faster the scrub or seek. The current scrub or seek speed is shown permanently in lime green text, superimposed on the track. The default maximum scrub speed is +1.00 (for forwards play) and -1.00 (for backwards play), that is normal speed. The default maximum seek speed is +10.00 (for forwards play) and -10.00 (for backwards play).

The speed of scrolling scrub or seek as determined by the mouse position can be varied by rotating the mouse wheel (if your mouse is so equipped). Move the wheel upwards to increase the speed or downwards to reduce the speed. This works at the same time as modifying the speed by moving the pointer left or right. The maximum possible speed with the pointer at either edge of the window and the wheel at maximum speed is 32.00x for Seeking and 320.00x for Scrubbing. Changed speeds set by the mouse wheel are not remembered if you stop playback and restart Seeking.

A very useful setting for using scrubbing with pinned playhead is to move the pointer to the extreme right (100%) position and increase the maximum speed to 2.00x.

With this setting, when you move the pointer back to the 75% position on the waveform you will get normal speed forwards playback and at 25% position you will get normal speed backwards playback. Moving the pointer towards the center from there will give you gradually slower than normal speed and moving towards the right or left edges will give you gradually faster than normal speed up to your chosen maximum of 2.00x.

Pinned x2 Scrubbing at x1 speed.png

Image of forwards scrubbing at 1.00x speed having set a 2.00x maximum speed, waveform moving leftwards.

Other ways to Scrub and Seek

Scrubbing and Seeking using the Transport menu

Alternatively you can use the Transport > Scrubbing > Scrub or Transport> Scrubbing > Seek menu item, or set a shortcut for either or both of these in Keyboard Preferences.

If you start scrub from this way, the green playhead cursor PlaybackCursor.png will appear but otherwise nothing will happen until you move the mouse pointer to right or left to play forwards or backwards respectively.

Scrubbing and Seeking using the Scrub Toolbar

The Scrub Toolbar Scrub Toolbar 60%.png is not dispayed by default, you can turn it on from View>Toolbars and selecting Scrub Toolbar.

Clicking the Scrub button Scrub button 60%.png in Scrub Toolbar Scrub Toolbar 60%.png when stopped or using standard playback will put you into scrub play mode. Alternatively you can use the Transport > Scrubbing menu item and select Scrub from the cascading menu, or set a shortcut for Scrub in Keyboard Preferences. Similarly the Seek button Seek Button 60%.png in Scrub Toolbar Scrub Toolbar 60%.png can be clicked to start seeking.

On starting scrub or seek, the green playhead cursor PlaybackCursor.png will appear but otherwise nothing will happen until you move the mouse pointer to right or left to play forwards or backwards respectively. Playback continues until the playhead in the Timeline PlaybackCursor.png reaches the pointer, and restarts when the pointer is moved again. If you keep moving the pointer slowly, this plays the audio slowly. If you move the pointer a long way from the playhead, this plays at normal (1x) speed.

Once you move the pointer, the scrub widget Scrub icon naked 80%.png, or seek widget Seek icon naked 80%.png, appears and a vertical white line through the waveform follows the movement of the scrub widget.

  • You can switch between scrubbing and seeking by clicking on the opposing button
  • You can stop scrubbing by clicking on the Scrub button Scrub button 60%.png again, and similarly for seeking by ckicking on the Seek button Seek Button 60%.png again

Clicking the Scrub Ruler button Scrub Ruler button 60%.png in Scrub Toolbar Scrub Toolbar 60%.png makes Scrub Ruler appear below the Timeline (or hides Scrub Ruler when it is already enabled). Alternatively you can use the Transport > Scrubbing menu item and select Scrub Ruler from the cascading menu, or set a shortcut for Scrub Ruler in Keyboard Preferences.

Scrubbing and Seeking without the Scrub Ruler

It is possible to Scrub or Seek without having the Scrub Ruler displayed, in which case the scrub or seek widget is displayed at the bottom of the Timeline instead.

You can turn the Scrub Ruler on or off from the right-click dropdown menu of the Timeline. Alternatively you can use the Transport > Scrubbing menu item and select Scrub Ruler from the cascading menu, or set a shortcut for it in Keyboard Preferences.

The image below shows scrubbing taking place in default unpinned playhead mode. Note that the Scrub Play button is shown as depressed in Scrub Toolbar Scrub button depressed in Scrub Toolbar 60%.png to indicate that scrubbing is active. Also note that the green left- and right-pointing scrub widget is to the right of the green triangle playhead, indicating that forwards scrubbing towards the pointer is taking place.

Scrubbing without using the Scrub Ruler.png

The image also shows the Scrub Ruler button Scrub Ruler button 60%.png in Scrub Toolbar is up (off). If Scrub Ruler was enabled by depressing the Scrub Ruler button, the scrub widget would appear in Scrub Ruler immediately below the Timeline.