if (FALSE) {
##########################################################
# prerequisite: directory containing .wav & .TextGrid files
# (see \code{?create_emuRdemoData} how to create demo data)
# convert TextGridCollection and store
# new emuDB in folder provided by tempdir()
convert_TextGridCollection(dir = "/path/to/directory/",
dbName = "myTGcolDB",
targetDir = tempdir())
# same as above but this time only convert
# the information stored in the "Syllable" and "Phonetic" tiers
convert_TextGridCollection(dir = "/path/to/directory/",
dbName = "myTGcolDB",
targetDir = tempdir(),
tierNames = c("Syllable", "Phonetic"))
}
Run the code above in your browser using DataLab