tune defaults to 12kHz range. TODO: add command line option for FFT scale
added command line options -m <maxmag> and -i <minmag>