Creates an empty Praat TextGrid in the same folder as a reference sound file. It is possible to manage with predefined number of tiers, their names and their types.
create_empty_textgrid(
duration,
tiers = NULL,
point_tiers = NULL,
path,
result_file_name = "new_textgrid"
)
integer. Duration of the textgrid. If you do not know the duration of your audio file use the get_sound_duration()
function.
a vector that contain tier names.
a vector that defines which tiers should be made point tiers. This argument excepts numeric values (e. g. c(2, 4)
means second and forth tiers) or character (e. g. c("a", "b")
means tiers with names "a" and "b")
path to the directory with soundfiles.
name of the result and annotation files.
The function returns no output, just creates a Praat TextGrid in the same folder as a reference sound file.