working pitch detector, audio visualizer