R/PointTier-utilities.R

# Extract the times of the points within a block of @praatText.
.PointTimes <- function(praatText, pattern = '^ {12}(time|number)') {
  .times <- .TierTimes(praatText, pattern)
  return(.times)
}


# Extract the labels of the points within a block of @praatText.
.PointLabels <- function(praatText, pattern = '^ {12}(text|mark)') {
  .labels <- .TierLabels(praatText, pattern)
  return(.labels)
}

Try the textgRid package in your browser

Any scripts or data that you put into this service are public.

textgRid documentation built on May 1, 2019, 10:26 p.m.