Hi,
Recording can be done easily
However, I won't know where to start to filter by volume to be honest. I looked up on google and could not find any suitable answer...
I guess one way would be:
- always record in a buffer
- checking sound volume and save the time at which volume became loud enough, save the time stamp of that time.
- keep recording for how long is needed or possible or until volume gets back to low
now extract the audio from the buffer from the start time to the end time and play back.
But I strongly doubt this is something achievable easily and would require a lot of messing and testing about.
bye,
Jean