Direct reading spectrochemical analysis with a rapid-scanning spectrometer