cut_audio | R Documentation |
Cut vectors
cut_audio(x, byvar = x)
x |
A vector containing the feature to be cut by |
byvar |
A vector containing the variable to cut by. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.