tuneR_loader: tuneR_loader

View source: R/backend-tuneR_backend.R

tuneR_loaderR Documentation

tuneR_loader

Description

Load an audio located at 'filepath' using tuneR package.

Usage

tuneR_loader(filepath, offset = 0L, duration = 0L, unit = c("samples", "time"))

Arguments

filepath

(str) path to the audio file.

offset

(num) the sample (or the second if unit = 'time') where the audio should start.

duration

(num) how many samples (or how many seconds if unit = 'time') should be extracted.

unit

(str) 'samples' or 'time'


curso-r/torchaudio documentation built on Aug. 6, 2022, 2:28 a.m.