How to organize voice recording through a microphone on an Opange Pi device (on which I plan to install Linux)? It is important that in the absence of speech the recording should stop (or be paused), a new one should start (the old one should continue) when the speech was resumed.
2 answers
The easiest way:
0) looking for typical voice frequencies
1) you arrange the second buffer in a Fourier series (sinuses) at these frequencies
3) you lay out the frequencies of the background (street noise)
4) compare amplitudes
In my childhood I did this, about 50 lines for the whole program.
|
As a result, I installed the Audio Recorder program, in which there is just such a recording method.
Installation for Ubuntu 15 and above installation is as follows:
sudo add-apt-repository ppa: audio-recorder / ppa
sudo apt-get -y update
sudo apt-get install --reinstall audio-recorder
|