cuts the data part of selected samples from an Uint8Array
the start of the extraction
the duration of the extraction
the array to be read
Optional
the selected channel
cuts the data part of selected samples from an Uint8Array