Answer the question
In order to leave comments, you need to log in
How to determine the presence of a voice in a file?
I am making a simple voice control system for a smart home, Yandex parses the voice into text, but there is only 1 problem, requests to Yasha are paid and I don’t want to waste money ... I wondered, how to understand that the file does not consist of silence? I record from JS and save it on the server, then ffmpeg converts it to ogg and sends it to Yandex ...
Any options? Maybe there are some programs in nix?
Answer the question
In order to leave comments, you need to log in
There are plugins for ffmpeg to detect/remove silence.
https://ffmpeg.org/ffmpeg-filters.html#silencedetect
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question