added low-pass filter for dominant frequency extraction