Instead of hand rolling our voice detection algorithm, we should investigate using the popular package Silero VAD https://github.com/snakers4/silero-vad