working with spectrum analyzer, this is pretty good but I think I need the moving average to make everything relative