GNU Radio Record only on Sound

I will confess to being a complete novice when it comes to GNU Radio but
I’m in the process of setting up SDR input that I would like to have
record wav files only when sound above a certain level is detected. Are
there existing blocks already? Any guidance in this would be
appreciated.