Is there any way to have pyaudio record an mp3 when a button is being held down and stop recording and export the mp3 to the date and time when the button is released?
I have Python 3.
The button I’m using is a physical button on a Raspberry Pi.
Is there any way to have pyaudio record an mp3 when a button is being held down and stop recording and export the mp3 to the date and time when the button is released?
I have Python 3.
The button I’m using is a physical button on a Raspberry Pi.