OSX: detect SPACEBAR down and up events
问题 I need to record several thousand short soundbites of my own speech (I'm training an acoustic model for a speech recognition engine) So for each one, a line of text presents itself on the screen and I have to speak it, and capture the audio into a .WAV I found a sample project for recording the audio; now I am trying to figure out how to do keyboard input. I would like to push the SPACEBAR down to start recording and release it to terminate the recording. Can anyone get me started? ( an