CN108111443B - Method and device for determining debugging parameters of voice link parametric equalizer - Google Patents

Method and device for determining debugging parameters of voice link parametric equalizer Download PDF

Info

Publication number
CN108111443B
CN108111443B CN201611070694.1A CN201611070694A CN108111443B CN 108111443 B CN108111443 B CN 108111443B CN 201611070694 A CN201611070694 A CN 201611070694A CN 108111443 B CN108111443 B CN 108111443B
Authority
CN
China
Prior art keywords
frequency
debugged
gain
filter
frequency response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611070694.1A
Other languages
Chinese (zh)
Other versions
CN108111443A (en
Inventor
印晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Telecommunications Technology CATT
Original Assignee
China Academy of Telecommunications Technology CATT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201611070694.1A priority Critical patent/CN108111443B/en
Publication of CN108111443A publication Critical patent/CN108111443A/en
Application granted granted Critical
Publication of CN108111443B publication Critical patent/CN108111443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03878Line equalisers; line build-out devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03006Arrangements for removing intersymbol interference
    • H04L25/03012Arrangements for removing intersymbol interference operating in the time domain
    • H04L25/03019Arrangements for removing intersymbol interference operating in the time domain adaptive, i.e. capable of adjustment during data reception
    • H04L25/03057Arrangements for removing intersymbol interference operating in the time domain adaptive, i.e. capable of adjustment during data reception with a recursive structure

Abstract

The invention provides a method and a device for determining debugging parameters of a parametric equalizer of a voice link, comprising the following steps: acquiring frequency response data to be debugged and target frequency response; determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer. The scheme of the invention can improve the accuracy of determining the debugging parameters of the voice link parameter equalizer.

Description

Method and device for determining debugging parameters of voice link parametric equalizer
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a parameter of a parameter equalizer of a voice link.
Background
With the development of communication technology, it is required to test the voice signal frequency response of the voice communication uplink and downlink to improve the reliability of voice communication.
In testing the frequency response of a speech signal, the frequency response of the speech signal needs to meet stringent frequency response limits, e.g. the third generation partnership project (3)rdgeneration parallel noise project, 3GPP) communication System (Telecommunications System, TS)26.131, the narrowband speech signal frequency response of the handheld and head-mounted terminals needs to meet the requirement of the frequency response limiting envelope shown in fig. 1. However, due to the influence of various factors (such as hardware conditions of sound outlet holes and sound cavity structures, and other voice enhancement modules) in voice communication, frequency response of some frequency bands is attenuated or amplified, so that the frequency response does not satisfy the frequency response limit, and therefore, an equalizer is required to perform frequency response compensation on voice signals, so that the voice signals satisfy the frequency response limit.
Currently, the equalizer is used to perform frequency Response compensation on voice signals, and a voice link parametric equalizer with an Infinite Impulse Response (IIR) subband cascade structure as shown in fig. 2 may be used to perform frequency Response compensation. The equalizer of the IIR subband cascade structure shown in fig. 2 includes n subband filters, which are 1 IIR low-shelf filter, n-2 IIR band-pass peak filters, and 1 IIR high-shelf filter, respectively. When the voice link parameter equalizer is used for carrying out frequency response compensation on the voice signal, the compensation of the frequency response is achieved by adjusting the parameters of the voice link parameter equalizer. The parameters to be adjusted mainly include: center frequency f of boost or attenuation0/w0Actual gain at center frequency G/dBgain (G.ident.10)dBgain/20) And bandwidth gain GBThe desired bandwidth or figure of merit bw/Q/Δ w. Wherein G isBRelated to bandwidth definition and varying with G,
Figure GDA0002265153800000021
fsto sample frequency, G is the gain at the center frequency.
In the process of adjusting the debugging parameters of the voice link parameter equalizer, because the debugging parameters of the voice link parameter equalizer are not visual, a tester needs to manually debug repeatedly in the test process, and the manual debugging equalizer has the following defects in the debugging process:
(1) the number of sub-bands is fixed, and the debugging is not flexible: the more sub-bands are divided, the sharper the adjusted peak is, the smaller the debugging range of a single sub-band is, and the whole complexity is improved; the less the sub-band is divided, the wider the adjusted peak is, and when the frequency band to be adjusted is more, the adjustment precision can not meet the requirement.
(2) Multi-parameter manual debugging, inefficiency: in the actual testing process, if some extreme conditions are met, because the relationship between the parameter adjustment amount and the frequency response change amount is complex, each parameter may need to be debugged for many times to obtain a good effect, so that the testing efficiency is very low.
(3) The frequency response has an impact on speech performance, requiring a debugging experience: considering that the voice is distorted due to over-increasing frequency response, the voice loudness is reduced too much due to over-attenuating, if a manual parameter adjusting method is adopted, a certain audio base and parameter adjusting experience are required for a tester, and otherwise, the more the adjustment is worse.
Therefore, the prior method for manually debugging the voice link parameter equalizer and determining the debugging parameters of the voice link parameter equalizer has lower efficiency and lower accuracy.
Disclosure of Invention
The embodiment of the invention provides a method and a device for determining debugging parameters of a voice link parameter equalizer, which are used for improving the accuracy of determining the debugging parameters of the voice link parameter equalizer.
In a first aspect, a method for determining a debugging parameter of a parametric equalizer of a voice link is provided, the method comprising:
acquiring frequency response data to be debugged and target frequency response of a voice signal in a voice link; determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response, wherein the gain adjustment direction comprises upward adjustment and downward adjustment; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
In one possible implementation manner, determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response includes:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit; and adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain adjustment direction of the target frequency response corresponding to the frequency point gain, wherein the gain adjustment direction is used for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain adjustment direction of the target frequency response corresponding to the frequency point gain.
By the implementation mode of adjusting the gain of the frequency response data to be debugged to the range meeting the preset frequency response gain limit, the accuracy and operability of adjusting the frequency response data to be debugged to the target frequency response can be improved.
In one possible embodiment, the gain adjusting the frequency response data to be debugged to meet the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit, includes:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
In one possible embodiment, for each attenuated to-be-debugged frequency band of at least one attenuated to-be-debugged frequency band in which the gain of the frequency point in the attenuated to-be-debugged frequency response data is smaller than the gain of the frequency point corresponding to the lower limit of the frequency response, a filter in the voice link parametric equalizer is selected for performing the boosting process, which includes:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
In one possible embodiment, selecting a filter in a voice link parametric equalizer comprises:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged; and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
In one possible embodiment, determining the filter debugging parameters in the voice link parametric equalizer comprises:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer; if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, taking the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, taking the average value between the corresponding gain of the central frequency of the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and taking the; if the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
In a second aspect, a method for determining a debugging parameter of a parametric equalizer of a voice link is provided, the method comprising:
acquiring frequency response data to be debugged, a frequency response upper limit and a frequency response lower limit of a voice signal in a voice link; performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; selecting a filter in a voice link parameter equalizer for lifting processing aiming at each frequency band to be debugged after attenuation processing in at least one frequency band to be debugged after attenuation processing, wherein the gain of the frequency point in the frequency response data to be debugged after attenuation processing is smaller than the gain of the frequency point corresponding to the lower frequency response limit; and determining debugging parameters of a filter in the voice link parameter equalizer.
In one possible embodiment, selecting a filter in a voice link parametric equalizer for each attenuated to-be-debugged frequency band in at least one attenuated to-be-debugged frequency band in which a frequency point gain in the attenuated to-be-debugged frequency response data is smaller than a frequency point gain corresponding to the lower limit of the frequency response, includes:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and selecting a peak filter to carry out third promotion processing on the frequency points with the gain corresponding to the frequency point in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency point is smaller than the gain of the frequency point corresponding to the lower limit of the frequency response, until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
In one possible embodiment, selecting a filter in a voice link parametric equalizer comprises:
if the center frequency of the frequency band to be debugged after the attenuation processing is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer which is already in the voice link parameter equalizer and is to be debugged after the attenuation processing as a filter in the voice link parameter equalizer; if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing; if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set lowest frequency and less than the set highest frequency and the number of sample points at intervals between the center frequency of the frequency band to be debugged and the center frequency of a peak filter in the voice link parameter equalizer is less than the set number, selecting the peak filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing; and if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set lowest frequency and less than the set highest frequency and the number of sample points at intervals between the center frequency of the frequency band to be debugged and the center frequency of the existing peak value filter in the voice link parameter equalizer is greater than the set number, newly setting the peak value filter and taking the newly set peak value filter as the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing.
In one possible embodiment, the determining the debugging parameters of the filter in the voice link parametric equalizer includes:
determining whether the frequency bands of the frequency band to be debugged after the attenuation processing and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged after the attenuation processing and the central frequency of the filter in the voice link parameter equalizer; if the frequency band can be combined with the frequency band of the center frequency of the filter in the voice link parametric equalizer into the same frequency band, taking the average value between the central frequency of the attenuated frequency band to be debugged and the central frequency of the filter in the voice link parametric equalizer after the attenuation processing as the central frequency of the filter in the voice link parametric equalizer after the attenuation processing, taking the average value between the gain corresponding to the central frequency of the frequency band to be debugged after the attenuation processing and the gain corresponding to the central frequency of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing as the gain at the central frequency of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing, taking the bandwidth between the boundary frequency points of the merged frequency band as the expected bandwidth of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing; and if the frequency band where the central frequency of the filter in the frequency band to be debugged in the voice link parameter equalizer is located cannot be combined into the same frequency band, taking the central frequency of the frequency band to be debugged after the attenuation treatment as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment, taking the corresponding gain of the central frequency of the frequency band to be debugged after the attenuation treatment as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment, and taking the bandwidth between the boundary frequency points of the frequency band to be debugged after the attenuation treatment as the expected bandwidth of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment.
In a third aspect, an apparatus for determining a debugging parameter of a parametric equalizer of a voice link is provided, where the apparatus includes an obtaining unit and a processing unit, where the obtaining unit is configured to obtain frequency response data to be debugged of a voice signal in the voice link and a target frequency response; the processing unit is used for determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response, wherein the gain adjustment direction comprises upward adjustment and downward adjustment; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
In a possible implementation manner, the processing unit determines, by using the following method, a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit; and determining a gain adjustment direction for adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain corresponding to the frequency point of the target frequency response, and taking the gain adjustment direction as the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point of the target frequency response.
In a possible implementation manner, the processing unit adjusts the gain of the frequency response data to be debugged to be within a range that meets a preset frequency response gain limit, to obtain the frequency response data to be debugged that meets the frequency response limit, as follows:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
In a possible embodiment, the processing unit selects a filter in the parametric equalizer for the voice link for each attenuated to-be-debugged frequency band in the at least one attenuated to-be-debugged frequency band in the attenuated to-be-debugged frequency response data after the attenuation processing, where the frequency point gain is smaller than the frequency point gain corresponding to the lower limit of the frequency response, to perform the boosting processing by:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
In one possible embodiment, the processing unit selects the filter in the voice link parametric equalizer by:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged; and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
In one possible implementation, the processing unit determines the debugging parameters of the filter in the voice link parametric equalizer by:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer; if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, taking the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, taking the average value between the corresponding gain of the central frequency of the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and taking the; if the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
In a fourth aspect, an apparatus for determining a debugging parameter of a parametric equalizer of a voice link is provided, where the apparatus includes an obtaining unit and a processing unit, where the obtaining unit is configured to obtain frequency response data to be debugged, a frequency response upper limit, and a frequency response lower limit of a voice signal in the voice link; the processing unit is used for carrying out first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; selecting a filter in a voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit; and determining debugging parameters of a filter in the voice link parameter equalizer.
In a possible implementation manner, the processing unit selects a filter in the parametric equalizer for the voice link for each attenuated to-be-debugged frequency band in at least one attenuated to-be-debugged frequency band in the attenuated to-be-debugged frequency response data after the attenuation processing, where the frequency point gain is smaller than the frequency point gain corresponding to the lower limit of the frequency response, in the following manner:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and selecting a peak filter to carry out third promotion processing on the frequency points with the gain corresponding to the frequency point in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency point is smaller than the gain of the frequency point corresponding to the lower limit of the frequency response, until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
In one possible embodiment, the processing unit selects the filter in the voice link parametric equalizer by:
if the center frequency of the frequency band to be debugged after the attenuation processing is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer which is already in the voice link parameter equalizer and is to be debugged after the attenuation processing as a filter in the voice link parameter equalizer; if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing; if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set lowest frequency and less than the set highest frequency and the number of sample points at intervals between the center frequency of the frequency band to be debugged and the center frequency of a peak filter in the voice link parameter equalizer is less than the set number, selecting the peak filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing; and if the center frequency of the frequency band to be debugged after the attenuation processing is greater than the set lowest frequency and less than the set highest frequency and the number of sample points at intervals between the center frequency of the frequency band to be debugged and the center frequency of the existing peak value filter in the voice link parameter equalizer is greater than the set number, newly setting the peak value filter and taking the newly set peak value filter as the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation processing.
In one possible implementation, the processing unit determines the debugging parameters of the filter in the voice link parametric equalizer by:
determining whether the frequency bands of the frequency band to be debugged after the attenuation processing and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged after the attenuation processing and the central frequency of the filter in the voice link parameter equalizer; if the frequency band can be combined with the frequency band of the center frequency of the filter in the voice link parametric equalizer into the same frequency band, taking the average value between the central frequency of the attenuated frequency band to be debugged and the central frequency of the filter in the voice link parametric equalizer after the attenuation processing as the central frequency of the filter in the voice link parametric equalizer after the attenuation processing, taking the average value between the gain corresponding to the central frequency of the frequency band to be debugged after the attenuation processing and the gain corresponding to the central frequency of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing as the gain at the central frequency of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing, taking the bandwidth between the boundary frequency points of the merged frequency band as the expected bandwidth of the filter in the voice link parametric equalizer of the frequency band to be debugged after the attenuation processing; and if the frequency band where the central frequency of the filter in the frequency band to be debugged in the voice link parameter equalizer is located cannot be combined into the same frequency band, taking the central frequency of the frequency band to be debugged after the attenuation treatment as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment, taking the corresponding gain of the central frequency of the frequency band to be debugged after the attenuation treatment as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment, and taking the bandwidth between the boundary frequency points of the frequency band to be debugged after the attenuation treatment as the expected bandwidth of the filter in the voice link parameter equalizer of the frequency band to be debugged after the attenuation treatment.
The method and the device for determining the debugging parameters of the voice link parameter equalizer provided by the embodiment of the invention can realize the determination of the debugging parameters of the voice link parameter equalizer, and do not need to manually debug the filter debugging parameters in the voice link parameter equalizer, so that a user does not need any audio basic knowledge and parameter debugging experience, the debugging efficiency is high, the number of frequency bands to be debugged and the parameters of each frequency band to be debugged are not limited, more accurate debugging parameters can be obtained through lower orders or fewer frequency bands to be debugged, and the accuracy of the determined debugging parameters is improved.
Drawings
FIG. 1 is a diagram illustrating frequency response constraints that are satisfied by the frequency response of a narrowband speech signal;
FIG. 2 is a schematic diagram of an equalizer structure of an IIR subband cascade structure;
fig. 3 is a flowchart illustrating an implementation of determining a debugging parameter of a parametric equalizer of a voice link according to an embodiment of the present invention;
fig. 4 is a schematic diagram of adjusting frequency response data to be debugged according to a target frequency response according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating an implementation of determining filter debugging parameters in a parametric equalizer of a voice link in a frequency band to be debugged according to an embodiment of the present invention;
fig. 6 is a schematic diagram of another implementation process for determining a debugging parameter of a parametric equalizer of a voice link according to an embodiment of the present invention;
fig. 7A to 7D are schematic diagrams illustrating adjusting frequency response data to be debugged according to a preset frequency response according to an embodiment of the invention;
fig. 8 is a schematic flowchart of a process for performing lifting processing on frequency response data to be debugged according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an apparatus for determining a debugging parameter of a parametric equalizer of a voice link according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another apparatus for determining a debugging parameter of a parametric equalizer of a voice link according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments, and not all embodiments, of the present invention.
The embodiment of the invention provides a method for determining debugging parameters of a voice link parameter equalizer, which can automatically update the debugging parameters of the voice link parameter equalizer according to preset frequency response and/or target frequency response without additional manual debugging of the voice link parameter equalizer, so that a user does not need any audio basic knowledge and parameter debugging experience, the debugging efficiency is high, the number of frequency bands to be debugged and the parameters of each frequency band to be debugged are not limited, more accurate debugging parameters can be obtained through lower orders or fewer frequency bands to be debugged, and the accuracy of the determined debugging parameters is improved.
The following describes an implementation process for determining a debugging parameter of a parametric equalizer of a voice link.
Fig. 3 is a flowchart of an implementation of determining a parameter for debugging a parametric equalizer of a voice link according to an embodiment of the present invention. As shown in fig. 3, includes:
s101: and acquiring frequency response data to be debugged and target frequency response of the voice signal in the voice link.
S102: and determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response.
In the embodiment of the invention, the gain adjustment direction can be determined by the difference value obtained by the difference between the gain value of the target frequency response and the gain value of the corresponding frequency point in the frequency response data to be debugged, if the gain adjustment direction is positive, the gain adjustment direction is upward adjustment, and if the gain adjustment direction is negative, the gain adjustment direction is downward adjustment.
For example, in fig. 4, a curve shown by a solid line represents frequency response data to be debugged, and a curve shown by a dashed line represents target frequency response, and gains corresponding to frequency points in the frequency response data to be debugged need to be adjusted upward or downward to adjust the gains corresponding to the frequency points in the target frequency response. In fig. 4, the direction indicated by an arrow indicates a gain adjustment direction including upward adjustment and downward adjustment.
S103: and dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point.
In the embodiment of the present invention, an adjustment threshold may be set, the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be the frequency point whose adjustment amount of the gain corresponding to the frequency point in the target frequency response is greater than the threshold, and the frequency point to be debugged is divided into at least one frequency band to be debugged. In the embodiment of the invention, the frequency points with the same gain adjustment direction and the adjacent set number can be divided into the same frequency band to be debugged to obtain at least one frequency band to be debugged. Each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number.
For example, setting an adjustment threshold value as a, where a is a positive integer, dividing frequency points, in which a difference between a gain value of a target frequency response and a gain value of a corresponding frequency point in the frequency response data to be debugged is greater than a and a set number of adjacent frequency points is greater than a, into at least one frequency band to be debugged, and dividing frequency points, in which a difference between a gain value of a target frequency response and a gain value of a corresponding frequency point in the frequency response data to be debugged is less than-a and a set number of adjacent frequency points is less than-a, into at least one frequency.
S104: and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged.
In the embodiment of the invention, the filter in the voice link parametric equalizer can be selected according to the central frequency of each frequency band to be debugged.
In the embodiment of the invention, if the central frequency of the frequency band to be debugged is less than the set lowest frequency, the existing low-shelf filter in the voice link parameter equalizer is selected as the filter in the voice link parameter equalizer of the frequency band to be debugged.
And if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged.
And if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged.
And if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
The minimum frequency and the maximum frequency set in the embodiment of the present invention are set according to the actual frequency response of the speech signal, for example, the minimum frequency may be 300HZ, and the maximum frequency may be 3400 HZ.
S105: and determining debugging parameters of a filter in the voice link parameter equalizer.
In the embodiment of the invention, if the central frequency of the frequency band to be debugged is less than the set lowest frequency, the debugging parameters of the existing low-frame filter in the voice link parameter equalizer can be directly adjusted to be used as the debugging parameters of the filter in the voice link parameter equalizer of the frequency band to be debugged. If the central frequency of the frequency band to be debugged is greater than the set highest frequency, the debugging parameters of the existing overhead filter in the voice link parameter equalizer can be directly adjusted to be used as the debugging parameters of the filter in the voice link parameter equalizer of the frequency band to be debugged.
In the embodiment of the invention, if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency, the filter debugging parameters in the voice link parameter equalizer of the frequency band to be debugged can be determined according to the number of sample points at intervals between the central frequency of the frequency band to be debugged and the central frequency of the existing filter in the voice link parameter equalizer.
Fig. 5 is a flowchart illustrating an implementation of determining filter tuning parameters in a parametric equalizer of a voice link in a frequency band to be tuned, for a frequency band to be tuned whose center frequency is greater than a set lowest frequency and less than a set highest frequency, according to an embodiment of the present invention.
S1051: and determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer.
S1052 a: if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged, the average value between the corresponding gain of the central frequency of the filter in the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the gain of the central.
S1052 b: if the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
By the method, the debugging parameters of the voice link parameter equalizer can be determined according to the target frequency response, filter debugging parameters in the voice link parameter equalizer do not need to be debugged manually, so that users do not need any audio basic knowledge and parameter debugging experience, the debugging efficiency is high, the number of the frequency bands to be debugged and the parameters of each frequency band to be debugged are not limited, more accurate debugging parameters can be obtained through lower orders or fewer frequency bands to be debugged, and the accuracy of the determined debugging parameters is improved.
In the embodiment of the invention, in order to improve the accuracy and operability of adjusting frequency response data to be debugged into target frequency response, under the condition that the adjustment amount of gain corresponding to each frequency point in the frequency response data to be debugged into the gain corresponding to the frequency point corresponding to the target frequency response is larger, the frequency response data to be debugged can be adjusted to be within the range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit, and then the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limit is adjusted to be the gain corresponding to the target frequency response. In other words, the frequency response data to be debugged related in the process of determining the debugging parameters of the voice link parametric equalizer according to the target frequency response according to the above embodiments may be the frequency response data to be debugged which satisfies the frequency response limitation. When the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point of the target frequency response is determined, the gain corresponding to each frequency point of the frequency response data to be debugged, which meets the frequency response limitation, can be adjusted to the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain adjustment direction for adjusting the gain corresponding to the frequency point of the target frequency response.
In the embodiment of the invention, the debugging parameters of the voice link parametric equalizer can be determined according to the preset frequency response. The preset frequency response comprises an upper frequency response limit and a lower frequency response limit. In the embodiment of the invention, the frequency response data to be debugged can be adjusted to the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit, and the debugging parameters of each selected filter are determined in the process of adjusting the frequency response data to be debugged to the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
The following describes an implementation process for determining the debugging parameters of the filter in the voice link parametric equalizer according to the preset frequency response.
Fig. 6 is a schematic diagram illustrating another implementation process for determining a debugging parameter of a parametric equalizer of a voice link according to an embodiment of the present invention.
S201: and acquiring frequency response data to be debugged, a frequency response upper limit and a frequency response lower limit of the voice signal in the voice link.
In the embodiment of the present invention, the frequency response shown in fig. 1 is taken as an example for explanation, where the frequency response with larger frequency point gain in fig. 1 is the upper frequency response limit, and the frequency response with smaller frequency point gain is the lower frequency response limit.
S202: and carrying out first alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged.
The alignment processing in the embodiment of the present invention refers to upper alignment processing, where a maximum gain of frequency response data to be debugged after the first alignment processing is equal to a minimum gain of an upper limit of a frequency response.
It should be noted that, in the embodiment of the present invention, the maximum gain of the frequency response data to be debugged after the first alignment processing may also be smaller than the minimum gain of the upper limit of the frequency response, but a difference between the maximum gain of the frequency response data to be debugged after the first alignment processing and the minimum gain of the upper limit of the frequency response needs to be a fixed value.
S203: and judging whether the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is less than zero.
And if the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than zero, not processing.
If the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold, so that signal distortion is avoided in the subsequent lifting processing process.
In the embodiment of the present invention, the frequency response limit of the narrowband speech signal is still taken as an example for explanation, and in the embodiment of the present invention, the peak frequency point between 300HZ and 3400HZ may be attenuated, as shown in fig. 7A. In fig. 7A, the frequency response shown by the solid line is frequency response data to be debugged before the attenuation processing, and the frequency response shown by the dotted line is frequency response data to be debugged after the attenuation processing. dmin represents the difference between the gain corresponding to the frequency point in the frequency response data to be debugged after attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response. d0 represents the set threshold. In the attenuation process, adjacent frequency points with set number can be combined into a frequency band, and the same peak value filter is used for attenuation processing. The attenuation step size of the attenuation processing performed by the embodiment of the invention can be 1 dB.
S204: and selecting a filter in the voice link parameter equalizer for promotion processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, and the gain corresponding to each frequency point in the frequency response data to be debugged after promotion processing is positioned in the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
The implementation manner of selecting the filter in the voice link parameter equalizer for the frequency band to be debugged after the attenuation processing in the embodiment of the present invention is the same as the implementation manner of selecting the filter in the voice link parameter equalizer related to the above embodiment, and is not described herein again.
As shown in fig. 8, the process of performing the lifting process in the embodiment of the present invention includes:
s2041: and carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment.
S2042: and judging whether the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response. And if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is greater than the gain at the low-frequency boundary point of the lower limit of the frequency response, not processing. And if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response lower limit, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing, so that the gain at the low-frequency boundary point of the frequency response data to be debugged after the first lifting processing is not smaller than the gain at the low-frequency boundary point of the frequency response lower limit. Fig. 7B is a schematic diagram illustrating a low-frequency boundary of frequency response data to be debugged by using a low-shelf filter, where in fig. 7B, a frequency response indicated by a dotted line is a frequency response after the boosting, a frequency response indicated by a solid line is a frequency response before the boosting, and dlow indicates a difference between a gain at a low-frequency boundary point in the frequency response data to be debugged and a gain at a lower-frequency boundary point of the frequency response, and at this time, a difference dlow between a gain at the low-frequency boundary point (300HZ) in the frequency response data to be debugged and a gain at the lower-frequency boundary point (300HZ) of the frequency response is less than 0.
S2043: and carrying out third alignment treatment on the gain corresponding to each frequency point in the frequency response data to be debugged after the first promotion treatment.
S2044: and judging whether the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response. And if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is larger than the gain at the low-frequency boundary point of the frequency response, not processing. And if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing, wherein the gain at the high-frequency boundary point in the frequency response data to be debugged after the lifting processing is larger than the gain at the low-frequency boundary point of the frequency response. Fig. 7C is a schematic diagram illustrating the high-frequency boundary of the frequency response data to be debugged after being subjected to lifting processing by using a low-shelf filter. The difference dhigh >0 between the gain at the high frequency boundary (3400HZ) of the frequency response data to be debugged after the boosting processing and the gain at the frequency response lower limit high frequency boundary point (3400HZ) in fig. 7C.
S2045: and performing fourth alignment processing on the gain corresponding to each frequency point in the frequency response data to be debugged after the second lifting processing.
S2046: and judging whether frequency points with the frequency point corresponding gain smaller than the frequency response lower limit corresponding frequency point gain exist in the frequency response data to be debugged after the fourth alignment processing. If not, no treatment is carried out. If the frequency response data to be debugged exists, selecting a peak filter to perform third promotion processing on the frequency points of which the corresponding gain of the frequency points in the frequency response data to be debugged after the fourth alignment processing is smaller than the gain of the frequency points corresponding to the lower limit of the frequency response until the corresponding gain of each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
In the embodiment of the invention, all frequency points with gain smaller than the gain of the frequency point corresponding to the lower limit of the frequency response in the frequency response data to be debugged after the fourth alignment processing can be counted, the frequency points are divided into a plurality of frequency bands, each frequency band comprises a set number of adjacent frequency points, a peak filter is arranged at the central frequency point of each frequency band obtained by division, and each frequency band is subjected to lifting processing by using the peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit. Fig. 7D is a schematic diagram illustrating a frequency band between a low frequency boundary and a high frequency boundary of frequency response data to be debugged being boosted by a peak filter. The frequency response shown by the dotted line in fig. 7D is the frequency response after the lifting processing, and the frequency response shown by the solid line is the frequency response before the lifting processing.
S205: and determining debugging parameters of a filter in the voice link parameter equalizer.
In the embodiment of the present invention, a specific implementation process for determining the debugging parameters of the filter in the parameter equalizer of the voice link may refer to an implementation process for determining the debugging parameters of the filter in the parameter equalizer of the voice link in the above embodiment, which is not described herein again.
According to the method, the debugging parameters of the voice link parameter equalizer can be determined according to the preset frequency response, filter debugging parameters in the voice link parameter equalizer do not need to be debugged manually, so that any audio basic knowledge and parameter debugging experience of a user are not needed, the debugging efficiency is high, the number of the frequency bands to be debugged and the parameters of each frequency band to be debugged are not limited, more accurate debugging parameters can be obtained through lower orders or fewer frequency bands to be debugged, and the accuracy of the determined debugging parameters is improved.
Based on the same inventive concept, the embodiment of the present invention further provides a device for determining the debugging parameters of the voice link parametric equalizer, and because the principle of the device for solving the problems is similar to the functional method of the method for determining the debugging parameters of the voice link parametric equalizer shown in the above embodiments and the attached drawings, the implementation of the device can refer to the implementation of the method, and repeated parts are not described again.
Fig. 9 is a schematic structural diagram of an apparatus for determining a parameter of a parameter equalizer of a voice link according to an embodiment of the present invention, and as shown in fig. 9, the apparatus for determining a parameter of a parameter equalizer of a voice link includes an obtaining unit 101 and a processing unit 102.
In one embodiment, the obtaining unit 101 is configured to obtain frequency response data to be debugged and a target frequency response of a voice signal in a voice link. A processing unit 102, configured to determine a gain adjustment direction for adjusting gains corresponding to frequency points in the frequency response data to be debugged to gain of the frequency points corresponding to the target frequency response, where the gain adjustment direction includes upward adjustment and downward adjustment; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
In another embodiment, the obtaining unit 101 is configured to obtain frequency response data to be debugged, a frequency response upper limit, and a frequency response lower limit of a voice signal in a voice link. The processing unit 102 is configured to perform first alignment processing on gains corresponding to frequency points in the frequency response data to be debugged, where a maximum gain of the frequency response data to be debugged after the first alignment processing is equal to a minimum gain of an upper limit of a frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; selecting a filter in a voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit; and determining debugging parameters of a filter in the voice link parameter equalizer.
The processing unit 102 determines to adjust the gain corresponding to each frequency point in the frequency response data to be debugged to the gain adjustment direction of the target frequency response corresponding to the gain of the frequency point in the following manner:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit; and determining a gain adjustment direction for adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain corresponding to the frequency point of the target frequency response, and taking the gain adjustment direction as the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point of the target frequency response.
The processing unit 102 adjusts the gain of the frequency response data to be debugged to a range meeting a preset frequency response gain limit in the following manner, so as to obtain the frequency response data to be debugged meeting the frequency response limit:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
The processing unit 102 selects a filter in the voice link parametric equalizer for each frequency band to be debugged after attenuation processing in at least one frequency band to be debugged after attenuation processing, in which the gain of a frequency point in the frequency response data to be debugged after attenuation processing is smaller than the gain of a frequency point corresponding to the lower limit of the frequency response, to perform promotion processing:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
Wherein, the processing unit 102 selects a filter in the voice link parametric equalizer by using the following method:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged; and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
Wherein, the processing unit 102 determines the debugging parameters of the filter in the voice link parametric equalizer by using the following method:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer; if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged, the average value between the corresponding gain of the central frequency of the filter in the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the gain of the central. If the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
In a specific implementation process, the device for determining the debugging parameters of the voice link parameter equalizer may be an equalizer, and the following description of the embodiment of the present invention describes a hardware structure and a processing manner of the device for determining the debugging parameters of the voice link parameter equalizer provided in the embodiment of the present invention, with the device for determining the debugging parameters of the voice link parameter equalizer being an equalizer.
In the example shown in fig. 10, the apparatus for determining the debugging parameters of the voice link parametric equalizer comprises: a processor 1001 and a memory 1002.
A memory 1002 for storing program codes executed by the processor 1001.
The processor 1001 is used for calling the program codes stored in the memory 1002 to realize the following functions:
in one embodiment, the processor 1001 obtains frequency response data to be debugged and a target frequency response of a voice signal in a voice link. Determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response, wherein the gain adjustment direction comprises upward adjustment and downward adjustment; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
In another embodiment, the processor 1001 obtains frequency response data to be debugged, a frequency response upper limit, and a frequency response lower limit of a voice signal in a voice link. Performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; selecting a filter in a voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit; and determining debugging parameters of a filter in the voice link parameter equalizer.
The processor 1001 determines, by using the following method, a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit; and determining a gain adjustment direction for adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain corresponding to the frequency point of the target frequency response, and taking the gain adjustment direction as the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point of the target frequency response.
The processor 1001 adjusts the gain of the frequency response data to be debugged to a range that meets the preset frequency response gain limit in the following manner, so as to obtain the frequency response data to be debugged that meets the frequency response limit:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response; under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold; and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
The processor 1001 selects a filter in the voice link parametric equalizer for each frequency band to be debugged after attenuation processing in at least one frequency band to be debugged after attenuation processing, in which the gain of a frequency point in frequency response data to be debugged after attenuation processing is smaller than the gain of a frequency point corresponding to a lower limit of frequency response, to perform promotion processing:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment; if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing; carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing; if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing; performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing; and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
The processor 1001 selects a filter in the voice link parametric equalizer as follows:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged; if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged; and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
The processor 1001 determines the debugging parameters of the filter in the voice link parametric equalizer in the following manner:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer; if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged, the average value between the corresponding gain of the central frequency of the filter in the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer in the frequency band to be debugged is used as the gain of the central. If the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
The embodiment of the invention can realize the determination of the debugging parameters of the voice link parameter equalizer without additional manual debugging of the filter debugging parameters in the voice link parameter equalizer, so that users do not need any audio basic knowledge and parameter debugging experience, the debugging efficiency is high, the number of the frequency bands to be debugged and the parameters of each frequency band to be debugged are not limited, more accurate debugging parameters can be obtained through lower orders or fewer frequency bands to be debugged, and the accuracy of the determined debugging parameters is improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A method for determining parameters for debugging a parametric equalizer for a voice link, comprising:
acquiring frequency response data to be debugged and target frequency response of a voice signal in a voice link;
determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response, wherein the gain adjustment direction comprises upward adjustment and downward adjustment;
determining at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number;
and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
2. The method of claim 1, wherein determining the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response comprises:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit;
and adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain adjustment direction of the target frequency response corresponding to the frequency point gain, wherein the gain adjustment direction is used for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain adjustment direction of the target frequency response corresponding to the frequency point gain.
3. The method of claim 2, wherein adjusting the gain of the frequency response data to be debugged to be within a range that satisfies a preset frequency response gain limit to obtain the frequency response data to be debugged that satisfies the frequency response limit comprises:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response;
under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold;
and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
4. The method of claim 3, wherein for each of the at least one attenuated to-be-debugged frequency band after the attenuation processing, in which the gain of the frequency point in the attenuated to-be-debugged frequency response data is smaller than the gain of the frequency point corresponding to the lower limit of the frequency response, a filter in the parametric equalizer for the voice link is selected for boosting, the method includes:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment;
if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing;
carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing;
if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing;
performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing;
and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
5. The method of any of claims 1 to 4, wherein selecting a filter in a voice link parametric equalizer comprises:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged;
if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged;
if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged;
and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
6. The method of claim 1, wherein determining debugging parameters for a filter in the voice link parametric equalizer comprises:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer;
if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, taking the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, taking the average value between the corresponding gain of the central frequency of the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and taking the;
if the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
7. An apparatus for determining parameters for debugging a parametric equalizer for a voice link, comprising:
the device comprises an acquisition unit, a frequency response unit and a frequency response unit, wherein the acquisition unit is used for acquiring frequency response data to be debugged of a voice signal in a voice link and target frequency response;
the processing unit is used for determining a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response, wherein the gain adjustment direction comprises upward adjustment and downward adjustment; dividing at least one frequency band to be debugged according to the gain adjustment direction of each frequency point, wherein each frequency band to be debugged in the at least one frequency band to be debugged comprises frequency points which have the same gain adjustment direction and are adjacent to each other in a set number; and respectively selecting a filter in the voice link parameter equalizer aiming at each frequency band to be debugged in the at least one frequency band to be debugged, and determining debugging parameters of the filter in the voice link parameter equalizer.
8. The apparatus according to claim 7, wherein the processing unit determines a gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point in the target frequency response by using the following method:
adjusting the gain of the frequency response data to be debugged to a range meeting the preset frequency response gain limit to obtain the frequency response data to be debugged meeting the frequency response limit;
and determining a gain adjustment direction for adjusting the gain corresponding to each frequency point of the frequency response data to be debugged meeting the frequency response limitation to the gain corresponding to the frequency point of the target frequency response, and taking the gain adjustment direction as the gain adjustment direction for adjusting the gain corresponding to each frequency point in the frequency response data to be debugged to the gain corresponding to the frequency point of the target frequency response.
9. The apparatus of claim 8, wherein the processing unit is configured to gain adjust the frequency response data to be debugged to a range that satisfies a preset frequency response gain limit, to obtain the frequency response data to be debugged that satisfies the frequency response limit as follows:
performing first alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged, wherein the maximum gain of the frequency response data to be debugged after the first alignment processing is equal to the minimum gain of the upper limit of the frequency response;
under the condition that the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the first alignment processing and the gain corresponding to the frequency point at the lower limit of the frequency response is smaller than zero and smaller than a set threshold, a peak filter is adopted to attenuate the frequency response data to be debugged after the first alignment processing until the difference value between the gain corresponding to the frequency point in the frequency response data to be debugged after the attenuation processing and the gain corresponding to the frequency point at the lower limit of the frequency response is larger than the set threshold;
and selecting a filter in the voice link parameter equalizer for lifting processing aiming at each attenuated frequency band to be debugged in at least one attenuated frequency band to be debugged, wherein the gain of the frequency point in the attenuated frequency response data to be debugged is smaller than the gain of the frequency point corresponding to the lower frequency response limit, until the gain corresponding to each frequency point in the lifted frequency response data to be debugged is within the frequency response gain limit range limited by the upper frequency response limit and the lower frequency response limit.
10. The apparatus according to claim 9, wherein the processing unit selects a filter in the parametric equalizer for the voice link for the enhancement processing for each of the at least one attenuated to-be-debugged frequency band in the attenuated to-be-debugged frequency response data after the attenuation processing, in which the gain of the frequency point in the attenuated to-be-debugged frequency response data is smaller than the gain of the frequency point corresponding to the lower limit of the frequency response:
carrying out second alignment treatment on gains corresponding to all frequency points in the frequency response data to be debugged after attenuation treatment;
if the gain at the low-frequency boundary point in the frequency response data to be debugged after the second alignment processing is smaller than the gain at the low-frequency boundary point of the lower limit of the frequency response, selecting a low-frame filter to perform first lifting processing on the frequency response data to be debugged after the second alignment processing;
carrying out third alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the first promotion processing;
if the gain at the high-frequency boundary point in the frequency response data to be debugged after the third alignment processing is smaller than the gain at the low-frequency boundary point of the frequency response, selecting an overhead filter to perform second lifting processing on the frequency response data to be debugged after the third alignment processing;
performing fourth alignment processing on gains corresponding to all frequency points in the frequency response data to be debugged after the second lifting processing;
and carrying out third lifting processing on the frequency points with the gain corresponding to the frequency points in the frequency response data to be debugged after the fourth alignment processing, wherein the gain corresponding to the frequency points is smaller than the gain of the frequency points corresponding to the lower frequency response limit, by using a peak filter until the gain corresponding to each frequency point in the frequency response data to be debugged is adjusted to be within the range meeting the preset frequency response gain limit.
11. The apparatus of any of claims 7 to 10, wherein the processing unit selects the filter in the voice link parametric equalizer by:
if the central frequency of the frequency band to be debugged is less than the set lowest frequency, selecting a low-frame filter in the voice link parameter equalizer of the frequency band to be debugged as a filter in the voice link parameter equalizer of the frequency band to be debugged;
if the central frequency of the frequency band to be debugged is greater than the set highest frequency, selecting an existing overhead filter in the voice link parameter equalizer as a filter in the voice link parameter equalizer of the frequency band to be debugged;
if the central frequency of the frequency band to be debugged is greater than the set lowest frequency, less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is less than the set number, selecting the existing peak filter in the voice link parameter equalizer as the filter in the voice link parameter equalizer of the frequency band to be debugged;
and if the central frequency of the frequency band to be debugged is greater than the set lowest frequency and less than the set highest frequency and the number of sample points spaced from the central frequency of the existing peak filter in the voice link parameter equalizer is greater than the set number, newly setting the peak filter and taking the newly set peak filter as the filter in the voice link parameter equalizer of the frequency band to be debugged.
12. The apparatus of claim 7, wherein the processing unit determines the tuning parameters of the filter in the voice link parametric equalizer by:
determining whether the frequency bands of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer can be combined into the same frequency band according to the difference value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer;
if the frequency band of the central frequency of the filter in the frequency band to be debugged and the frequency band of the central frequency of the filter in the voice link parameter equalizer can be merged into the same frequency band, taking the average value between the central frequency of the frequency band to be debugged and the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, taking the average value between the corresponding gain of the central frequency of the frequency band to be debugged and the corresponding gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged as the gain at the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and taking the;
if the frequency band of the central frequency of the filter in the frequency band to be debugged cannot be combined with the frequency band of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the central frequency of the frequency band to be debugged is used as the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, the corresponding gain of the central frequency of the frequency band to be debugged is used as the gain of the central frequency of the filter in the voice link parameter equalizer of the frequency band to be debugged, and the bandwidth between the boundary frequency points of the frequency band to be debugged is used as the expected bandwidth of the filter in.
CN201611070694.1A 2016-11-25 2016-11-25 Method and device for determining debugging parameters of voice link parametric equalizer Active CN108111443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611070694.1A CN108111443B (en) 2016-11-25 2016-11-25 Method and device for determining debugging parameters of voice link parametric equalizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611070694.1A CN108111443B (en) 2016-11-25 2016-11-25 Method and device for determining debugging parameters of voice link parametric equalizer

