cut_audio {voice} | R Documentation |
Cut audio vectors
Description
Cut vectors
Usage
cut_audio(x, byvar = x)
Arguments
x |
A vector containing the feature to be cut by |
byvar |
A vector containing the variable to cut by. |
Examples
library(voice)
# get path to audio file
path2wav <- list.files(system.file('extdata', package = 'wrassp'),
pattern = glob2rx('*.wav'), full.names = TRUE)
# Media dataset
M <- extract_features(path2wav)
cut_audio(M$f0)
cut_audio(M$gain, M$f0)
[Package voice version 0.5.4 Index]