throws Exception {
// Extract samples from samples field if only one channel present
double[][] samples_to_convert = getSamplesChannelSegregated(start_sample, end_sample);
// Convert to an AudioInputStream
AudioInputStream audio_input_stream
= org.vocvark.jAudioTools.AudioMethods.convertToAudioInputStream(samples_to_convert, audio_format);
// Return the resuls
return audio_input_stream;
}