Extract a section of a Wave object based on sample positions. This function
will automatically detect if a Wave object is stereo.
Arguments
- 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