Split audio based on uploaded CSV

Question/Issue:
Split and audio file based on uploaded CSV containing split points

Context/Use case:
There is a very useful feature in Edge Impulse that can be used to split an audio file into multiple short segments for training. However, I already have a CSV file that indicates the start-end times of each segment within my audio files. Is there a way to upload that CSV, and let Edge Impulse split the audio based on those start-end times. Or do I need to use my CSV to split the audio outside of Edge Impulse into separate files, and then upload multiple audio files into EI?

Many thanks
Roy

1 Like

Hi @rasanderson,

Currently, there is no way to have Edge Impulse Studio split WAV files based on CSV data. Your best bet would likely be to write a Python script to split the files for you, and then use the data uploader CLI tool (Uploader | Edge Impulse Documentation) or Python SDK upload methods (Using the Edge Impulse Python SDK to upload and download data | Edge Impulse Documentation) to upload the split files.

Great - thank you for the quick response and suggested solutions.
Roy

1 Like