Abstract: A method of performing spectroscopic measurements provides an optical frequency comb, and directs the comb through or at a sample. The optical frequency comb is generated by gain switching a laser diode constructed from Gallium Nitride and related materials. Various techniques are described for manipulating the comb source to achieve desired benefits for spectroscopy.