cutws | R Documentation |
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)
wave |
A Wave object |
from |
First sample to return |
to |
Last sample to return |
plot |
If TRUE shows the cut region within the original waveform |
A Wave object
## Not run:
cutws(sheep, 1, 20)
cutws(sheep, 1, 20, plot=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.