摘要 |
The level of an audio signal is controlled by receiving an audio signal as a stream of digital samples, each being a numerical value representing a sampled signal level. A first zero crossing point is identified and the received audio samples are stored in a buffer until a second zero crossing point is identified. The value of the buffered samples is analysed to make a determination as to whether an adjustment is required. In response to this analysis, the buffered samples are either allowed to stream without adjustment, or the level of the buffered samples is adjusted in response to the determination. Keywords: audio level, dynamic range, peak, clip, distortion, limiter, compress, scale, scaling, zero crossing, change sign, half cycle, half wave, lowest frequency. |