total_duration: Compute entire recording length

View source: R/total_duration.R

total_durationR Documentation

Compute entire recording length

Description

Compute entire recording length

Usage

total_duration(path, format = "WAV", recursive = FALSE)

Arguments

path

Path to a set of recordings (all same format and continuous time span). Important note: File are expected to be named using a YYYYMMDD_HHMMSS string or set reaname = TRUE to allow renaming. Files including the extensions "_extracted.WAV" or "merged_events.WAV" are reserved to write output files and ignored as inputs.

format

Format of sound files (default and suggested is to use WAV).

recursive

logical. Should the listing recurse into directories?


mottensmann/NocMigR documentation built on Oct. 3, 2023, 3:36 a.m.