Convert a Praat Pitch tier to a dataframe.
pitch_to_df(file_name, candidates = "")
string with a filename or path to the Pitch tier
Praat Pitch tier contains multiple candidates for each time slice, use the value "all" if you want to get them all
"all"
a dataframe with columns: time_start, time_end, frequency and, if candidates = "all", candidate_id and strength
time_start
time_end
frequency
candidates
candidate_id
strength
# NOT RUN { pitch_to_df(system.file("extdata", "test.Pitch", package = "phonfieldwork")) # }
Run the code above in your browser using DataCamp Workspace