Learn R Programming

emuR (version 2.4.0)

resample_annots: 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

Run this code
if (FALSE) {

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

# resample
resample_annots(ae, newSampleRate = 16000)

}

Run the code above in your browser using DataLab