tg.createNewTextGrid {rPraat} | R Documentation |
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.
tg.createNewTextGrid(tMin, tMax)
tMin |
Start time of TextGrid |
tMax |
End time of TextGrid |
This empty TextGrid cannot be used for almost anything. At least one tier
should be inserted using tg.insertNewIntervalTier()
or tg.insertNewPointTier()
.
TextGrid object
tg.insertNewIntervalTier
, tg.insertNewPointTier
tg <- tg.createNewTextGrid(0, 5)
tg <- tg.insertNewIntervalTier(tg, 1, "word")
tg <- tg.insertInterval(tg, "word", 1, 2, "hello")
tg.plot(tg)