That's why I suggested using the peak detector. Here's a neat video which explains the concept:
I think it might be useful for this application