This Jupyter notebook is a simple audio recorder. This recorder uses pyaudio to listen to the input signal from the microphone.
This program can be used to measure the intensity values from the microphone. The program records and saves the audio when the intensity value of the input surpasses the desired threshold. The desired intensity threshold in dB may be specified (default = -50 dB).
Instead of recording the audio by the use of soundfile, you may send the audio to the server for appropriate processing like speech to text processing
- Python >= 3
- pyaudio
- os
- struct
- matplotlib
- time
- soundfile
- numpy
- collections