CN114827839A - Stereo equalization adjusting method and device - Google Patents

Stereo equalization adjusting method and device Download PDF

Info

Publication number
CN114827839A
CN114827839A CN202210223747.8A CN202210223747A CN114827839A CN 114827839 A CN114827839 A CN 114827839A CN 202210223747 A CN202210223747 A CN 202210223747A CN 114827839 A CN114827839 A CN 114827839A
Authority
CN
China
Prior art keywords
curve
frequency response
threshold
frequency
response difference
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.)
Pending
Application number
CN202210223747.8A
Other languages
Chinese (zh)
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.)
Hubei Xingji Shidai Technology Co Ltd
Original Assignee
Hubei Xingji Shidai Technology Co Ltd
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 Hubei Xingji Shidai Technology Co Ltd filed Critical Hubei Xingji Shidai Technology Co Ltd
Priority to CN202210223747.8A priority Critical patent/CN114827839A/en
Publication of CN114827839A publication Critical patent/CN114827839A/en
Priority to PCT/CN2023/080464 priority patent/WO2023169509A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R5/00Stereophonic arrangements
    • H04R5/04Circuit arrangements, e.g. for selective connection of amplifier inputs/outputs to loudspeakers, for loudspeaker detection, or for adaptation of settings to personal preferences or hearing impairments

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Stereophonic System (AREA)

Abstract

Embodiments of the present disclosure relate to a stereo equalization adjustment method and a stereo equalization adjustment apparatus. The method comprises the following steps: acquiring a stereo frequency response curve as a frequency response curve to be calibrated; carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve; performing threshold discrimination on the frequency response difference curve in a plurality of frequency regions according to a preset threshold, and obtaining a frequency region with the frequency response difference curve exceeding the threshold most as an error region; performing calibration fitting on the frequency response difference curve in the error region by adopting a specified algorithm, and outputting a calibrated frequency response difference curve; and carrying out curve combination on the calibrated frequency response differential curve and the frequency response curve to be calibrated to obtain a new frequency response differential curve. According to the embodiment of the disclosure, the algorithm can be simplified, and the algorithm optimization success rate is improved.

Description

