audacity_to_df: Audacity's labels to dataframe

Description Usage Arguments Value Author(s) Examples

View source: R/audacity_to_df.R

Description

Audacity make it possible to annotate sound files with labels that can be exported as a .tsv file with .txt extension. This function convert result to dataframe.

Usage

1
audacity_to_df(file_name)

Arguments

file_name

file_name string with a filename or path to the .txt file produced by Audacity

Value

a dataframe with columns: content, time_start, time_end, source.

Author(s)

George Moroz <agricolamz@gmail.com>

Examples

1
2
3
4
audacity_to_df(system.file("extdata",
  "test_audacity.txt",
  package = "phonfieldwork"
))

phonfieldwork documentation built on March 3, 2021, 1:12 a.m.