R
R
Roman2018-09-20 20:16:43
linux
Roman, 2018-09-20 20:16:43

How to capture audio with silence skipping (lack of voice) in linux?

Idea:
a console application that constantly listens to the microphone and writes to the file (s) when a person's voice is detected. Next, the file will be sent for recognition via Yandex (or google) speachAPI and the recognition result will be used for various purposes, one of which is voice control.
I know about Sphinx, it completely covers the task of voice control, but there are other tasks for which it is not enough, for example, a console application for voice communication with Yandex Alice.
Clarifications/wishes:
1. the program (a set of programs) should work from the console without requiring an installed DE (desktop environment);
2. it is desirable that she be able to distinguish voice from noise;
3. identifying the sound (preferably voice) in the audio stream incoming from the microphone, it must be recorded to a file;
4. upon the onset of silence (lack of voice), it should close the file, and on subsequent triggers, either create a new file or overwrite the existing one;
5. it is desirable to be able to specify the duration of silence (lack of voice) upon reaching which the current recorded file will be closed.
What I need:
1. if you know about the existing free, free software or a set of utilities that do not pull hundreds of megabytes of dependencies, on the basis of which (which) you can organize the required behavior, please tell me (names / links).
2. if you have a link (s) to the manual / description / example with a description / implementation of the required behavior, I would be grateful if you share the material.
Thank you in advance for your time and assistance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Skobkin, 2018-09-21
@lastuniverse

Google: "linux voice activated recording"
From the first results, for example: https://www.linuxquestions.org/questions/linux-sof...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question