Controller Overview

Controller Overview

The Controller enables users to manipulate the playback of their data source, and create new cells as they record their observations.

Image of the Controller indicating the track and keypad area

The Controller has two main areas: the keypad on the left, which maps directly to your keyboard, and the Timeslider on the right, which represents the current playback position.

The following sections describe the two areas in detail, and provide a useful reference for working with the Controller.

Keypad

Important

You cannot use the number keypad for inputting numbers into Datavyu. It will only perform the actions described here.

The Controller’s keypad maps directly to the number pad on your keyboard or external keypad and the on-screen representation helps users remember what key performs what function. When you press a key on the keypad, a visual indicator onscreen mirrors the keystrokes. Some keypads may change the ordering of certain keys: for instance, some keypads may have a Num Lock key rather than a clear button but the Controller takes different keyboards into account and simplifies the keys as much as possible. Familiarize yourself with both the Datavyu controls and your keypad to maximize coding efficiency.

Playback Controls

  • jog left (1): moves the playhead back one frame. If the frame rate is not set, jog will move the playhead in one second increments. Holding down jog left plays backward slowly.

  • pause (2): pauses playback. Pressing pause again resumes playback. Pause only works if play (8) has first been pressed.

  • jog right (3): moves the playhead forward one frame. If the frame rate is not set, jog will move the playhead in one second increments. Holding down jog right plays the source forward slowly.

  • shuttle left (4): rewinds, initially at 1/32 of playback speed. Repeatedly pressing the shuttle left key increases the rewind speed to a maximum of 32 times playback speed.

  • stop (5): stops playback.

  • shuttle right (6): fast forwards initially at 1/32 of playback speed. Repeatedly pressing the shuttle right key increases the fast forward speed to a maximum of 32 times playback speed.

  • play (8): starts playback.

In addition, shift find (+): jumps to the time of cell offset.

Note

For users of Mac OS X: recent versions of OS X do not allow you to hold down a key as a default. Instead it brings up a mini-menu to help you select common accents for that letter. If you want to be able to jog by holding down the 1 or 3 keys, you will need to open your Terminal and run the following command:

defaults write -g ApplePressAndHoldEnabled -bool false

To undo the change, run the same command but with -bool true rather than -bool false.

../_images/keypad-annotated.png

The keys highlighted in green are playback controls. The keys highlighted in blue are coding-controls.

Coding Controls

  • set cell onset (7): sets the onset for the current cell.

  • point cell (=): creates a new cell whose onset and offset values are the playhead’s current position.

  • set cell offset (9 and .): sets the offset for the current cell.

  • find (+): moves the playhead to the onset time of the current cell, which is shown in the box to the bottom right of the find button. Selecting a different cell will update this time.

  • go back (-): moves the playhead back by the amount of time set in the Jump back by box to the right of the go back button. You can change the increment by selecting that box and editing the value.

  • new cell and set previous offset (0): creates a new cell and sets its onset to the playhead’s current time. If the previous cell does not have an offset, adding a new cell with this key sets the previous cell’s offset to the current playhead time, minus one millisecond.

  • new cell and set current onset (Enter): creates a new cell and sets its onset to the playhead’s current time.

Tracks

Note

The tracks walkthrough video is a good way to familiarize yourself with this area of the Controller:

The Tracks area of the Controller helps you visualize where you are within a data source’s playback. You can control the scale using the slider bar in the top right: moving it to the right zooms in, allowing you to manipulate smaller time periods than would otherwise be feasible. You can also zoom in on a selected region by clicking on the magnifying glass icon next to the slider bar. The red playhead shows the current playback position.

annotated image of the Controller's tracks region

You can choose to focus on a single region by moving the green region boundaries. Datavyu will start playback from the leftmost boundary’s position, and stop at the rightmost boundary.

The Tracks area of the Controller also includes five buttons:

  • Lock All: locks the tracks to prevent the user from changing the synchronization between multiple tracks.

  • Add Bookmark: adds a bookmark at the playhead.

  • Snap Region: sets the region to the length of the selected cell: the left boundary is placed at the cell’s onset, and the right boundary at the cell’s offset. You can also use the ctrl + keyboard shortcut to snap the region.

  • Clear Region: removes the region boundaries. You can also use the ctrl - keyboard shortcut to clear the region.

  • Magnifying Glass icon: zooms in on the timeslider to focus exclusively on the snapped region.

Add Data

image of keypad with arrow indicating the "add data" button

Important

Do not use the VLC plugin because it is not fully implemented and tested. It has frame accuracy problems and therefore is not suggested. Please use Quicktime instead. If your videos do not play smoothly in Quicktime, please convert your videos if you would still like to use Datavyu.

Datavyu currently supports video through QT. To convert video file types, see: Convert File Formats. If you are going to be working with multiple data sources see: Code Multiple Data Sources at Once.

Providing you have adequate processing power and a sufficiently strong graphics card, you should be able to work with high-resolution video files without challenge.

To add a data source:

  1. Click the Add Data… button in the top left corner of the Controller.

  2. A file selection window will open. Select the data file you will be coding.

  3. If the data source is a video file and Datavyu is unable to determine its frame rate, it will ask you what the video’s frame rate is. You can determine the frame rate by opening the video in QuickTime Player, and selecting Show Movie Inspector from the Window menu. The Inspector presents information about the video. The frame rate is labeled FPS, or frames-per-second.

    Datavyu uses the frame rate to accurately play and jog through videos, so it is important that you set the correct frame rate.

  4. If Datavyu cannot read your video’s frame rate or if it reads the wrong frame rate. You can manually set the frame rate by double clicking on Steps per second and writing the correct frame rate. Please press Enter and Datavyu will use your new frame rate.