import_labels: import_labels

View source: R/import_labels.R

import_labelsR Documentation

import_labels

Description

This function imports label files obtained when using Audacity to annotate audio files.

Usage

import_labels(filenames, fullpath_id = FALSE)

Arguments

filenames

vector of filenames (label files). Full path or files will be looked for in the working directory

fullpath_id

boolean; Should the full path of the audio file be returned in the file, or only the file name (without extension)?

Details

If filenames is a vector of files, these files are appended in on single dataframe. The .txt extension is removed at the end of the filenames so that one could easily add an extension and grab the audio files corresponding to the label files.


schamaille/weheaR documentation built on June 5, 2022, 11:25 p.m.