powered by
Extract a section of a Wave object based on sample positions. This function will automatically detect if a Wave object is stereo.
cutws(wave, from = 1, to = Inf, plot = FALSE)
A Wave object
First sample to return
Last sample to return
If TRUE shows the cut region within the original waveform
if (FALSE) { cutws(sheep, 1, 20) cutws(sheep, 1, 20, plot=TRUE) }
Run the code above in your browser using DataLab