I am currently trying to make a simple python script for creating speech data.
The idea with the script is that is starts recording using pyaudio, when a key is pressed and hold down, and stops recording when the key is released.
I am currently a bit confused on how i should implement the while key hold / stop at release mechanism.
i found this library keyboard , but can't make sense whether it incorporates
this form of mechanism?