streamer45 / silero-vad-go

A Golang (CGO) implementation of a Silero VAD powered speech detector
MIT License
19 stars 9 forks source link

Auto converting sample rate and channel of an audio file #14

Open fear-the-reaper opened 1 week ago

fear-the-reaper commented 1 week ago

Hey @streamer45 I was thinking if I could try out making a helper function in the Detector struct to auto convert the wav into correct sample rate and channel?

streamer45 commented 1 week ago

Personally, I see this sort of functionality as more helpful at a higher level (i.e. what's calling this library). I wouldn't necessarily want to couple audio processing (e.g., resampling) with the detecting logic.