I'm trying to index an audio file at a certain non-silent timestamp, say 20 seconds from the beginning (0:20:00), and find the closest timestamp from there that silence begins, say 21 seconds from the beginning (0:21:00).
I'm aware that pydub
has detect_silence
feature that may be useful but not sure how to index an audio file using timestamp. I'm open to using other libraries as well.