Breaking up a file by silences

Hi SC Forum -

I’m interested in writing a quick application that takes an audio file and cuts it into smaller audio files, whenever there is amplitude beneath a set threshold for longer than 1 second.

I’ve managed to find examples of how to use an onset in the NRT documentation.…but I’m not entirely sure how to modify this process to work after a sound has transpired.

Any help would be greatly appreciated. Thanks!

Hi, I would use a sox commandline utility. Mads posted a blog about this some time ago. You can google it. Sorry not posting a link, but I am not with computer right now. Sox is a great tool for batch processing audio files btw. Good luck

here: SoX tutorial: Split by silence :: Mads Kjeldgaard — Composer and developer

1 Like