peak detect modify and freq. detect modity
simplify adc filter