get_right | R Documentation |
Get right channel from WAV file.
get_right(x)
x |
Wave object from 'tuneR::readWave'. |
Numeric vector indicating the right channel from a WAV file.
library(voice)
# get path to audio file
path2wav <- list.files(system.file('extdata', package = 'wrassp'),
pattern <- glob2rx('*.wav'), full.names = TRUE)
rw <- tuneR::readWave(path2wav[1])
r <- voice::get_right(rw)
head(r)
length(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.