TextGridEditor

One of the Editors in Praat, for editing a TextGrid object.

You can optionally include a copy of a Sound or LongSound in this editor, by selecting both the TextGrid and the Sound or LongSound before clicking View & Edit. The Sound or LongSound is shown in the upper part of the window, the tiers in the lower part. A text window at the top shows the text of the selected interval or point, i.e. the interval or point at the location of the cursor. All tiers are visible, and if you do not zoom in, all boundaries, points, and texts are visible, too. You can do many of the same things that you can do with a SoundEditor or LongSoundEditor.

Positioning the cursor or the selection marks

To position the cursor hair, click in the Sound, on a boundary, on a point, or inside an interval.

To select any part of the time domain, use the time selection mechanism; if you do this by clicking in a tier, the selected time domain will snap to the nearest boundary or point.

Creating new intervals, boundaries, points, or tiers

To create a new interval, create a new boundary in an interval tier.

To create a new boundary or point in a tier, click inside the cursor circle in that tier, or choose one of the commands in the Boundary/Point menu to insert a boundary at the cursor time on the selected tier (shortcut: Enter) or on any tier (shortcuts: Command-F1 through Command-F9). The original text in the interval that is split, is divided up between the two resulting intervals, depending on the position of the text cursor in the text window.

To create a new tier, choose Add interval tier or Add point tier from the Tier menu.

Playing an entire interval, or part of it

As in many other editors, you can play a stretch of sound by clicking in any of the rectangles around the drawing area.

To play an interval of an interval tier, you first click inside it. This will make the interval selected, which means that the visible part of the interval will be drawn in yellow. The cursor will be positioned at the start of the interval, and the time selection will comprise exactly the interval. This means that you can use the Tab key to play the interval. If you press it while a sound is playing, the Tab key will halt the playing sound, and the cursor will move to the time at which the sound stopped playing. This helps you to divide up a long sentence into parts that you can remember long enough to write them down.

The Tab key will play the selected interval.

Editing the text in an interval or at a point

To edit the label text of an interval or point:

1. Select that interval or point by clicking in or on it. The text currently in the interval or point will appear in the text window.
2. Just type the text, and use the mouse and the arrow keys to navigate the text window. Everything you type will become visible immediately in the text window as well as in the selected interval or point.

You can use all the Special symbols that you can use elsewhere in Praat, including mathematical symbols, Greek and Chinese letters, superscripts, and phonetic symbols.

Selecting a tier

To select a tier, click anywhere inside it. Its number and name will be drawn in red, and a pointing finger symbol (☞) will appear on its left.

Selecting a boundary or point

To select a boundary on an interval tier, click in its vicinity or inside the following interval; the boundary will be drawn in red. The text in the interval will appear in the text window.

To select a point on a point tier, click in its vicinity; it will be drawn in red. The text of the point will appear in the text window.

Moving one or more boundaries or points

To move a boundary or point to another time position, drag it with the mouse.

To move all the boundaries and points with the same time (on different tiers) to another time position, Shift-drag them.

To move boundaries or points to the exact time position of a boundary or point on an other tier, drag them into that other tier and into the vicinity of that boundary or point.

To move boundaries or points to the exact time position of the cursor, drag them into the vicinity of the cursor.

Removing a boundary, point, or tier

To remove a selected boundary, choose Remove from the Boundary menu. This creates a new interval which is the union of the two intervals originally adjoining the boundary; the new text of this interval is the concatenation of the two original texts, except if these were equal, in which case the new text equals both original texts.

To remove a selected point, choose Remove from the Point menu.

To remove a selected tier, choose Remove entire tier from the Tier menu.

Extracting a part of the sound

To copy the selected part of the Sound or LongSound as a Sound to the List of Objects, choose Extract sound selection from the File menu. You can specify whether you want the time domain of the resulting Sound to match the starting and finishing times of the selection or whether you want the time domain of the resulting Sound to start at zero seconds.

If you are viewing a LongSound, you can save the selected part of it to a 16-bit sound file (AIFF, AIFC, WAV, NeXT/Sun, NIST) with a command from the File menu.

Accelerations

To save the TextGrid object as a text file without going to the Objects window: choose Save TextGrid as text file... from the File menu.

Searching

The Search menu contains the command Find (Command-F), which will allow you to specify a text whose first occurrence will then be looked for in the currently selected tier (starting from the currently selected text in the currently selected interval). The command Find again (Command-G) will search for the next occurrence of the same search text.

Checking the spelling

You can check the spelling of the intervals in your tiers by including a SpellingChecker object as you launch the editor: select TextGrid + (Long)Sound + SpellingChecker, then click View & Edit. The Spell menu will contain the commands Check spelling in tier (Command-N), and Check spelling in interval which will search for the next word in the tier or interval that does not occur in the lexicon.

Links to this page


© ppgb 20210228