Skip to contents

Scans directories of audio data and returns the standard naming conventions

Usage

wt_audio_scanner(path, file_type, extra_cols = F)

Arguments

path

Character; The path to the directory with audio files you wish to scan. Can be done recursively.

file_type

Character; Takes one of four values: wav, wac, flac or all. Use "all" if your directory contains many types of files.

extra_cols

Boolean; Default set to FALSE for speed. If TRUE, returns additional columns for file duration, sample rate and number of channels.

Value

A tibble with a summary of your audio files.

Examples

if (FALSE) { # \dontrun{
wt_audio_scanner(path = ".", file_type = "wav", extra_cols = T)
} # }