Stereo equalization adjusting method and device
Technical Field
The present invention relates to a stereo equalization adjustment method, and more particularly, to a stereo equalization adjustment method and a stereo equalization adjustment device for smart glasses or AR glasses.
Background
Smart glasses or AR glasses, where the sound generating component is usually located behind or in close proximity to the ear, achieve a stereo effect by sounding left and right.
Disclosure of Invention
In view of the above problems, embodiments of the present disclosure are directed to providing a stereo equalization adjustment method and a stereo equalization adjustment apparatus capable of optimizing stereo equalization of smart glasses.
In one aspect of the present disclosure, there is provided a stereo equalization adjustment method including:
a curve obtaining step, namely obtaining a stereo frequency response curve as a frequency response curve to be calibrated;
a difference processing step, namely carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
a threshold judging step, namely performing threshold judgment on the frequency response difference curve in a plurality of frequency regions according to a preset threshold to obtain a frequency region with the frequency response difference curve exceeding the threshold most as an error region;
a calibration fitting step, namely performing calibration fitting on the frequency response difference curve in the error area by adopting a specified algorithm and outputting a calibrated frequency response difference curve; and
and a curve merging step, namely performing curve merging on the calibrated frequency response difference curve and the to-be-calibrated frequency response curve to obtain a new frequency response difference curve.
Optionally, the threshold determining step includes:
presetting a threshold of sensitivity;
dividing the frequency into a plurality of frequency regions according to the frequency size;
judging the frequency response difference curve according to the threshold; and
and in the plurality of frequency regions, taking the region of the frequency response difference curve which exceeds the threshold most as the error region.
Optionally, the dividing into a plurality of frequency regions according to the frequency size is performed in such a manner that the frequency response difference curves in the respective frequency regions are all located above the 0 axis or below the 0 axis.
Optionally, the stereo equalization adjusting method further includes:
and re-inputting the new frequency response difference curve obtained in the curve merging step into the threshold judging step, and repeating the threshold judging step, the calibrating step and the curve merging step until the new frequency response difference curve obtained in the curve merging step does not exceed the threshold.
Optionally, a plurality of filters are preset, and one filter is adopted to perform calibration fitting on the frequency response difference curve located in the error region each time the calibration fitting step is performed.
Optionally, in the step of calibrating and fitting, any one of the following algorithms is used for the frequency response difference curve located in the error region:
genetic algorithm, simulated annealing algorithm.
Optionally, in the step of calibration fitting, an EQ filter is used for calibration fitting of the frequency response differential curve located in the error region.
Optionally, the calibration fitting step comprises:
for the frequency response difference curve positioned in the error region, defining the maximum distance of the frequency response difference curve deviating from the threshold by using a cost function; and
and under the condition that the maximum distance is larger than 0, performing calibration fitting on the frequency response difference curve of the error region by adopting the EQ filter.
Optionally, in the curve merging step, performing curve merging on the calibrated frequency response difference curve and the to-be-calibrated frequency response curve is to add the calibrated frequency response difference curve and the to-be-calibrated frequency response curve according to frequency points.
Optionally, in the curve fitting step, the new frequency response difference curve is output, and meanwhile, the filter parameters of the EQ filter are output.
In another aspect of the present disclosure, there is provided an equalization adjustment apparatus including:
the curve acquisition module is used for acquiring a stereo frequency response curve as a frequency response curve to be calibrated;
the difference processing module is used for carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
a threshold judging module, configured to perform threshold judgment on the frequency response difference curve in multiple frequency regions according to a preset threshold, and obtain a frequency region where the frequency response difference curve exceeds the threshold most as an error region;
the calibration fitting module is used for performing calibration fitting on the frequency response differential curve in the error region by adopting a specified algorithm and outputting a calibrated frequency response differential curve; and
and the curve merging module is used for performing curve merging on the calibrated frequency response differential curve and the frequency response curve to be calibrated to obtain a new frequency response differential curve.
Optionally, a threshold of sensitivity is preset in the threshold discrimination module, the threshold discrimination module is divided into a plurality of frequency regions according to the frequency, the threshold discrimination is performed on the frequency response difference curve according to the threshold, and in the plurality of frequency regions, a region where the frequency response difference curve exceeds the threshold most is taken as the error region.
Optionally, the new frequency response difference curve obtained by the curve merging module is input to the threshold decision module as a frequency response difference curve, and the threshold decision module, the calibration module and the curve merging module sequentially repeat the operation until the new frequency response difference curve obtained by the curve merging module does not exceed the threshold.
Optionally, in the calibration fitting module, a plurality of filters are preset, and one filter is used in each calibration fitting of the frequency response difference curve.
Optionally, in the calibration fitting module, an EQ filter is used for performing calibration fitting on the frequency response differential curve located in the error region.
In one aspect of the disclosure, a computer-readable medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the stereo equalization adjustment method according to any of the preceding embodiments.
In one aspect of the present disclosure, a computer device is provided, which includes a storage module, a processor, and a computer program stored on the storage module and executable on the processor, and the processor implements the stereo equalization adjustment method according to any of the foregoing embodiments when executing the computer program.
Drawings
Fig. 1 is a flowchart illustrating a stereo equalization adjustment method according to an embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a stereo equalization adjustment method according to another embodiment of the present disclosure.
FIG. 3 is a diagram illustrating one embodiment of determining a maximum error region.
FIG. 4 is a flow chart of one embodiment of a calibration fit to a frequency response difference curve.
Fig. 5 is a block diagram of a stereo equalization adjustment apparatus according to an embodiment of the present disclosure.
Fig. 6 is a block diagram of a computer device of an embodiment of the present disclosure.
Detailed Description
The following description is of some of the several embodiments of the invention and is intended to provide a basic understanding of the invention. It is not intended to identify key or critical elements of the invention or to delineate the scope of the invention.
For the purposes of brevity and explanation, the principles of the present invention are described herein with reference primarily to exemplary embodiments thereof. However, those skilled in the art will readily recognize that the same principles are equally applicable to all types of stereo equalization adjustment methods and stereo equalization adjustment apparatuses and that these same principles may be implemented therein, as well as any such variations, without departing from the true spirit and scope of the present patent application.
Moreover, in the following description, reference is made to the accompanying drawings that illustrate certain exemplary embodiments. Electrical, mechanical, logical, and structural changes may be made to these embodiments without departing from the spirit and scope of the invention. In addition, while a feature of the invention may have been disclosed with respect to only one of several implementations/embodiments, such feature may be combined with one or more other features of the other implementations/embodiments as may be desired and/or advantageous for any given or identified function. The following description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims and their equivalents.
Terms such as "comprising" and "comprises" mean that, in addition to having elements (modules) and steps that are directly and explicitly stated in the description and claims, the solution of the invention does not exclude the presence of other elements (modules) and steps that are not directly or explicitly stated.
For smart glasses, stereo equalization schemes are generally implemented by placing speakers on left and right ear pieces. In the production process, because the difference that leads to in the individual difference of speaker and the assembly process can make the effect that the stereo transmission of intelligent glasses received to the left and right ears of the wearer have the difference for the wearer perceives the unbalance of ears, and then leads to the weakening of tone quality effect. On the smart glasses or the AR glasses which are mainstream at present, the acoustic structural design is generally on the whole machine shell, and in this case, the unbalance of the two ears is further aggravated.
First, some technical terms to be presented in the embodiments of the present disclosure will be briefly explained.
(1) Eq (Equalize): balanced effect device
(2) Ga (genetic algorithm): genetic algorithm
(3) Sa (mutated annealing): simulated annealing algorithm
(4) Fitness Function: and the cost function is used as a convergence target of the intelligent optimization algorithm.
(5) Smart glasses (smart glass): the glasses can interact with functions of users through own data processing capability or can interact with functions of users through data communication with mobile phones, tablets, computers and the like, and include but are not limited to AR glasses, VR glasses, MR glasses, Bluetooth glasses and the like.
The smart glasses referred to in the embodiments of the present disclosure may be those having display capabilities, such as AR glasses, VR glasses, MR glasses; or may be non-display capable, such as bluetooth glasses.
Fig. 1 is a flowchart illustrating a stereo equalization adjustment method according to an embodiment of the present disclosure.
As shown in fig. 1, a stereo equalization adjustment method according to an embodiment of the present disclosure may be applied to stereo equalization adjustment of smart glasses, and includes:
step S100: acquiring a frequency response curve to be calibrated, for example, acquiring a frequency response curve of stereo sound to be calibrated of the intelligent glasses as the frequency response curve to be calibrated;
step S200: carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
step S300: performing threshold discrimination on the frequency response difference curve in a plurality of frequency regions according to a preset threshold, and obtaining a frequency region with the frequency response difference curve exceeding the threshold most or maximally as an error region;
step S400: performing calibration fitting on the frequency response difference curve in the error region by adopting a specified algorithm, and outputting a calibrated frequency response difference curve; and
step S500: and carrying out curve combination on the calibrated frequency response differential curve and the frequency response curve to be calibrated to obtain a new frequency response differential curve.
And inputting the new frequency response difference curve obtained in the step S500 into the step S300 again, and repeating the step S300, the step S400 and the step S400 until the new frequency response difference curve obtained in the step S500 does not exceed the threshold.
In some embodiments, a plurality of filters are preset, and one filter is used to perform calibration fitting on the frequency response difference curve located in the error region each time step S400 is performed.
In some embodiments, step S300 may include:
presetting the upper limit and the lower limit of the sensitivity as the threshold;
dividing the frequency into a plurality of frequency regions according to the frequency size;
carrying out threshold judgment on the frequency response difference curve according to the upper limit and the lower limit; and
and in the plurality of frequency regions, taking the region in which the frequency response difference curve exceeds the upper limit and the lower limit most or most as the error region.
In some embodiments, the dividing into the plurality of frequency regions according to the frequency size is performed in such a manner that the frequency response difference curves in the respective frequency regions are all located above the 0 axis or below the 0 axis.
In step S400, an algorithm of any one of the following is applied to the frequency response difference curve located in the error region:
genetic algorithm, simulated annealing algorithm.
For example, in the step S400, an EQ filter is used to perform calibration fitting on the frequency response difference curve located in the error region.
In this case, step S400 includes:
obtaining the maximum distance deviating from the threshold by adopting a cost function for the frequency response difference curve positioned in the error region; and
and under the condition that the maximum distance is larger than 0, performing calibration fitting on the frequency response difference curve of the error region by adopting an EQ filter.
In some embodiments, in step S500, the curve merging of the calibrated frequency response difference curve and the to-be-calibrated frequency response curve is to add the calibrated frequency response difference curve and the to-be-calibrated frequency response curve according to frequency points.
In some embodiments, the new frequency response difference curve is output in step S500 while the filter parameters of the EQ filter are output.
Fig. 2 is a flowchart illustrating a stereo equalization adjustment method according to another embodiment of the present disclosure.
Next, a stereo equalization adjustment method according to still another embodiment of the present disclosure will be described with reference to fig. 2.
In fig. 2, three regions are divided: an S01 input field, an S02 calculation field, and an S03 output field.
The following are entered in the S01 input field:
(1) configuration files: including the number of filters available, the number of retries, and other interface information configurations for interacting with the outside.
(2) Target frequency response curve: the curve may be obtained by subjecting the target product to an acoustic test and obtaining the curve through audio analysis software (e.g., Soundcheck), which is not described herein in detail.
(3) And (3) calibrating a frequency response curve: namely the frequency response curve of the product to be calibrated, the obtaining mode of the frequency response curve is the same as that of the target frequency response curve, and only the product is different.
(4) Threshold: the method is used for judging whether the frequency response difference curve meets the requirement or not.
Next, in the calculation area of S02, the following calculation is performed:
step S1: performing curve difference processing on the target frequency response curve and the frequency response curve to be calibrated to obtain a frequency response difference curve;
step S2: judging the frequency response difference curve in combination with a threshold, if the threshold is judged to be yes (namely not exceeding the threshold), jumping out of the calculation area, and turning to the step S9 of an S03 output area, and if the threshold is judged not to be yes, continuing to the step S3;
step S3: judging the residual quantity of the available filters for subsequent loop iteration, if so, continuing to step S4, otherwise, continuing to step S7;
step S4: dividing a plurality of frequency regions, performing threshold discrimination on the frequency response difference curve according to a threshold, discriminating a maximum error region where the frequency response difference curve exceeds the threshold most (or most), and returning the maximum error region as an "error region", wherein an embodiment of how to discriminate the maximum error region will be described later with reference to fig. 3;
step S5: performing calibration fitting on the frequency response difference curve in the error region by adopting a specified optimization algorithm, and outputting a calibrated frequency response difference curve, wherein the commonly used optimization algorithm comprises GA, SA and the like, and GA is taken as an example in the example;
step S6: merging the calibrated frequency response difference curve into a frequency response difference curve to be calibrated to obtain a new frequency response difference curve, and sending the new frequency response difference curve to the step S2, wherein the number of available filters is reduced by 1;
step S7: judging whether the retry times exist, if so, continuing to step S8, otherwise, jumping to step S9;
step S8: resetting the frequency response difference curve, and subtracting 1 from the retry number;
step S9: after the calibration is completed and the calibration is successful, outputting the filter coefficient of the filter;
step S10: and the calibration is completed and fails, and a calibration failure reason is output.
An example of how the maximum error region is discriminated is described herein with reference to fig. 3.
FIG. 3 is a diagram illustrating one embodiment of determining a maximum error region.
In fig. 3, the horizontal axis represents frequency and the vertical axis represents sensitivity. As shown in fig. 3, the frequency response difference curve a is divided into 3 regions by dividing lines D1 to D4 (for example, 100Hz, 1200Hz, 8000Hz, and 10kHz, respectively) in fig. 3, that is, a region 1, a region 2, and a region 3 in this order from left to right. On the other hand, the broken lines G1 and G2 in the vertical direction in fig. 3 indicate upper and lower thresholds, respectively, so that the discrimination region 3 is the maximum error region that exceeds the threshold most in fig. 3.
The purpose of identifying the maximum error region exceeding the threshold most is to preferentially return the region with the maximum error so as to reduce the influence on the edge region in the processing process. And the division into a plurality of frequency regions (region 1, region 2, and region 3 in fig. 3) herein aims at making the frequency response difference curve in fig. 3 approach the 0 axis and dividing the zero-crossing point so that all the frequency response difference curves in the region are above or below the 0 axis, whereby uniform processing can be facilitated.
Next, a specific procedure of performing calibration fitting on the frequency response difference curve in the error region in step S5 will be described.
FIG. 4 is a flow chart of one embodiment of a calibration fit to a frequency response difference curve.
In the present embodiment, an EQ filter is used, including a Peak filter (Peak filter) in the EQ filter. The peak filter is a biquad IIR filter defined by three parameters Fc (center frequency), Q (quality coefficient), Gain, which can be mapped to filter coefficients of IIR. The core of the calibration in this embodiment is how to search for matching coefficients of Fc, Q, Gain.
As shown in fig. 4, the process of performing calibration fitting on the frequency response difference curve includes:
step S11: initializing, wherein i represents the number of filters, and the initial value of i is 0;
step S12: and defining the maximum Distance (Distance) of the frequency response difference curve deviating from the threshold by using a cost Function (Fitness Function), wherein the Distance is the output value of the cost Function and is defined as the maximum Distance of the current frequency response difference curve deviating from the threshold, the positive number is deviating from the threshold, and the negative number is within the threshold. The definition has the advantages that the most difficult problem is solved preferentially, so that the influence of subsequent optimization fitting on other error regions is avoided;
step S13: judging whether the maximum distance is greater than 0, if so, continuing to step S14, and if not, jumping to step S17;
step S14: judging whether the number of the filters is greater than 0, if so, continuing to step S15, and if not, jumping to step S18;
step S15: the number of filters i =1 and the number of remaining filters-1;
step S16: a frequency response difference curve for an error region (i.e., region 3) is subjected to calibration fitting using i filters using a GA algorithm, where 0.1 < = Q < = 5-12 < = Gain < =12 is set in advance as an example;
step S17: after the calibration of the region is completed, outputting filter coefficients, wherein the coefficients of the output filter refer to the filter coefficients of a peak filter, the filter is actually a second-order IIR filter, the coefficients of the filter are b0, b1, b2, a0, a1 and a2, and the total number of the coefficients is 6, and the coefficients can be obtained by Fc, Q and Gain mapping;
step S18: the area calibration fails, and the failure reason is output.
As described above, according to the stereo equalization adjusting method of the embodiment of the present disclosure, by determining the error region, the problem to be solved can be simplified, the algorithm complexity can be reduced, the calculation time can be shortened, and the optimization efficiency can be improved. Moreover, fitting calibration is carried out by adopting a specified algorithm, and multi-section EQ filter cooperative processing is adopted for a single complex problem, so that the algorithm optimization success rate can be improved. Moreover, when the stereo equalization adjustment method is applied to smart glasses products, the stereo equalization adjustment can be performed in a production stage, so that the yield can be improved, and the effect and the equalization degree of the smart glasses products can be improved.
The stereo equalization adjusting method according to the embodiment of the present disclosure is explained above, and then the stereo equalization adjusting apparatus according to the embodiment of the present disclosure is explained.
Fig. 5 is a block diagram of a stereo equalization adjustment apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, a stereo equalization adjustment apparatus 100 of an embodiment of the present disclosure includes:
a curve obtaining module 110, configured to obtain a stereo frequency response curve as a frequency response curve to be calibrated;
the difference processing module 120 is configured to perform difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
a threshold determining module 130, configured to perform threshold determination on the frequency response difference curve in multiple frequency regions according to a preset threshold, and obtain a frequency region where the frequency response difference curve exceeds the threshold most as an error region;
a calibration fitting module 140 for performing calibration fitting on the frequency response difference curve in the error region by using a predetermined algorithm, and outputting a calibrated frequency response difference curve; and
and a curve merging module 150, configured to perform curve merging on the calibrated frequency response differential curve and the frequency response curve to be calibrated to obtain a new frequency response differential curve.
The new frequency response difference curve obtained in the curve merging module 150 is input to the threshold decision module 130 again as the frequency response difference curve, and the actions of the threshold decision module 130, the calibration module 140 and the curve merging module 150 are repeatedly executed until the new frequency response difference curve obtained by the curve merging module 150 does not exceed the threshold.
The threshold determination module 130 sets an upper limit and a lower limit of the sensitivity as the threshold in advance. And dividing the frequency response difference curve into a plurality of frequency regions according to the frequency size, performing threshold judgment on the frequency response difference curve according to the upper limit and the lower limit, and taking one region, which exceeds the upper limit and the lower limit of the frequency response difference curve, as the error region in the plurality of frequency regions.
The division into a plurality of frequency regions according to the frequency size is performed in such a manner that the frequency response difference curves in the respective frequency regions are all located above the 0 axis or below the 0 axis.
In the calibration fitting module 140, a plurality of filters are preset, and one filter is used to perform calibration fitting on the frequency response difference curve located in the error region each time the calibration fitting step is performed.
In the calibration fitting module 140, an algorithm of any one of the following is applied to the frequency response difference curve located in the error region: an equilibrium effector algorithm, a genetic algorithm, a simulated annealing algorithm.
In the calibration and fitting module 140, an EQ filter is used to perform calibration and fitting on the frequency response differential curve located in the error region.
The calibration fitting module 140 obtains a maximum distance deviating from the threshold by using a cost function for the frequency response differential curve located in the error region, and performs calibration fitting on the frequency response differential curve of the error region by using the EQ filter when the maximum distance is greater than 0.
In the curve merging module 150, the curve merging of the calibrated frequency response difference curve and the to-be-calibrated frequency response curve is to add the calibrated frequency response difference curve and the to-be-calibrated frequency response curve according to the frequency points.
Also, the parameters of the EQ filter are output at the same time as the new frequency response difference curve is output in the curve merging module 150.
Fig. 6 is a block diagram of a computer device of an embodiment of the present disclosure.
As shown in fig. 6, an embodiment of the present disclosure also provides a computer device 500, including a memory 510 and a processor 520, where the memory 510 is configured to store a computing instruction, and the processor 520 is configured to execute the stereo equalization adjustment method provided by any one of the foregoing embodiments when executing the computing instruction.
The memory 510 may be variously implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory, electrically erasable programmable read only memory, magnetic memory, flash memory, magnetic or optical disk, or the like.
The processor 520 may be a central processing unit, a field programmable logic array, a single chip, a digital signal processor, or a logic operation device such as an application specific integrated circuit, which has data processing capability and/or program execution capability. The one or more processors may be configured to execute the stereo equalization adjustment method described above simultaneously with parallel computing processor sets, or configured to execute some of the steps in the stereo equalization adjustment method described above with some of the processors, some of the processors execute other some of the steps in the stereo equalization adjustment method described above, and so on. The computer instructions comprise one or more processor operations defined by an instruction set architecture corresponding to the processor, which may be logically embodied and represented by one or more computer programs.
The computer device 500 may also be connected to various input devices (e.g., a user interface, a keyboard, etc.), various output devices (e.g., a speaker, etc.), a display screen, etc. to realize interaction between the computer device and other products or users, which is not described herein again.
The above examples mainly describe the stereo equalization adjusting method and the stereo equalization adjusting apparatus according to the embodiments of the present disclosure. Although only a few embodiments of the present invention have been described in detail, those skilled in the art will appreciate that the present invention may be embodied in many other forms without departing from the spirit or scope thereof. Accordingly, the present examples and embodiments are to be considered as illustrative and not restrictive, and various modifications and substitutions may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims (17)

