get_wav_length: Get the length of a recording in seconds

View source: R/Clip_wav_file.R

get_wav_lengthR Documentation

Get the length of a recording in seconds

Description

Get the length of a recording in seconds

Usage

get_wav_length(file, return_numeric = F)

Arguments

file

Path to wave file

Value

length of recording in seconds

Examples

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

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