Publications (2)

Publication Number Publication Date
CN108111443A CN108111443A (en) 2018-06-01
CN108111443B true CN108111443B (en) 2020-03-24

Family

ID=62206088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611070694.1A Active CN108111443B (en) 2016-11-25 2016-11-25 Method and device for determining debugging parameters of voice link parametric equalizer

Country Status (1)

Country Link
CN (1) CN108111443B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995941B (en) * 2019-03-27 2022-11-11 腾讯音乐娱乐科技(深圳)有限公司 Data adjusting method, device and storage medium
CN110971213B (en) * 2019-12-11 2020-08-14 易兆微电子(杭州)股份有限公司 10-section parameter equalizer
CN111835597A (en) * 2020-07-21 2020-10-27 广州小鹏车联网科技有限公司 Adjusting method and device
TWI763174B (en) 2020-12-14 2022-05-01 瑞昱半導體股份有限公司 Parameter correction method and semiconductor device utilizing the same
CN112769410A (en) * 2020-12-25 2021-05-07 西安讯飞超脑信息科技有限公司 Filter construction method, audio processing method, electronic equipment and storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957399A (en) * 2011-08-24 2013-03-06 上海山景集成电路技术有限公司 Automatic parameter optimization method for parameter equalizer
CN105207964A (en) * 2015-08-17 2015-12-30 哈尔滨工程大学 Adaptive underwater sound decision feedback equalization method based on single vector sensor
WO2016092543A1 (en) * 2014-12-11 2016-06-16 Corning Optical Communications Wireless Ltd. Broad band and narrow band frequency response equalization in a distributed antenna system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564979B2 (en) * 2005-01-08 2009-07-21 Robert Swartz Listener specific audio reproduction system
JP2008131383A (en) * 2006-11-21 2008-06-05 Sanyo Electric Co Ltd Sound quality control circuit and signal characteristic control circuit
US9484878B2 (en) * 2014-02-18 2016-11-01 Viasat, Inc. Equalization of frequency-dependent gain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957399A (en) * 2011-08-24 2013-03-06 上海山景集成电路技术有限公司 Automatic parameter optimization method for parameter equalizer
WO2016092543A1 (en) * 2014-12-11 2016-06-16 Corning Optical Communications Wireless Ltd. Broad band and narrow band frequency response equalization in a distributed antenna system
CN105207964A (en) * 2015-08-17 2015-12-30 哈尔滨工程大学 Adaptive underwater sound decision feedback equalization method based on single vector sensor

