Scans directories of audio data and returns the file path, file name, file size, date, time, location name, sample rate, length (seconds) and number of channels to be used as filters for other uses

wt_audio_scanner(path, file_type, 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 three values: wav, wac, or both. Use "both" if your directory contains both types of files.

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

Value

A dataframe with a summary of your audio files

Examples

if (FALSE) { df <- wt_audio_scanner(path = "C:/Users/me/path/to/audio/files", file_type = "both", tz = "US/Mountain") }