A gas analyzer system includes an optical source, an optical filter assembly, a controller, and an analyzer. The optical source generates an optical signal. The optical filter assembly includes different optical filters in which to filter the optical signal. During operation, the controller selects sequential application of each of the different optical filters in a path of the optical signal to modulate the optical signal using different frequency bands of optical energy. The modulated optical signal passes through an unknown sample. Based on absorption of the optical signal by the sample gas at different frequencies, the optical analyzer detects which types of multiple different gases are present in the sample.