1. A stereo equalization adjustment method, comprising:
a curve obtaining step, namely obtaining a stereo frequency response curve as a frequency response curve to be calibrated;
a difference processing step, namely carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
a threshold judging step, namely performing threshold judgment on the frequency response difference curve in a plurality of frequency regions according to a preset threshold to obtain a frequency region with the frequency response difference curve exceeding the threshold most as an error region;
a calibration fitting step, namely performing calibration fitting on the frequency response difference curve in the error area by adopting a specified algorithm and outputting a calibrated frequency response difference curve; and
and a curve merging step, namely performing curve merging on the calibrated frequency response difference curve and the to-be-calibrated frequency response curve to obtain a new frequency response difference curve.
2. The stereo equalization adjustment method of claim 1 wherein the threshold decision step comprises:
presetting a threshold of sensitivity;
dividing the frequency into a plurality of frequency regions according to the frequency size;
judging the frequency response difference curve according to the threshold; and
and in the plurality of frequency regions, taking the region of the frequency response difference curve which exceeds the threshold most as the error region.
3. The stereo equalization adjustment method of claim 2,
the division into a plurality of frequency regions according to the frequency size is performed in such a manner that the frequency response difference curves in the respective frequency regions are all located above the 0 axis or below the 0 axis.
4. The stereo equalization adjustment method of claim 1, further comprising:
and re-inputting the new frequency response difference curve obtained in the curve merging step into the threshold judging step, and repeating the threshold judging step, the calibrating step and the curve merging step until the new frequency response difference curve obtained in the curve merging step does not exceed the threshold.
5. The stereo equalization adjustment method of claim 4,
a plurality of filters are set in advance and,
and performing calibration fitting on the frequency response difference curve in the error region by using a filter each time the calibration fitting step is performed.
6. The stereo equalization adjustment method of claim 1,
in the calibration fitting step, any one of the following algorithms is adopted for the frequency response difference curve in the error region:
genetic algorithm, simulated annealing algorithm.
7. The stereo equalization adjustment method of claim 6,
in the calibration fitting step, an EQ filter is adopted to perform calibration fitting on the frequency response difference curve located in the error region.
8. The stereo equalization adjustment method of claim 7, wherein the calibration fitting step comprises:
for the frequency response difference curve positioned in the error region, defining the maximum distance of the frequency response difference curve deviating from the threshold by using a cost function; and
and under the condition that the maximum distance is larger than 0, performing calibration fitting on the frequency response difference curve of the error region by adopting the EQ filter.
9. The stereo equalization adjustment method of claim 8,
in the curve merging step, the calibrated frequency response difference curve and the frequency response curve to be calibrated are subjected to curve merging, namely the calibrated frequency response difference curve and the frequency response curve to be calibrated are added according to frequency points.
10. The stereo equalization adjustment method of claim 9,
in the curve merging step, the new frequency response difference curve is output, and meanwhile, the filter parameters of the EQ filter are output.
11. A stereo equalization adjustment apparatus is characterized in that,
the curve acquisition module is used for acquiring a stereo frequency response curve as a frequency response curve to be calibrated;
the difference processing module is used for carrying out difference processing on the frequency response curve to be calibrated and a preset target frequency response curve to obtain a frequency response difference curve;
a threshold judging module, configured to perform threshold judgment on the frequency response difference curve in multiple frequency regions according to a preset threshold, and obtain a frequency region where the frequency response difference curve exceeds the threshold most as an error region;
the calibration fitting module is used for performing calibration fitting on the frequency response differential curve in the error area by adopting a specified algorithm and outputting a calibrated frequency response differential curve; and
and the curve merging module is used for performing curve merging on the calibrated frequency response differential curve and the frequency response curve to be calibrated to obtain a new frequency response differential curve.
12. The stereo equalization apparatus of claim 11,
the threshold discrimination module is used for presetting a sensitivity threshold, dividing the sensitivity threshold into a plurality of frequency areas according to the frequency, performing threshold discrimination on the frequency response difference curve according to the threshold, and taking one area, in the plurality of frequency areas, of the frequency response difference curve, which exceeds the threshold most as the error area.
13. The stereo equalization apparatus of claim 11,
and inputting the new frequency response difference curve obtained in the curve merging module as a frequency response difference curve into the threshold judging module, and sequentially repeating the action of the threshold judging module, the calibration module and the curve merging module until the new frequency response difference curve obtained in the curve merging module does not exceed the threshold.
14. The stereo equalization apparatus of claim 13,
in the calibration fitting module, a plurality of filters are preset, and one filter is adopted when the frequency response difference curve is subjected to calibration fitting each time.
15. The stereo equalization apparatus of claim 14,
and in the calibration fitting module, performing calibration fitting on the frequency response differential curve in the error region by using an EQ filter.
16. A computer-readable medium, having stored thereon a computer program,
the computer program, when executed by a processor, implements the stereo equalization adjustment method of any one of claims 1 to 10.
17. A computer device comprising a storage module, a processor and a computer program stored on the storage module and executable on the processor, wherein the processor implements the stereo equalization adjustment method of any one of claims 1 to 10 when executing the computer program.
CN202210223747.8A 2022-03-09 2022-03-09 Stereo equalization adjusting method and device Pending CN114827839A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210223747.8A CN114827839A (en) 2022-03-09 2022-03-09 Stereo equalization adjusting method and device
PCT/CN2023/080464 WO2023169509A1 (en) 2022-03-09 2023-03-09 Stereophonic sound equalization adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210223747.8A CN114827839A (en) 2022-03-09 2022-03-09 Stereo equalization adjusting method and device

Publications (1)

Publication Number Publication Date
CN114827839A true CN114827839A (en) 2022-07-29

Family

ID=82528678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210223747.8A Pending CN114827839A (en) 2022-03-09 2022-03-09 Stereo equalization adjusting method and device

Country Status (2)

Country Link
CN (1) CN114827839A (en)
WO (1) WO2023169509A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023169509A1 (en) * 2022-03-09 2023-09-14 湖北星纪魅族科技有限公司 Stereophonic sound equalization adjustment method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100897971B1 (en) * 2005-07-29 2009-05-18 하르만 인터내셔날 인더스트리즈, 인코포레이티드 Audio tuning system
US8306242B2 (en) * 2010-06-29 2012-11-06 Robert Bosch Gmbh Heyser spiral low frequency correction of FIR filters
CN110784792B (en) * 2019-09-30 2020-12-11 歌尔股份有限公司 Processing method for local mutation generated by EQ calibration
CN113468674B (en) * 2021-07-23 2022-03-04 上海紫荆桃李科技有限公司 Automotive interior spare surface sound production timing system based on neural network
CN114827839A (en) * 2022-03-09 2022-07-29 湖北星纪时代科技有限公司 Stereo equalization adjusting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023169509A1 (en) * 2022-03-09 2023-09-14 湖北星纪魅族科技有限公司 Stereophonic sound equalization adjustment method and device

Also Published As

Publication number Publication date
WO2023169509A1 (en) 2023-09-14

Similar Documents

Publication Publication Date Title
TWI797229B (en) A system and a processing method for customizing audio experience
WO2023169509A1 (en) Stereophonic sound equalization adjustment method and device
TWI761642B (en) Method, device and electronic device for determining decision-making strategy corresponding to business
CN110677768A (en) Wireless earphone control method and device, wireless earphone and storage medium
CN111584065B (en) Noise hearing loss prediction and susceptible crowd screening method, device, terminal and medium
CN115604628B (en) Filter calibration method and device based on earphone loudspeaker frequency response
EP3886466A1 (en) Smart loudspeaker box playing method and device and smart loudspeaker box
CN113115195B (en) Automatic production test method and device for active noise reduction earphone
CN111708931B (en) Big data acquisition method based on mobile internet and artificial intelligence cloud service platform
US11501209B2 (en) Behavior identification method, behavior identification device, non-transitory computer-readable recording medium recording therein behavior identification program, machine learning method, machine learning device, and non-transitory computer-readable recording medium recording therein machine learning program
CN107404587B (en) Audio playing control method, audio playing control device and mobile terminal
WO2023092784A1 (en) Wireless earphone wearing detection method, device, and storage medium
CN108432216B (en) Volume adjustment method and device and electronic equipment
CN106791503A (en) Image processing method and device
US20070269061A1 (en) Apparatus, method, and medium for removing crosstalk
CN115482908A (en) Fitting agent for hearing devices and method of updating a multi-environment user model
Ali et al. An integrated MVDR beamformer for speech enhancement using a local microphone array and external microphones
CN109104658B (en) Touch identification method and device of wireless earphone and wireless earphone
CN116884429B (en) Audio processing method based on signal enhancement
CN110739006B (en) Audio processing method and device, storage medium and electronic equipment
CN115802267A (en) Automatic calibration method and system for acoustic characteristics of hearing aid
CN115080909B (en) Analysis method for influencing data of internet of things sensing equipment, electronic equipment and storage medium
US9892722B1 (en) Method to ensure a right-left balanced active noise cancellation headphone experience
CN114257910A (en) Audio processing method and device, computer readable storage medium and electronic equipment
CN114036145A (en) Data set balancing method and device and computer readable storage medium

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
CB02 Change of applicant information

Address after: 430050 No. b1337, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant after: Hubei Xingji Meizu Technology Co.,Ltd.

Address before: 430050 No. b1337, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant before: Hubei Xingji times Technology Co.,Ltd.

CB02 Change of applicant information