tg.createNewTextGrid {rPraat} | R Documentation |
tg.createNewTextGrid
Description
Creates new and empty TextGrid. tMin
and tMax
specify the total start
and end time for the TextGrid. If a new interval tier is added later
without specified start and end, they are set to TextGrid start and end.
Usage
tg.createNewTextGrid(tMin, tMax)
Arguments
tMin |
Start time of TextGrid |
tMax |
End time of TextGrid |
Details
This empty TextGrid cannot be used for almost anything. At least one tier
should be inserted using tg.insertNewIntervalTier()
or tg.insertNewPointTier()
.
Value
TextGrid object
See Also
tg.insertNewIntervalTier
, tg.insertNewPointTier
Examples
tg <- tg.createNewTextGrid(0, 5)
tg <- tg.insertNewIntervalTier(tg, 1, "word")
tg <- tg.insertInterval(tg, "word", 1, 2, "hello")
tg.plot(tg)
[Package rPraat version 1.3.2-1 Index]