resample_annots: Resample annotations ('_annot.json') files of emuDB

View source: R/emuR-autoproc_annots.R

resample_annotsR Documentation

Resample annotations (_annot.json) files of emuDB

Description

Resample all annotations (_annot.json) files of emuDB to a specified sample rate. It is up to the user to ensure that the samplerates of the annot.json files match those of the .wav files.

Usage

resample_annots(emuDBhandle, newSampleRate, verbose = TRUE)

Arguments

emuDBhandle

emuDB handle object (see load_emuDB)

newSampleRate

target sample rate

verbose

show progress bars and further information

Examples

## Not run: 

##################################
# prerequisite: loaded ae emuDB 
# (see ?load_emuDB for more information)

# resample
resample_annots(ae, newSampleRate = 16000)


## End(Not run)

emuR documentation built on Nov. 4, 2023, 1:06 a.m.