Recording microphone audio with attenuation

I want to record microphone audio wave in game using take recorder, I know I can set the attenuation in the sequence editor afterward, but I’d like to set it in runtime by using blueprint. The basic idea is when the record stop, get the last record audio section, and set the attenuation, but I can’t find the right function to set. Or should I try C++ ?