oscilloscope and spectroscope that reads from stdin