摘要 |
According to one embodiment, a signal processor includes a band divider, a first correction module, a determiner, an adjuster, and a second correction module. The band divider calculates an amplitude indicating sound pressure from an acoustic signal for each frequency range. The first correction module corrects the amplitude to change the dynamic range of the amplitude to a target range. The determiner determines whether the maximum amplitude of amplitudes corrected by the first correction module is equal to or larger than a threshold. The adjuster adjusts first and second coefficients based on the first condition if the maximum amplitude is equal to or larger than the threshold. The second correction module adds a value obtained by multiplying the acoustic signal by the first coefficient to a value obtained by multiplying the correction amount of the amplitude by the second coefficient, and outputs a resulting value as an output signal.
|