Audio processing device and associated audio processing method
11545168 · 2023-01-03
Assignee
Inventors
Cpc classification
H03G5/165
ELECTRICITY
G10L19/008
PHYSICS
International classification
G10L19/008
PHYSICS
H04S7/00
ELECTRICITY
Abstract
An audio processing device is disclosed. The audio processing device includes a filter and an output circuit. The filter is configured to receive an audio signal to generate a filtered audio signal, wherein the filter includes a plurality of parameters that are adjustable for changing a bandwidth, a center frequency or a gain of response of the filter. The output circuit is configured to receive the filtered audio signal to generate an output audio signal to a speaker. When the parameters of the filter are changed, the filter reduces changes in the audio signal caused by the parameters, and the output circuit continuously receives the filtered audio signal to generate the output audio signal for the speaker to play without interruption.
Claims
1. An audio processing device, comprising: a filter, configured to receive an audio signal to generate a filtered audio signal, wherein transfer function of the filter is H(z)=1+H0*(1−A(z)), H0 is an adjustable gain value, A(z) is a multi-order function controlled by a plurality of parameters, and z is a frequency parameter; and an output circuit, coupled to the filter, configured to receive the filtered audio signal to generate an output audio signal to a speaker; wherein when the transfer function of the filter is changed, the filter reduces the adjustable gain value before the parameters are changed, and the output circuit continuously receives the filtered audio signal to generate the output audio signal for the speaker to play the output audio signal without interruption.
2. The audio processing device of claim 1, wherein before the parameters are changed, the filter gradually reduces the adjustable gain value, to make the transfer function approach a value of one.
3. The audio processing device of claim 2, wherein before the parameters are changed, the filter gradually reduces the adjustable gain value, to make the transfer function be equal to one.
4. The audio processing device of claim 2, wherein during a period after the transfer function approaches one, the filter gradually increases the adjustable gain value to a target value.
5. An audio processing method, comprising: utilizing a filter to receive an audio signal to generate a filtered audio signal, wherein a transfer function of the filter is H(z)=1+H0*(1−A(z)), H0 is an adjustable gain value, A(z) is a multi-order function controlled by a plurality of parameters, and z is a frequency parameter; when the transfer function of the filter is changed, reducing the adjustable gain value before the parameters are changed; and continuously receiving the filtered audio signal to generate an output audio signal, for a speaker to play the output audio signal without interruption during the process of changing the parameters.
6. The audio processing method of claim 5, wherein when the transfer function is changed, the step of reducing the adjustable gain value before the parameters are changed comprises: before the parameters are changed, gradually reducing the adjustable gain value, to make the transfer function approach a value of one.
7. The audio processing method of claim 6, wherein when the transfer function is changed, the step of reducing the adjustable gain value before the parameters are changed comprises: before the parameters are changed, gradually reducing the adjustable gain value, to make the transfer function be equal to one.
8. The audio processing method of claim 6, further comprising: during a period after the transfer function approaches one, gradually increasing the adjustable gain value to a target value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION
(6)
(7) In this embodiment, for the purpose of allowing a user to control the wanted audio quality or audio features, the control circuit 130 within the audio processing device 100 may generate a plurality of control signals Vc according to commands of other components or input signals of the user, to thereby change a bandwidth, a center frequency and/or a gain of response of the filter 110 (e.g. filter response) via changing a plurality of parameters of the filter 110. Taking
(8) In particular,
(9) Refer to the flow shown in
(10) In one embodiment, by reducing the adjustable gain value H0 in a stepwise manner, the amount the adjustable gain value H0 is reduced each time may be designed as a gain change amount that is unable to be heard by the user.
(11) In Step 404, in consideration of some timing errors or circuit delay, the control circuit 130 may temporarily stop controlling the filter 110, i.e. wait/delay for a period of time.
(12) In Step 406, the control circuit 130 generates the control signals Vc to directly change the parameters of the filter 110, i.e. change the parameters in the multi-order function A(z). In one embodiment, the parameters of the filter 110 are directly replaced (e.g. with final target values) to accelerate setting and operations of the filter 110, meaning there is no need for indirectly changing or sequentially changing the filter parameters.
(13) In Step 408, in consideration of some timing errors or circuit delay, the control circuit 130 may temporarily stop controlling the filter 110, i.e. wait/delay for a period of time.
(14) In Step 410, the control circuit 130 generates the control signals Vc to gradually increase (e.g. increase in a stepwise manner) the adjustable gain value H0 to a target value, i.e. the filter is controlled to gradually increase changes in the audio signal Din caused by the parameters, to complete the whole flow of changing the parameters of the filter 110. In one embodiment, in the aforementioned process of increasing the adjustable gain value H0 in a stepwise manner, the amount of increasing the adjustable gain value H0 each time may be designed as a gain change amount that is unable to be heard by the user.
(15) It should be noted that Steps 404 and 408 are optional steps; i.e. Steps 404 and 408 may be removed from the flow without affecting main operations of the present invention.
(16)
(17) In the above process of changing the parameters of the filter 110, the output circuit 120 may keep generating the output audio signal Dout to the backend processing circuit 102 in order to generate the signal Vout to the speaker 104 for playback without interruption. As the filtered audio signal Din′ is substantially equal to the audio signal Din when the parameters are being changed and the filter is in an unstable state, during the whole process of changing the parameters, normal audio quality can be provided for the user without any mute mechanism, so the problem mentioned in the related art can be effectively solved.
(18) Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.