wt_chop: Segment a large audio file

wt_chopR Documentation

Segment a large audio file

Description

"Chops" up a wav file into many smaller files of a desired duration

Usage

wt_chop(input = NULL, segment_length = NULL, output_folder = NULL)

Arguments

input

A tibble; A single row from a `wt_audio_scanner` tibble

segment_length

Numeric; Segment length in seconds. Modulo recording will be exported should there be any trailing time left depending on the segment length used

output_folder

Character; output path to where the segments will be stored

Value

Segmented files written to the output_folder

Examples

## Not run: 
wt_chop(input = my_audio_tibble %>% slice(1),
 segment_length = 60, output_folder "/where/i/store/my/chopped/files")

## End(Not run)


mabecker89/wildRtrax documentation built on Feb. 5, 2024, 8:50 a.m.