CN110536216B - Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium - Google Patents

Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium Download PDF

Info

Publication number
CN110536216B
CN110536216B CN201910835081.XA CN201910835081A CN110536216B CN 110536216 B CN110536216 B CN 110536216B CN 201910835081 A CN201910835081 A CN 201910835081A CN 110536216 B CN110536216 B CN 110536216B
Authority
CN
China
Prior art keywords
sampling
interpolation
point
frequency
gain
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
CN201910835081.XA
Other languages
Chinese (zh)
Other versions
CN110536216A (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.)
Changsha Echo Technology Co ltd
Original Assignee
Changsha Echo 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 Changsha Echo Technology Co ltd filed Critical Changsha Echo Technology Co ltd
Priority to CN201910835081.XA priority Critical patent/CN110536216B/en
Publication of CN110536216A publication Critical patent/CN110536216A/en
Application granted granted Critical
Publication of CN110536216B publication Critical patent/CN110536216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention discloses an equalization parameter matching method, device, terminal equipment and storage medium based on interpolation processing, wherein the tone of a sound box is subjected to discretization sampling according to the gain variation range of equalization frequency points to obtain the spectrum curve of each discretization sampling point; carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equilibrium parameter interpolation curve, and obtaining a frequency spectrum curve of each interpolation point based on the equilibrium parameter interpolation curve; and establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points. The invention can realize the dynamic matching of the balance parameter change rule of the sound box simulation equipment and the target sound box, and when other parameters influencing the sound color of the sound box are kept unchanged and only the balance parameter of the target sound box is adjusted, the balance parameter of the sound box simulation equipment is correspondingly adjusted, so that the real-time sound color of the target sound box can be obtained without copying and sampling the target sound box.

Description

Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium
Technical Field
The invention belongs to the technical field of audio, and particularly relates to an equalization parameter matching method and device based on interpolation processing, terminal equipment and a storage medium.
Background
The sound box is a terminal of the whole sound system, which is used for converting audio frequency electric energy into corresponding sound energy and radiating the sound energy to the space, is an extremely important component of the sound system and is responsible for converting an electric signal into an acoustic signal for direct listening by ears of people. However, in some cases, such as a performance site, the sound box may not be provided or may be used for a long time, the equipment is aged, the tone quality is not good, the volume of the sound box is heavy, and the sound box is inconvenient for a musician to carry out every performance. In addition, a good sound box is expensive, the cost for purchasing a plurality of sound boxes is undoubtedly high for people needing various sound colors of other sound boxes, and sound box simulation equipment capable of simulating various sound colors of the sound boxes is selected at the moment, so that the sound box is a judicious choice for musicians.
The sound color of the sound box is varied, and is affected by parameters such as balance, gain, overload, reverberation, volume and the like, when the existing sound box simulation equipment simulates the sound color of a target sound box, the sound color of the target sound box needs to be firstly adjusted to a satisfactory sound color, then the sound color is copied and sampled, the simulated sound color is the sound box sound color under the specific parameters, and if one of the parameters is adjusted, resampling needs to be carried out. In a plurality of parameters affecting the sound color of the sound box, the balance parameters play a key role in the adjustment of the sound color, when the sound color of different balance parameters is collected by the existing sound box simulation equipment, the sampling needs to be frequently carried out aiming at the different balance parameters, and when the balance parameters on a target sound box change, the sound color change can not be dynamically and synchronously realized by correspondingly adjusting the balance parameters on the sound box simulation equipment.
Disclosure of Invention
In view of the above-mentioned defects in the prior art, the present invention aims to provide an equalization parameter matching method, apparatus, terminal device and storage medium based on interpolation processing, and aims to solve the following problems:
the sound box simulation equipment in the prior art cannot realize the dynamic change of the tone along with the balance parameters, when the balance parameters of the target sound box are changed, the same balance parameters are set on the sound box simulation equipment, the tone which is the same as that of the target sound box cannot be obtained, if the tone is required to be obtained, resampling is needed, and frequent sampling brings inconvenience to the sound box tone simulation.
In order to achieve the purpose, the invention adopts the following technical scheme:
an equalization parameter matching method based on interpolation processing, the method comprising:
a. discretizing and sampling the tone of the sound box according to the gain variation range of the balanced frequency points to obtain a frequency spectrum curve of each discrete sampling point; b. carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equilibrium parameter interpolation curve, and obtaining a frequency spectrum curve of each interpolation point based on the equilibrium parameter interpolation curve; c. and establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points.
Further, in the step a, the gain variation range of the equalization parameter is the same as that of the equalization parameter on the sound box, and the equalization frequency point and the equalization bandwidth are also the same.
Further, in the step a, the discretization sampling specifically includes: and selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, and on the basis, the gain value of only one frequency point is changed at a time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling of each frequency point.
Further, in the step a, the input signal sampled every time is the same.
Further, the input signal is white noise, pink noise, a complex sine wave or a swept frequency signal.
Further, the obtaining of the spectrum curve of each discrete sampling point specifically includes: and taking the frequency spectrum curve of the first sampling point as a reference, and subtracting the frequency spectrum curves of other sampling points from the reference to obtain the frequency spectrum curve of each discrete sampling point based on the gain change of the frequency point.
Further, in the step b, interpolation processing is performed in a linear or spline manner.
Further, in the step c, corresponding filter parameters are established through an inverse fourier transform method or an optimization method.
An equalization parameter matching apparatus based on interpolation processing, comprising:
the sampling module is used for carrying out discretization sampling on the tone of the sound box according to the gain variation range of the balanced frequency point to obtain a frequency spectrum curve of each discrete sampling point;
the interpolation module is used for carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equalization parameter interpolation curve and obtaining a frequency spectrum curve of each interpolation point based on the equalization parameter interpolation curve;
and the filter module is used for establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points.
Further, the discretization sampling performed by the sampling module specifically comprises: and selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, and on the basis, the gain value of one frequency point is changed at one time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling in each frequency point.
Further, the acquiring, by the sampling module, a spectrum curve of each discrete sampling point specifically includes: and taking the frequency spectrum curve of the first sampling point as a reference, and subtracting the frequency spectrum curves of other sampling points from the reference to obtain the frequency spectrum curve of each discrete sampling point based on the gain change of the frequency point.
Further, the interpolation module performs interpolation processing in a linear or spline manner.
Further, the filter module establishes corresponding filter parameters by an inverse fourier transform method or an optimization method.
A terminal device comprising a processor, a memory and an executable program stored on the memory and capable of being executed by the processor, wherein the processor executes the executable program to perform any one of the equalization parameter matching methods based on interpolation processing described in the preceding claims.
A computer-readable storage medium, on which an executable program is stored, wherein the executable program, when executed by a processor, implements the equalization parameter matching method based on interpolation processing according to any one of the preceding claims.
Advantageous effects
Compared with the prior art, the invention has the following beneficial effects:
(1) the invention provides an equalization parameter matching method, an apparatus, a terminal device and a storage medium based on interpolation processing, the method can realize dynamic matching of the equalization parameter change rule of a sound box simulation device and a target sound box, when other parameters influencing the sound color of the sound box are kept unchanged and only the equalization parameter of the target sound box is adjusted, the equalization parameter of the sound box simulation device is correspondingly adjusted, the real-time sound color of the target sound box can be obtained, and the target sound box does not need to be copied and sampled.
(2) The invention realizes that the sound box simulation equipment has the same balance parameter adjusting mode as a real sound box, can adjust the balance parameter of one frequency band at a time, can also adjust the balance parameters of a plurality of frequency bands at the same time, accords with the use habit of the public, is convenient for the user to operate, and improves the convenience for the user to use.
Drawings
Fig. 1 is a flowchart of an equalization parameter matching method based on interpolation processing according to embodiment 1 of the present invention;
fig. 2 is a block diagram of an equalization parameter matching apparatus based on interpolation processing according to embodiment 2 of the present invention;
fig. 3 is a hardware schematic diagram of an equalization parameter matching method based on interpolation processing according to embodiment 3 of the present invention.
Detailed Description
The technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
Example 1
The embodiment provides an equalization parameter matching method based on interpolation processing, which is characterized by comprising the following steps:
a. discretizing and sampling the tone of the sound box according to the gain variation range of the balanced frequency points to obtain a frequency spectrum curve of each discrete sampling point;
the equalizer is divided into a graphic equalizer, a parameter equalizer and a room equalizer, the equalizer applied to the sound box is a parameter equalizer, generally a three-section or four-section equalizer, taking the three-section equalizer as an example, the three-section equalizer has three frequency bands which can be adjusted, generally divided into three frequency bands of high frequency, medium frequency and low frequency, and a central frequency point and a bandwidth of each frequency band are specified so as to realize the change of a certain bandwidth by taking the central frequency point as a center in each frequency band.
In this embodiment, in the step a, the gain variation range of the equalization parameter is the same as the gain variation range of the equalization parameter on the sound box, and the equalization frequency point and the equalization bandwidth are also the same.
Further, in the step a, the discretization sampling specifically includes: and selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, and on the basis, the gain value of only one frequency point is changed at a time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling of each frequency point.
Taking a three-section equalizer as an example, when sampling for the first time, adjusting the tone of a target sound box to a satisfactory tone, sampling the sound tone of the sound box under the specific parameter, keeping other parameters except for balance on the sound box unchanged, taking the gain values of three central frequency points of high-frequency, intermediate-frequency and low-frequency bands corresponding to the sound tone of the target sound box under the specific parameter as reference parameters, respectively performing discrete sampling in the gain variation ranges of the central frequency points corresponding to the low-frequency, intermediate-frequency and high-frequency bands on the basis, wherein when performing discrete sampling on the gain variation range of the central frequency point corresponding to the low-frequency band, the gain values of the intermediate-frequency and high-frequency bands are kept at the reference parameters, and selecting a plurality of gain points to sample the sound tone of the sound box in the gain variation range of the central frequency point corresponding to the low-frequency band; when discrete sampling is carried out on the gain variation range of the central frequency point corresponding to the intermediate frequency band, the gain values of the low frequency band and the high frequency band are kept at reference parameter points, and a plurality of gain points are selected in the gain variation range of the central frequency point corresponding to the intermediate frequency band to sample the tone of the sound box; when discrete sampling is carried out on the gain change range of the central frequency point corresponding to the high-frequency band, the gain values of the low-frequency band and the medium-frequency band are kept at the reference parameter point, and a plurality of gain points are selected from the gain change range of the central frequency point corresponding to the high-frequency band to sample the tone of the sound box.
Further, in the step a, the input signal sampled every time is the same. The input signals sampled every time are the same, so that the situation that sampling results are different due to different input signals is eliminated, and the sampling result is only influenced by the equalization parameters.
Further, the input signal is white noise, pink noise, a complex sine wave or a swept frequency signal.
Further, in the step a, the obtaining a spectrum curve of each discrete sampling point specifically includes: and comparing the spectrum curves of other sampling points with the reference by taking the spectrum curve of the first sampling point as the reference to obtain the spectrum curve of each discrete sampling point based on the gain change of the frequency point.
The method comprises the steps of carrying out Fourier transform on an input signal sampled for the first time, obtaining a spectrum curve of a sampling point, wherein the spectrum curve is the superposition of a spectrum curve based on a gain value of a current equalization frequency point and spectrum curves of other parameters except equalization parameters, selecting the spectrum curve as a reference curve, keeping the other parameters except equalization on a sound box unchanged, and comparing the spectrum curves of subsequent sampling points with the reference curve to obtain the spectrum curve of each discrete sampling point based on gain change of the frequency point.
b. Carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equilibrium parameter interpolation curve, and obtaining a frequency spectrum curve of each interpolation point based on the equilibrium parameter interpolation curve;
further, in this embodiment, in the step b, interpolation processing is performed in a linear or spline manner.
(1) Linear interpolation
Taking interpolation processing on the equalization parameters of the low-frequency band as an example, discrete fixed-point sampling value is taken within the gain variation range of the central frequency point corresponding to the low-frequency band, and it is assumed that two adjacent sampling points are (x) respectively1,y1) And (x)2,y2) And (x, y) is an arbitrary interpolation point between the two sampling points, according to the linear interpolation principle, wherein x represents a gain point value of a central frequency point corresponding to the low frequency band, and y represents a spectrum curve value corresponding to the gain point, and the following requirements are met:
Figure BDA0002191817140000071
given an arbitrary x1<x<x2By solving the above formula, the linear interpolation target value y corresponding to x is obtained as:
Figure BDA0002191817140000081
y is the corresponding spectrum curve of each interpolation point.
(2) Spline interpolation
Taking interpolation processing on equalization parameters of a low-frequency band as an example, discrete fixed-point sampling value is carried out in a gain variation range of a central frequency point corresponding to the low-frequency band, taking the most common cubic spline interpolation algorithm as an example, by constructing a cubic spline interpolation function between adjacent sampling points, the interpolation function has enough smoothness on an interpolation interval formed by the adjacent sampling points, and the interpolation points in the interval are brought into the cubic spline interpolation function, so that a spectrum curve corresponding to each interpolation point can be obtained.
The specific principle of constructing the cubic spline interpolation function is as follows: given interval [ a, b]There are n +1 nodes above: a ═ x0<x1<...<xnB and function values f (x) of these nodesi)=yiI is 0, 1, … …, n. If the function S (x) satisfies S (x) yiI is 0, 1, … …, n; s (x) in each cell [ x ]i,xi+1]Above is a polynomial of not more than three degrees, S (x) is in the interval [ a, b)]The above two continuous derivatives are called S (x) as f (x) in the interval [ a, b]The above cubic spline interpolation function, the cubic spline interpolation function s (x) is to be constructed:
S(x)=Si(x)=aix3+bix2+cix+di
wherein a isi,bi,ci,diIs undetermined coefficient, and the interpolation condition meets:
S(xi)=f(xi),(i=0,1,……,n)
further S (x) in the interval [ a, b ]]The first and second derivatives above are continuous, so at node xiThe following continuity condition should be satisfied at (i ═ 1, 2, … …, n-1):
S(xi-0)=S(xi+0)
S′(xi-0)=S′(xi+0)
S″(xi-0)=S″(xi+0)
with the addition of a boundary condition S' (x)0)=S″(xn) When the value is 0, a cubic spline function can be obtained.
c. And establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points.
In this embodiment, in the step c, corresponding filter parameters are established by an inverse fourier transform method or an optimization method.
Further, the filter may be an FIR filter or an IIR filter, in which FIR filter parameters are constructed by an inverse fourier transform method and IIR filter parameters are constructed by an optimization method.
And in actual operation, carrying out equalization operation by calling the filter parameters.
Example 2
The present embodiment provides an equalization parameter matching apparatus based on interpolation processing, including:
the sampling module 1 is used for carrying out discretization sampling on the tone of the sound box according to the gain variation range of the balanced frequency point to obtain a frequency spectrum curve of each discrete sampling point;
the interpolation module 2 is used for carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equalization parameter interpolation curve, and obtaining a frequency spectrum curve of each interpolation point based on the equalization parameter interpolation curve;
and the filter module 3 is used for establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points.
Further, the discretization sampling performed by the sampling module 1 specifically comprises: and selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, and on the basis, the gain value of one frequency point is changed at one time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling in each frequency point.
Further, the acquiring, by the sampling module 1, a spectrum curve of each discrete sampling point specifically includes: and taking the frequency spectrum curve of the first sampling point as a reference, and subtracting the frequency spectrum curves of other sampling points from the reference to obtain the frequency spectrum curve of each discrete sampling point based on the gain change of the frequency point.
Further, the interpolation module 2 performs interpolation processing in a linear or spline manner.
Further, the filter module 3 establishes corresponding filter parameters by an inverse fourier transform method or an optimization method.
It should be noted that: the equalization parameter matching device based on interpolation processing provided in the above embodiment is only exemplified by the division of each program module in actual operation, and in practical applications, the processing allocation may be completed by different program modules as needed, that is, the internal structure of the equalization parameter matching device based on interpolation processing is divided into different program modules to complete all or part of the processing described above. In addition, the equalization parameter matching device based on interpolation processing provided by the above embodiment and the method embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and is not described herein again.
Example 3
In order to implement the above equalization parameter matching method based on interpolation processing, the embodiment of the present invention further provides a hardware structure of the equalization parameter matching method based on interpolation processing. The hardware structure of the equalization parameter matching method based on interpolation processing according to the embodiment of the present invention is further described below, and fig. 3 is a schematic block diagram of a terminal device according to the embodiment of the present application.
The present embodiment provides a terminal device 100, as shown in fig. 3, including a processor 110, a memory 120, and an executable program 130 stored on the memory and capable of being executed by the processor, where the processor 110 executes the steps in the foregoing embodiment 1, for example, steps a to c shown in fig. 1, when executing the executable program 130. Alternatively, the processor 110 executes the executable program 130 to perform the functions of the modules/units in the foregoing embodiment 2, for example, the functions of the modules 1 to 3 shown in fig. 2.
For example, the executable program 130 may be divided into one or more modules/units, which are stored in the memory 120 and executed by the processor 110 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the executable program 130 in the terminal device 100.
The terminal device 100 includes, but is not limited to, a processor 110 and a memory 120. Those skilled in the art will appreciate that fig. 3 is only one example of a terminal device 100 and does not constitute a limitation of terminal device 100 and may include more or fewer components than shown, or some components may be combined, or different components, for example, the terminal device may also include input devices, output devices, network access devices, buses, etc.
The Processor 110 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 120 may be an internal storage unit of the terminal device 100, such as a hard disk or a memory of the terminal device 100. The memory 120 may also be an external storage device of the terminal device 100, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 100. Further, the memory 120 may also include both an internal storage unit and an external storage device of the terminal device 100. The memory 120 is used for storing the computer programs and other programs and data required by the terminal device. The memory 120 may also be used to temporarily store data that has been output or is to be output.
Example 4
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiment described above can be realized by the present application, and can also be completed by instructing the relevant hardware through a computer program.
Accordingly, an embodiment of the present invention provides a computer-readable storage medium, on which an executable computer program is stored, wherein the executable computer program, when executed by a processor, implements the equalization parameter matching method based on interpolation processing as described in the foregoing embodiment 1.
Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Those of ordinary skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed mobile terminal and method may be implemented in other ways. For example, the above-described embodiments of the mobile terminal are merely illustrative, and for example, the division of the modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. An equalization parameter matching method based on interpolation processing, the method comprising:
a. discretizing and sampling the tone of the sound box according to the gain variation range of the balanced frequency points to obtain a frequency spectrum curve of each discrete sampling point; b. carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equilibrium parameter interpolation curve, and obtaining a frequency spectrum curve of each interpolation point based on the equilibrium parameter interpolation curve; c. establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points;
in the step a, the discretization sampling specifically includes: selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, on the basis, the gain value of only one frequency point is changed at a time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling of each frequency point;
in the step a, the input signal sampled every time is the same;
the acquiring of the spectrum curve of each discrete sampling point specifically includes: and comparing the spectrum curves of other sampling points with the reference by taking the spectrum curve of the first sampling point as the reference to obtain the spectrum curve of each discrete sampling point based on the gain change of the frequency point.
2. The method according to claim 1, wherein in step a, the gain variation range of the equalization parameter is the same as the gain variation range of the equalization parameter on the loudspeaker box, and the equalization frequency point and the equalization bandwidth are also the same.
3. The method as claimed in claim 1, wherein the input signal is white noise, pink noise, complex sine wave or swept frequency signal.
4. The equalization parameter matching method based on interpolation processing as claimed in claim 1, wherein in the step b, interpolation processing is performed in a linear or spline manner.
5. The method for matching equalization parameters based on interpolation process as claimed in claim 1, wherein in the step c, the corresponding filter parameters are established by inverse fourier transform or optimization method.
6. An equalization parameter matching apparatus based on interpolation processing, comprising:
the sampling module is used for carrying out discretization sampling on the tone of the sound box according to the gain variation range of the balanced frequency point to obtain a frequency spectrum curve of each discrete sampling point;
the interpolation module is used for carrying out interpolation processing on the gain among the discrete sampling points to obtain a corresponding equalization parameter interpolation curve and obtaining a frequency spectrum curve of each interpolation point based on the equalization parameter interpolation curve;
the filter module is used for establishing corresponding filter parameters according to the frequency spectrum curves of the sampling points and the interpolation points;
the discretization sampling performed by the sampling module specifically comprises the following steps: selecting different gain values on each balanced frequency point to copy and sample the tone of the sound box, wherein the gain value of each balanced frequency point of a first sampling point is taken as a reference parameter, on the basis, the gain value of only one frequency point is changed at a time, and the gain values of other frequency points are kept unchanged at the reference parameter point so as to perform discrete sampling in each frequency point;
wherein, the input signals sampled every time are the same;
the sampling module obtains a spectrum function of each discrete sampling point specifically as follows: and taking the frequency spectrum curve of the first sampling point as a reference, and subtracting the frequency spectrum curves of other sampling points from the reference to obtain the frequency spectrum curve of each discrete sampling point based on the gain change of the frequency point.
7. The equalization parameter matching device based on interpolation processing as claimed in claim 6, wherein the interpolation module performs interpolation processing in a linear or spline manner.
8. The device according to claim 6, wherein the filter module establishes the corresponding filter parameters by an inverse fourier transform method or an optimization method.
9. A terminal device comprising a processor, a memory and an executable program stored on the memory and executable by the processor, wherein the processor executes the executable program to perform the equalization parameter matching method based on interpolation processing according to any one of claims 1 to 5.
10. A computer-readable storage medium having stored thereon an executable program, wherein the executable program, when executed by a processor, implements the equalization parameter matching method based on interpolation processing according to any one of claims 1 to 5.
CN201910835081.XA 2019-09-05 2019-09-05 Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium Active CN110536216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910835081.XA CN110536216B (en) 2019-09-05 2019-09-05 Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910835081.XA CN110536216B (en) 2019-09-05 2019-09-05 Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110536216A CN110536216A (en) 2019-12-03
CN110536216B true CN110536216B (en) 2021-04-06

Family

ID=68667103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910835081.XA Active CN110536216B (en) 2019-09-05 2019-09-05 Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110536216B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913305B (en) * 2019-12-05 2021-08-24 广东技术师范大学 Self-adaptive equalizer compensation method for vehicle-mounted sound equipment
CN111624985B (en) * 2020-06-10 2022-12-06 上海工业自动化仪表研究院有限公司 Gas turbine control system sensor fault diagnosis method
CN112597431A (en) * 2020-12-24 2021-04-02 金川集团股份有限公司 Flow interpolation integration method and device based on integral diffusion factor
CN112769410A (en) * 2020-12-25 2021-05-07 西安讯飞超脑信息科技有限公司 Filter construction method, audio processing method, electronic equipment and storage device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5572443A (en) * 1993-05-11 1996-11-05 Yamaha Corporation Acoustic characteristic correction device
CN2465434Y (en) * 1999-08-02 2001-12-12 广东爱浪数字技术有限公司 Frequency equalizing automatic regulator
US7574009B2 (en) * 2001-09-21 2009-08-11 Roland Aubauer Method and apparatus for controlling the reproduction in audio signals in electroacoustic converters
JP4945955B2 (en) * 2005-08-19 2012-06-06 ソニー株式会社 Tap coefficient design method and tap coefficient design apparatus
JP2007288468A (en) * 2006-04-17 2007-11-01 Sony Corp Audio output device and parameter calculating method
US8660171B1 (en) * 2007-08-15 2014-02-25 Marvell International Ltd. Method and apparatus for timing jitter measurement
CN102404672B (en) * 2011-10-27 2013-12-18 苏州上声电子有限公司 Method and device for controlling channel equalization and beam of digital loudspeaker array system
US8810950B1 (en) * 2013-03-15 2014-08-19 Lsi Corporation Data sequence detection in band-limited channels using two stream detector architecture
CN109803218B (en) * 2019-01-22 2020-12-11 北京雷石天地电子技术有限公司 Automatic calibration method and device for loudspeaker sound field balance

Also Published As

Publication number Publication date
CN110536216A (en) 2019-12-03

Similar Documents

Publication Publication Date Title
CN110536216B (en) Equalization parameter matching method and device based on interpolation processing, terminal equipment and storage medium
Ramos et al. Filter design method for loudspeaker equalization based on IIR parametric filters
KR102624349B1 (en) Spectral correction of audio signals
Harker et al. The HISSTools impulse response toolbox: Convolution for the masses
CN106658284A (en) Addition of virtual bass in the frequency domain
Välimäki et al. Accurate cascade graphic equalizer
CN107331403B (en) Audio optimization method based on algorithm, intelligent terminal and storage device
CN111800723B (en) Active noise reduction earphone testing method and device, terminal equipment and storage medium
CN112017687B (en) Voice processing method, device and medium of bone conduction equipment
JP6452653B2 (en) A system for modeling the characteristics of musical instruments
CN110599988B (en) Method, device, terminal equipment and computer readable storage medium for simulating tone of sound processor
CN108922558B (en) Voice processing method, voice processing device and mobile terminal
CN111796790B (en) Sound effect adjusting method and device, readable storage medium and terminal equipment
CN112565981B (en) Howling suppression method, howling suppression device, hearing aid, and storage medium
CN110956973A (en) Echo cancellation method and device and intelligent terminal
CN112562624B (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
JP2017090888A (en) Method for modeling characteristic of instrument
CN106653049A (en) Addition of virtual bass in time domain
JPWO2003019533A1 (en) Apparatus and method for adaptively interpolating frequency components of a signal
GB2536464A (en) An apparatus, method and computer program for providing an audio signal
US9172346B2 (en) Numeric audio signal equalization
CN110728970B (en) Method and device for digital auxiliary sound insulation treatment
JP6399864B2 (en) Controller design apparatus, controller design method and program
CN112562625B (en) Active noise reduction filter design method, noise reduction method, system and electronic equipment
CN113657026A (en) Simulation design method, device, equipment and storage medium of filter

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