Filters change a signal, they don't recognize it or measure it.
You need to use correlation or simply amplitude/phase analysis (which without a reference really only leads determining the rms amplitude I think). Finding the mean square isn't too complicated, you determine the mean DC offset and average the square of the differences of each sample from this DC offset.