摘要 |
A method and apparatus for automatically controlling gain switching of a monitor. To automatically control gain switching, an electronic circuit spli ts an input channel into a plurality of gain channels. The plurality of gain channels ar e simultaneously sampled. Thereafter, the processor accesses a present buffer of a first gain channel. The present buffer contains a predetermined amount of samples which represent the input channel. Next, the processor determines whether at least one of the samples contained in the present buffer is saturated. If at least one of the samples is saturated, the processor selects an alternate gain channel. Otherwise, if none of the samples is saturated, the processor determines whether a previous buffer of the first gain channel is saturated. If none of the samples from the previous buffer a re saturated, the DSP selects the first gain channel. Otherwise, the DSP select s the alternate gain channel. Thereafter, the samples are processed from more than one of the plurality of gain channels to calculate power parameters.
|