Skip to contents

Scans directories of audio data and returns the standard naming conventions

Usage

wt_audio_scanner(path, file_type, extra_cols = F, tz = "")

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.

tz

Character; Forces a timezone to each of the recording files; if the time falls into a daylight savings time break, wt_audio_scanner will assume the next valid time. Use OlsonNames() to get a list of valid names.

Value

A tibble with a summary of your audio files.

Examples

if (FALSE) {
wt_audio_scanner(path = ".", file_type = "wav", extra_cols = T, tz = "US/Mountain")
}