wiseman / py-webrtcvad

Python interface to the WebRTC Voice Activity Detector
Other
2.07k stars 409 forks source link

[start time, end time] of extracted segments #37

Closed mohammad-saber closed 5 years ago

mohammad-saber commented 5 years ago

Thanks a lot for sharing your code.

I would like to know how I can get the [start time, end time] data of extracted segments. I am running "example.py".

zgoda-mobica commented 5 years ago

Set start timestamp to 1st voiced frame start on entering triggered state, set end timestamp to last voiced frame start + frame duration on leaving triggered state.

snakers4 commented 3 years ago

this feature is supported by this vad - https://github.com/snakers4/silero-vad