extract_samples: extract_samples

View source: R/extract_samples.R

extract_samplesR Documentation

extract_samples

Description

This functions extract audio samples from wav files collected by the wehear logger, based on information provided in label table.

Usage

extract_samples(
  labels,
  path_audio,
  path_extracts = getwd(),
  ext_audio = ".wav"
)

Arguments

labels

data.frame containing the information needed to extract and label samples

path_audio

character string; path where the raw audio files are stored

path_extracts

character string; path where to store the extracts

ext_audio

character string; extension of the raw audio files


schamaille/weheaR documentation built on June 5, 2022, 11:25 p.m.