Patent ID: 9191737
Filing Date: 2015-11-17
Classification: H03G,H04R

Abstract:
1. A method for crest-factor based gain modification comprising: sampling at least one audio input to create a frame for each of the at least one audio inputs, each audio input amplified by a respective amplifier to produce an output channel and each frame having at least one sample of the respective at least one audio input; determining an energy for each frame of the respective audio inputs; determining an average energy for each frame by adding a percentage of a last average energy to a residual percentage of the energy, the last average energy being equal to zero for a first sampling of the at least one audio input and the residual percentage being equal to one hundred minus the percentage of the last average energy; determining a number of exceeding audio inputs as a number of the frames that have an average energy exceeding a maximum energy; when the number of exceeding audio inputs exceeds a predefined maximum number and a gain target exceeds a predetermined minimum gain, iteratively reducing a gain of the respective amplifier for at least one audio input by a decrease-step for a duration being equal to a decrease-period until the number of exceeding audio inputs is less than or equal to the predefined maximum number or the gain target does not exceed the predetermined minimum gain; and when the number of exceeding audio inputs does not exceed the predefined maximum number and the gain target is less than a predetermined maximum gain, iteratively increasing the gain of the respective amplifier for at least one audio input by an increase-step for the duration until the number of exceeding audio inputs exceeds the predefined maximum number or the gain target is not less than the predetermined maximum gain.