Applications of spectroscopy with multiwavelength sources