Also Published As

Publication number Publication date
CN108111443A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN108111443B (en) Method and device for determining debugging parameters of voice link parametric equalizer
US7574010B2 (en) System and method for adjusting an audio signal
CN104640054B (en) Mobile terminal receiver/loudspeaker method of testing and system
EP3439325A1 (en) Automatically tuning an audio compressor to prevent distortion
US7492889B2 (en) Noise suppression based on bark band wiener filtering and modified doblinger noise estimate
CN1985304B (en) System and method for enhanced artificial bandwidth expansion
CN103915103A (en) Voice quality enhancement system
TWI463817B (en) System and method for adaptive intelligent noise suppression
CN110706693B (en) Method and device for determining voice endpoint, storage medium and electronic device
US20160336015A1 (en) Dynamic range compression with low distortion for use in hearing aids and audio systems
CA2715742C (en) Circuit, system and method for adjusting an audio signal
CN1361972A (en) Enhancement of near-end voice signals in an echo suppression system
CN103544961A (en) Voice signal processing method and device
CN113949968A (en) Frequency response correction method, electronic equipment and signal processing method
US20130090922A1 (en) Voice quality optimization system and method
CN112565981A (en) Howling suppression method, howling suppression device, hearing aid, and storage medium
US8756055B2 (en) Systems and methods for improving the intelligibility of speech in a noisy environment
CN110914901A (en) Verbal signal leveling
CN107785026B (en) Time delay estimation method for indoor echo cancellation of set top box
EP2230664B1 (en) Method and apparatus for attenuating noise in an input signal
CN1134768C (en) Signal noise reduction by time-domain spectral substraction
CN113055786A (en) Volume control method and device and electronic equipment
EP2660816B1 (en) Audio signal processing method and electronic device supporting the same
CN102196077A (en) Real-time audio calibration method
US9330674B2 (en) System and method for improving sound quality of voice signal in voice communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant