get_file_info: Get the file info from a recording

View source: R/Clip_wav_file.R

get_file_infoR Documentation

Get the file info from a recording

Description

Get the file info from a recording

Usage

get_file_info(file, use_exifr = FALSE)

Arguments

file

Path to file

use_exfir

Logical use the exifr package, which is slower, but returns more information and allows use of flac files.

Value

tibble with file information. use_exifr creates data, but takes longer.

Examples

f <- tempfile()
wav <- download.file("https://www2.cs.uic.edu/~i101/SoundFiles/StarWars3.wav", destfile = f)
get_file_info(f)
get_file_info(f, use_exifr = TRUE)

dhope/ARUtools documentation built on Jan. 18, 2024, 5:47 a.m.