CN108200526A - A kind of sound equipment adjustment method and device based on confidence level curve - Google Patents
A kind of sound equipment adjustment method and device based on confidence level curve Download PDFInfo
- Publication number
- CN108200526A CN108200526A CN201711487273.3A CN201711487273A CN108200526A CN 108200526 A CN108200526 A CN 108200526A CN 201711487273 A CN201711487273 A CN 201711487273A CN 108200526 A CN108200526 A CN 108200526A
- Authority
- CN
- China
- Prior art keywords
- amplitude
- frequency response
- measuring signal
- signal
- confidence level
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The present invention relates to a kind of sound equipment adjustment method and device based on confidence level curve, including:Obtain the amplitude-frequency response of the collected measuring signal of microphone, and the amplitude-frequency response of measuring signal is compared with the amplitude-frequency response of reference signal, obtain the compensation frequency range corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of measuring signal, wherein, reference signal is pre-stored or the speaker by having been debugged in sound system is sent out, then judge whether the amplitude-frequency response of measuring signal and the amplitude-frequency response of reference signal are less than preset standard confidence level in the confidence level of compensation frequency range, if, then forbid carrying out amplitude compensation to the target amplitude-frequency response section that needs compensate;If it is not, then compensating operation is performed to the amplitude of target amplitude-frequency response section that needs compensate.As it can be seen that the embodiment of the present invention, can reduce the degree that voice signal generates distortion after compensating.
Description
Technical field
The present invention relates to speaker technology fields, and in particular to a kind of sound equipment adjustment method and dress based on confidence level curve
It puts.
Background technology
Sound field is the space of conduct acoustic waves, since voice signal is easily influenced in communication process by sound field, sound
Signal can generate distortion.For example, indoors in environment, the voice signal that speaker is sent out can pass through wall, day in communication process
The reflection and absorption at the interfaces such as card so as to cause the distortion of voice signal, reduce the audio experience of user.At present, it drops
The conventional method of influence of the field to voice signal is that the frequency range compensated is needed to mend in the voice signal sent out to speaker in a low voice
It repays.However, it has been found in practice that this method easily makes voice signal generate more serious distortion after the compensation, aggravate
The distortion level of voice signal.
Invention content
The embodiment of the present invention discloses a kind of sound equipment adjustment method and device based on confidence level curve, can reduce sound letter
The degree of distortion number is generated after compensating.
The amplitude-frequency response of the collected measuring signal of microphone is obtained, the measuring signal is by sound system
What speaker to be debugged was sent out;
The amplitude-frequency response of the measuring signal with the amplitude-frequency response of reference signal is compared, is obtained described
The compensation frequency range corresponding to the target amplitude-frequency response section compensated, the reference are needed in the amplitude-frequency response of measuring signal
Signal is pre-stored or the speaker by having been debugged in the sound system is sent out;
Judge the amplitude-frequency response of the measuring signal with the amplitude-frequency response of the reference signal in the compensation
Whether the confidence level of frequency range is less than preset standard confidence level, if it is, forbidding to the target amplitude-frequency response for needing to compensate
Curved section carries out amplitude compensation;If it is not, then compensation is performed to the amplitude of target amplitude-frequency response section for needing to compensate
Operation;The confidence level is used to represent amplitude-frequency response of the amplitude-frequency response with the reference signal of the measuring signal
In the degree of correlation of the compensation frequency range.
It is described by the measuring signal as an alternative embodiment, in first aspect of the embodiment of the present invention
Amplitude-frequency response is compared with the amplitude-frequency response of reference signal, obtains in the amplitude-frequency response of the measuring signal
After needing the compensation frequency range corresponding to the target amplitude-frequency response section compensated, the method further includes:
Calculate the first autopower spectral density of the measuring signal and the second autopower spectral density of the reference signal;
Calculate the cross-power spectral density of the measuring signal and the reference signal;
According to first autopower spectral density, second autopower spectral density and the cross-power spectral density, meter
The amplitude-frequency response of the measuring signal is calculated with the amplitude-frequency response of the reference signal in the credible of the compensation frequency range
Degree, and the amplitude-frequency response for judging the measuring signal is performed with the amplitude-frequency response of the reference signal in institute
Whether the confidence level for stating compensation frequency range is less than preset standard confidence level.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the acquisition microphone collects
Measuring signal amplitude-frequency response, including:
Obtain the first curve of the collected measuring signal of microphone in the time domain;
Fast Fourier Transform (FFT) operation is performed to first curve, obtains second song of the measuring signal on frequency domain
Line;
Second curve is determined as to the amplitude-frequency response of the measuring signal.
It is described by the measuring signal as an alternative embodiment, in first aspect of the embodiment of the present invention
Amplitude-frequency response is compared with the amplitude-frequency response of reference signal, obtains in the amplitude-frequency response of the measuring signal
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed, including:
Calculate the measuring signal amplitude-frequency response and reference signal amplitude-frequency response in the same coordinate system x
The difference of corresponding y-coordinate when coordinate is identical;
Absolute value in all differences is selected to be more than at least one target difference of preset difference value, and is determined each described
The corresponding coordinates of targets point of target difference and the width that the measuring signal is made of the x coordinate of all coordinates of targets points
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed in frequency response curve.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to need what is compensated to described
The amplitude of target amplitude-frequency response section performs compensating operation, including:
Balanced filter is determined with the amplitude-frequency response of the reference signal according to the amplitude-frequency response of the measuring signal
The running parameter of wave device;
Control the equalization filter according to the running parameter to the target amplitude-frequency response section for needing to compensate
Amplitude perform compensating operation.
Second aspect of the embodiment of the present invention discloses a kind of sound equipment debugging apparatus based on amplitude-frequency response, including:
Acquiring unit, for obtaining the amplitude-frequency response of the collected measuring signal of microphone, the measuring signal is
It is sent out by the speaker to be debugged in sound system;
Comparing unit, for the amplitude-frequency response of the amplitude-frequency response of the measuring signal and reference signal to be carried out
It compares, obtains the compensation corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of the measuring signal
Frequency range, the reference signal is pre-stored or the speaker by having been debugged in the sound system is sent out;
Judging unit, for judging that the amplitude-frequency response of the measuring signal and the amplitude-frequency response of the reference signal are bent
Whether line is less than preset standard confidence level in the confidence level of the compensation frequency range;The confidence level is used to represent the measuring signal
Amplitude-frequency response and the reference signal amplitude-frequency response the compensation frequency range degree of correlation;
Forbid unit, for judging the amplitude-frequency response of the measuring signal and the reference in the judging unit
The amplitude-frequency response of signal is forbidden when the confidence level of the compensation frequency range is less than the preset standard confidence level to the need
The target amplitude-frequency response section to be compensated carries out amplitude compensation;
Compensating unit, for judging the amplitude-frequency response of the measuring signal and the reference in the judging unit
The amplitude-frequency response of signal is when the confidence level of the compensation frequency range is more than or equal to the preset standard confidence level, to institute
The amplitude for stating the target amplitude-frequency response section for needing to compensate performs compensating operation.
As an alternative embodiment, in second aspect of the embodiment of the present invention, described device further includes:
First computing unit, in the comparing unit by the amplitude-frequency response of the measuring signal and the reference
The amplitude-frequency response of signal is compared, and obtains needing the target amplitude-frequency compensated in the amplitude-frequency response of the measuring signal
After compensation frequency range corresponding to response curve section, the first autopower spectral density of the measuring signal and the reference are calculated
Second autopower spectral density of signal;Wherein, the reference signal be it is pre-stored or by the sound system
What the speaker of debugging was sent out;
First computing unit, the cross power spectrum for being additionally operable to calculate the measuring signal and the reference signal are close
Degree;
Second computing unit, for calculated according to first computing unit first autopower spectral density, institute
The second autopower spectral density is stated with after the cross-power spectral density, calculating amplitude-frequency response and the institute of the measuring signal
State confidence level of the amplitude-frequency response in the compensation frequency range of reference signal;
The judging unit, specifically for calculating the amplitude-frequency response song of the measuring signal in second computing unit
Line and the amplitude-frequency response of the reference signal judge the width of the measuring signal after the confidence level of the compensation frequency range
Whether frequency response curve and the amplitude-frequency response of the reference signal are less than preset standard in the confidence level of the compensation frequency range
Confidence level.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the acquiring unit includes:
Subelement is obtained, for obtaining the first curve of the collected measuring signal of microphone in the time domain;
Subelement is handled, for performing Fast Fourier Transform (FFT) operation to first curve, obtains the measuring signal
The second curve on frequency domain;
First determination subelement, for second curve to be determined as to the amplitude-frequency response of the measuring signal.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the comparing unit includes:
Computation subunit, for calculating the amplitude-frequency response of the amplitude-frequency response of the measuring signal and reference signal
The difference of corresponding y-coordinate when x coordinate is identical in the same coordinate system;
Subelement is selected, for absolute value in all differences to be selected to be more than at least one goal discrepancy of preset difference value
Value, and determine the corresponding coordinates of targets point of each target difference and be made of the x coordinate of all coordinates of targets points
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed in the amplitude-frequency response of the measuring signal;Its
In, the reference signal is pre-stored or the speaker by having been debugged in the sound system is sent out.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the compensating unit includes:
Second determination subelement, for the amplitude-frequency response according to the measuring signal and the amplitude-frequency of the reference signal
Response curve determines the running parameter of equalization filter;
Subelement is controlled, for controlling the equalization filter according to the running parameter to the target for needing to compensate
The amplitude of amplitude-frequency response section performs compensating operation.
The third aspect of the embodiment of the present invention discloses a kind of sound equipment debugging apparatus based on confidence level curve, which is characterized in that
Including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the
The sound equipment adjustment method based on confidence level curve disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, which is characterized in that it, which is stored, calculates
Machine program, the computer program cause computer performs to be based on credible write music described in disclosed in first aspect of the embodiment of the present invention
The sound equipment adjustment method of line.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, the amplitude-frequency response of the collected measuring signal of microphone is obtained, which is
It is sent out by the speaker to be debugged in sound system, and by the amplitude-frequency response of measuring signal and the amplitude-frequency response of reference signal
Curve is compared, and obtains corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of measuring signal
Frequency range is compensated, wherein, reference signal is pre-stored or the speaker by having been debugged in sound system is sent out, and is then sentenced
It is pre- whether the amplitude-frequency response of disconnected measuring signal and the amplitude-frequency response of reference signal are less than in the confidence level of compensation frequency range
Bidding will definitely reliability, if it is, forbidding carrying out amplitude compensation to the target amplitude-frequency response section that compensates of needs;If not,
The amplitude of the target amplitude-frequency response section then compensated needs performs compensating operation, wherein, confidence level measures letter for expression
Number amplitude-frequency response and reference signal amplitude-frequency response compensation frequency range degree of correlation.As it can be seen that the present invention is implemented
Example, can be in the amplitude-frequency response and the amplitude-frequency response of reference signal for judging measuring signal in the credible of compensation frequency range
When degree is less than preset standard confidence level, forbid carrying out amplitude compensation to the target amplitude-frequency response section that the needs compensate;And
Judge the amplitude-frequency response of measuring signal and the amplitude-frequency response of reference signal compensation frequency range confidence level be more than or
When person is equal to preset standard confidence level, the amplitude of target amplitude-frequency response section just compensated needs just performs compensating operation,
More serious distortion is generated so as to avoid the measuring signal corresponding to the relatively low frequency range of confidence level, thereby reduces sound letter
The degree of distortion number is generated after compensating.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of flow diagram of sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention;
Fig. 2 is the flow signal of another sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention
Figure;
Fig. 3 is the flow signal of another sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention
Figure;
Fig. 4 is a kind of structure diagram of debugging apparatus disclosed by the embodiments of the present invention;
Fig. 5 is the structure diagram of another debugging apparatus disclosed by the embodiments of the present invention;
Fig. 6 is the structure diagram of another debugging apparatus disclosed by the embodiments of the present invention;
Fig. 7 is the structure diagram of another debugging apparatus disclosed by the embodiments of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work
Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and attached drawing
Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or
The step of equipment is not limited to list or unit, but optionally further include the step of not listing or unit or optional
Ground is further included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses a kind of sound equipment adjustment method and debugging apparatus based on confidence level curve, can reduce sound
Sound signal generates the degree of distortion after compensating.It is described in detail separately below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of stream of sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention
Journey schematic diagram.As shown in Figure 1, following operation can be included by being somebody's turn to do the sound equipment adjustment method based on confidence level curve:
101st, debugging apparatus obtains the amplitude-frequency response of the collected measuring signal of microphone, which is by sound
What the speaker to be debugged in acoustic system was sent out.
In the embodiment of the present invention, amplitude-frequency response refers to the curve that the amplitude of frequency response changes with frequency.Measure letter
The signal of pink noise signal or the continuous frequency sweep of noise generator number can be used, the embodiment of the present invention not limit.
As an alternative embodiment, debugging apparatus can obtain the initial width of the collected measuring signal of microphone
Frequency response curve, and the initial amplitude-frequency response is smoothed, specifically, debugging apparatus can pass through wave filter pair
Initial amplitude-frequency response is weighted mean filter processing or median filter process, obtains collected measure of microphone and believes
Number amplitude-frequency response.As it can be seen that the embodiment of the present invention, can pass through the initial amplitude-frequency of measuring signal collected to microphone
Response curve is weighted mean filter processing or median filter process, is subsequent processing to realize the purpose of smoothed curve
Sound equipment debugging efforts provide facility.
102nd, debugging apparatus carries out the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of reference signal
It compares, obtains the compensation frequency corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of the measuring signal
Section.
In the embodiment of the present invention, reference signal can be pre-stored in debugging apparatus or by above-mentioned sound system
In the speaker debugged send out, optionally, the amplitude-frequency response of reference signal can be a straight smooth curve.It adjusts
Trial assembly is put, and the amplitude-frequency response of above-mentioned measuring signal is compared with the amplitude-frequency response of reference signal, obtains the measurement
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed in the amplitude-frequency response of signal, specifically, is adjusted
The benchmark that can debug the amplitude-frequency response of reference signal as amplitude-frequency response is put in trial assembly, then by measuring signal
Amplitude-frequency response is compared with the amplitude-frequency response of reference signal, obtains each on the amplitude-frequency response of the measuring signal
A frequency point corresponds to the difference of the amplitude between frequency point on the amplitude-frequency response of reference signal, and is determined according to the difference of amplitude
Go out in the amplitude-frequency response of the measuring signal compensation frequency range corresponding to the target amplitude-frequency response section for needing to compensate.Its
In, corresponding frequency point refers in the same coordinate system, the width present on the amplitude-frequency response in reference signal, with measuring signal
Any frequency point of frequency response curve has the frequency point of identical abscissa.
103rd, debugging apparatus judges that the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of above-mentioned reference signal are bent
Whether line is less than preset standard confidence level in the confidence level of compensation frequency range, if so, step 104 is performed,;, whereas if it is no, it holds
Row step 105.
In the embodiment of the present invention, confidence level can represent the coherence of measuring signal and reference signal, you can reliability can be with
Whether reflected measurement signal is same or similar with reference signal, and the value of confidence level is higher, and the similarity between two signals is got over
Height, conversely, the value of confidence level is lower, the similarity between two signals is lower.Further, confidence level can be used for representing
The amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of above-mentioned reference signal are in the degree of correlation for compensating frequency range.It can
Choosing, depending on the difference of the measuring system of debugging apparatus, the value of confidence level can between 0~1 or 0%~100% it
Between, the embodiment of the present invention does not limit.
104th, debugging apparatus is forbidden carrying out amplitude compensation to the target amplitude-frequency response section that needs compensate.
In the embodiment of the present invention, for example, in the debugging process of sound system, due to the shadow of the sound field of indoor environment
It rings, measuring signal will appear the situation of distortion, at this point, the similarity of measuring signal and reference signal is relatively low, i.e. measuring signal
Amplitude-frequency response and the amplitude-frequency response of reference signal are less than preset standard confidence level in the confidence level of compensation frequency range, can be with
Find out, sound system is bigger to the negative effect of signal transmission characteristics at this time, therefore, judges measuring signal in debugging apparatus
Amplitude-frequency response and reference signal amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when,
The target amplitude-frequency response section compensated by the needs that above-mentioned steps 101~103 obtain is for the debugging efforts of sound system
Without reference to meaning, that is to say, that debugging apparatus does not need to the target compensated the needs that above-mentioned steps 101~103 obtain
Amplitude-frequency response section carries out amplitude compensation.It should be noted that confidence level at this time can represent sound to a certain extent
The transmission signal-to-noise ratio of acoustic system.
105th, the amplitude for the target amplitude-frequency response section that debugging apparatus compensates needs performs compensating operation.
As an alternative embodiment, the amplitude of target amplitude-frequency response section that debugging apparatus compensates needs is held
Row compensating operation can include:
Debugging apparatus is true according to the amplitude-frequency response and the amplitude-frequency response of above-mentioned reference signal of above-mentioned measuring signal
Determine the running parameter of equalization filter;
The target amplitude-frequency response that debugging apparatus control equalization filter compensates above-mentioned needs according to the running parameter
The amplitude of section performs compensating operation.
In the embodiment of the present invention, specifically, debugging apparatus can obtain the amplitude-frequency response of above-mentioned measuring signal
The wave character of wave character and the amplitude-frequency response of above-mentioned reference signal, wherein, the wave character can include frequency,
Amplitude and gain etc.;Then debugging apparatus can be by the wave character of the amplitude-frequency response of above-mentioned measuring signal and above-mentioned ginseng
The wave character for examining the amplitude-frequency response of signal is combined with preset mathematical model, is equalized the waveform letter of wave filter
Number, and determine that the running parameter of equalization filter and control equalization filter are pressed according to the wave function of equalization filter
Compensating operation is performed to the amplitude of target amplitude-frequency response section that above-mentioned needs compensate according to the running parameter.Wherein, balanced filter
Wave device is to be eliminated by balancing technique or reduce intersymbol interference, to play the wave filter to the compensating action of signal.
As an alternative embodiment, the amplitude of target amplitude-frequency response section that needs are compensated in debugging apparatus
After performing compensating operation, debugging apparatus can also obtain the standard amplitude-frequency response of the measuring signal after compensating operation,
And obtain the corresponding DSP parameters of the standard amplitude-frequency response and by speaker to be debugged in DSP parameter settings to sound system
DSP in.
In the embodiment of the present invention, debugging apparatus can join the corresponding DSP of the standard amplitude-frequency response obtained after debugging
In number setting to the DSP of speaker to be debugged in sound system, to complete the debugging efforts to the speaker to be debugged so that Yong Hu
LisPos (measurement point position) hear that the acoustical quality of the speaker is exactly the standard sound quality effect corresponding to standard amplitude-frequency response
Fruit.
As it can be seen that by the described methods of Fig. 1, it can be in the amplitude-frequency response and reference signal for judging measuring signal
Amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when, forbid the target width compensated the needs
Frequency response answers curved section to carry out amplitude compensation;And in the amplitude-frequency response and the amplitude-frequency response of reference signal for judging measuring signal
Curve is when the confidence level for compensating frequency range is more than or equal to preset standard confidence level, just to the target amplitude-frequency response that compensates of needs
The amplitude of curved section just performs compensating operation, is generated more so as to avoid the measuring signal corresponding to the relatively low frequency range of confidence level
Serious distortion thereby reduces the degree that voice signal generates distortion after compensating;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response.
Embodiment two
Referring to Fig. 2, Fig. 2 is another sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention
Flow chart.It may comprise steps of as shown in Fig. 2, being somebody's turn to do the sound equipment adjustment method based on confidence level curve:
In the embodiment of the present invention, it is somebody's turn to do the sound equipment adjustment method based on confidence level curve and further includes step 201~202, for
The description of step 201~202 please refers to the detailed description that step 101~102 are directed in embodiment one, and the embodiment of the present invention is not
It repeats again.
203rd, debugging apparatus calculate above-mentioned measuring signal the first autopower spectral density and above-mentioned reference signal second
Autopower spectral density.
In the embodiment of the present invention, autopower spectral density be also referred to as power spectral density (power spectral density,
PSD).Since in the acoustic system, signal is typically to be represented by the form of wave, fitted when the power spectrum density of wave is multiplied by one
When coefficient after will obtain per unit frequency wave carrying power, this is referred to as the power spectral density of signal.
204th, debugging apparatus calculates the cross-power spectral density of above-mentioned measuring signal and above-mentioned reference signal.
In the embodiment of the present invention, it is close that the cross-power spectral density of above-mentioned measuring signal and above-mentioned reference signal is also referred to as cross-spectrum
It spends (cross spectrum density, CSD), measuring signal and relevance of the reference signal on frequency domain can be described.
205th, debugging apparatus is according to the first autopower spectral density, the second autopower spectral density and cross-power spectral density, meter
It counts in stating the amplitude-frequency response of measuring signal with the amplitude-frequency response of above-mentioned reference signal in the confidence level for compensating frequency range, and
Perform step 206.
In the embodiment of the present invention, the signal sequence of above-mentioned measuring signal can be set as x, the letter of reference signal by debugging apparatus
Number sequence is set as y, then, for signal x and signal y, the first auto-power spectrum that confidence level can be defined as signal x is close
The function of cross-power spectral density between degree, the second autopower spectral density of signal y and signal x and signal y.So, it adjusts
Trial assembly is put according to the first autopower spectral density, the second autopower spectral density and cross-power spectral density, calculates above-mentioned measuring signal
Amplitude-frequency response and above-mentioned reference signal amplitude-frequency response compensation frequency range confidence level mode it is specific as follows:
After signal x and signal y pass through Fast Fourier Transform (FFT) respectively, signal x outputs are:Xx=xa+xbi, signal y
It exports and is:Yy=ya+ybi.So, the cross power spectrum of signal x and signal y are:
Xy=xx*conj (yy);
Wherein, conj is conjugate complex number.So, the cross-power spectral density of signal x and signal y are:
Pxy=xy*conj (xy);
Further, the coherence of signal x and signal y are:
Cohe=Pxy./Pxx./Pyy;
Wherein, Pxy is the cross-power spectral density of signal x and signal y, and Pxx is the first autopower spectral density of signal x,
Pyy is the second autopower spectral density of signal y, and "/" represents that point removes.
For step 203~step 205, debugging apparatus can calculate successively measuring signal the first autopower spectral density,
The second autopower spectral density and measuring signal of reference signal and the cross-power spectral density of reference signal, and according to first certainly
Power spectral density, the second autopower spectral density and cross-power spectral density, calculate the amplitude-frequency response of above-mentioned measuring signal with
The amplitude-frequency response of above-mentioned reference signal is in the confidence level of compensation frequency range.Since in the debugging of sound system, speaker is sent out
Measuring signal signal strength is weaker, stability is poor, traditional Fourier is concerned in analysis measuring signal and reference signal
Confidence level (coherence) when have some limitations, and the embodiment of the present invention can be by calculating measuring signal and reference
The confidence level of signal realizes the analysis of the coherence between signal, reduces since the signal of measuring signal in sound system is strong
Spend the calculating error of the poor caused confidence level of poor and stability.
Wherein, should sound equipment adjustment method based on confidence level curve further include step 206~208, for step 206~
208 description, please refers to the detailed description that step 103~105 are directed in embodiment one, and the embodiment of the present invention repeats no more.
As it can be seen that by the described methods of Fig. 2, it can be in the amplitude-frequency response and reference signal for judging measuring signal
Amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when, forbid the target width compensated the needs
Frequency response answers curved section to carry out amplitude compensation;And in the amplitude-frequency response and the amplitude-frequency response of reference signal for judging measuring signal
Curve is when the confidence level for compensating frequency range is more than or equal to preset standard confidence level, just to the target amplitude-frequency response that compensates of needs
The amplitude of curved section just performs compensating operation, is generated more so as to avoid the measuring signal corresponding to the relatively low frequency range of confidence level
Serious distortion thereby reduces the degree that voice signal generates distortion after compensating;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response;
Furthermore, it is possible to realize that coherence divides between signal by calculating the confidence level of measuring signal and reference signal
Analysis reduces since the signal strength of measuring signal in sound system is poor and the calculating of the poor caused confidence level of stability
Error.
Embodiment three
Referring to Fig. 3, Fig. 3 is another sound equipment adjustment method based on confidence level curve disclosed by the embodiments of the present invention
Flow chart.It may comprise steps of as shown in figure 3, being somebody's turn to do the sound equipment adjustment method based on confidence level curve:
301st, debugging apparatus obtains the first curve of the collected measuring signal of microphone in the time domain.
302nd, debugging apparatus performs above-mentioned first curve Fast Fourier Transform (FFT) operation, obtains measuring signal on frequency domain
The second curve.
In the embodiment of the present invention, Fast Fourier Transform (FFT) (Fast Fourier Transform, FFT) is quick calculating sequence
The method of the discrete Fourier transform (DFT) or its inverse transformation of row.Fourier analysis by signal from original domain (be typically the time or
Space) it is transformed into the expression of frequency domain or inverse comes to convert.FFT can by DFT matrix decompositions for sparse (being mostly zero) because
The product of son quickly calculates such transformation, therefore, computer can be made to calculate DFT required multiplication numbers using fft algorithm big
To reduce, the number of sampling points N being particularly transformed is more, and the saving of fft algorithm calculation amount is more notable.As it can be seen that the present invention is real
Apply example, can conversion of the measuring signal from time domain to frequency domain be realized by Fast Fourier Transform (FFT), reduce signal time domain with
The time converted between frequency domain, so as to improve the efficiency of sound equipment debugging.
303rd, above-mentioned second curve is determined as the amplitude-frequency response of measuring signal by debugging apparatus.
In the embodiment of the present invention, above-mentioned measuring signal is sent out by the speaker to be debugged in sound system.
304th, debugging apparatus calculates the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of reference signal exists
The difference of corresponding y-coordinate when x coordinate is identical in the same coordinate system.
In the embodiment of the present invention, the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of reference signal all can
It is shown in the display interface of wave filter, particularly, wave filter can be equalization filter, and the embodiment of the present invention does not limit.It should
The display interface of equalization filter is included using frequency as axis of abscissas (x coordinate axis), and amplitude is the seat of axis of ordinates (y-coordinate axis)
Mark system, so that the amplitude-frequency response of input filter is shown and is debugged.
305th, debugging apparatus selects absolute value in all above-mentioned differences to be more than at least one target difference of preset difference value, and
It determines the corresponding coordinates of targets point of each target difference and above-mentioned measuring signal is formed by the x coordinate of all coordinates of targets points
Amplitude-frequency response in need compensation frequency range corresponding to the target amplitude-frequency response section compensated.
Wherein, should sound equipment adjustment method based on confidence level curve further include step 306~311, for step 306~
311 description, please refers to the detailed description that step 203~208 are directed in embodiment one, and the embodiment of the present invention repeats no more.
As it can be seen that by the described methods of Fig. 3, it can be in the amplitude-frequency response and reference signal for judging measuring signal
Amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when, forbid the target width compensated the needs
Frequency response answers curved section to carry out amplitude compensation;And in the amplitude-frequency response and the amplitude-frequency response of reference signal for judging measuring signal
Curve is when the confidence level for compensating frequency range is more than or equal to preset standard confidence level, just to the target amplitude-frequency response that compensates of needs
The amplitude of curved section just performs compensating operation, is generated more so as to avoid the measuring signal corresponding to the relatively low frequency range of confidence level
Serious distortion thereby reduces the degree that voice signal generates distortion after compensating;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response;
Furthermore, it is possible to realize that coherence divides between signal by calculating the confidence level of measuring signal and reference signal
Analysis reduces since the signal strength of measuring signal in sound system is poor and the calculating of the poor caused confidence level of stability
Error;
Furthermore, it is possible to realize conversion of the measuring signal from time domain to frequency domain by Fast Fourier Transform (FFT), reduce signal
The time converted between time-domain and frequency-domain, so as to improve the efficiency of sound equipment debugging.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of knot of sound equipment debugging apparatus based on confidence level curve disclosed by the embodiments of the present invention
Structure schematic diagram.As shown in figure 4, being somebody's turn to do the sound equipment debugging apparatus based on confidence level curve can include:
Acquiring unit 401, for obtaining the amplitude-frequency response of the collected measuring signal of microphone, which is
It is sent out by the speaker to be debugged in sound system.
In the embodiment of the present invention, amplitude-frequency response refers to the curve that the amplitude of frequency response changes with frequency.Measure letter
The signal of pink noise signal or the continuous frequency sweep of noise generator number can be used, the embodiment of the present invention not limit.
As an alternative embodiment, acquiring unit 401 can obtain the first of the collected measuring signal of microphone
Beginning amplitude-frequency response, and the initial amplitude-frequency response is smoothed, specifically, acquiring unit 401 can pass through
Wave filter is weighted initial amplitude-frequency response mean filter processing or median filter process, obtains microphone and collects
Measuring signal amplitude-frequency response.As it can be seen that the embodiment of the present invention, can pass through measuring signal collected to microphone
Initial amplitude-frequency response is weighted mean filter processing or median filter process, to realize the purpose of smoothed curve, is
The sound equipment debugging efforts of subsequent processing provide facility.
Comparing unit 402, for the amplitude-frequency response of measuring signal for getting above-mentioned acquiring unit 401 and reference
The amplitude-frequency response of signal is compared, and obtains the target amplitude-frequency for needing to compensate in the amplitude-frequency response of measuring signal sound
The compensation frequency range corresponding to curved section is answered, wherein, reference signal is pre-stored or by modulated in above-mentioned sound system
What the speaker of examination was sent out.
In the embodiment of the present invention, reference signal can be pre-stored in debugging apparatus or by above-mentioned sound system
In the speaker debugged send out, optionally, the amplitude-frequency response of reference signal can be a straight smooth curve.Than
The amplitude-frequency response of above-mentioned measuring signal with the amplitude-frequency response of reference signal is compared by unit 402, is somebody's turn to do
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed in the amplitude-frequency response of measuring signal, it is specific next
It says, the benchmark that comparing unit 402 can debug the amplitude-frequency response of reference signal as amplitude-frequency response, then will survey
The amplitude-frequency response of amount signal is compared with the amplitude-frequency response of reference signal, obtains the amplitude-frequency response of the measuring signal
Each frequency point corresponds to the difference of the amplitude between frequency point on the amplitude-frequency response of reference signal on curve, and according to amplitude
Difference determines the compensation corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of the measuring signal
Frequency range.Wherein, corresponding frequency point refers in the same coordinate system, present on the amplitude-frequency response in reference signal, with measuring
Any frequency point of the amplitude-frequency response of signal has the frequency point of identical abscissa.
Judging unit 403, for judging that the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency of above-mentioned reference signal are rung
The confidence level of compensation frequency range that curve is obtained in the comparison of above-mentioned comparing unit 402 is answered whether to be less than preset standard confidence level, wherein,
Confidence level is used to represent that the amplitude-frequency response of measuring signal to compensate the related of frequency range to the amplitude-frequency response of reference signal
Degree.
Forbid unit 404, for judging that the amplitude-frequency response of measuring signal is believed with reference in above-mentioned judging unit 403
Number amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when, forbid the mesh compensated above-mentioned needs
It marks amplitude-frequency response section and carries out amplitude compensation.
In the embodiment of the present invention, for example, in the debugging process of sound system, due to the shadow of the sound field of indoor environment
It rings, measuring signal will appear the situation of distortion, at this point, the similarity of measuring signal and reference signal is relatively low, i.e. measuring signal
Amplitude-frequency response and the amplitude-frequency response of reference signal are less than preset standard confidence level in the confidence level of compensation frequency range, can be with
Find out, sound system is bigger to the negative effect of signal transmission characteristics at this time, therefore, judges to measure in judging unit 403
The amplitude-frequency response of signal and the amplitude-frequency response of reference signal are credible less than preset standard in the confidence level of compensation frequency range
When spending, the target amplitude-frequency response section compensated by the needs that comparing unit 402 obtains is for the debugging efforts of sound system
Without reference to meaning, that is to say, that debugging apparatus does not need to ring the target amplitude-frequency that the needs that comparing unit 402 obtains compensate
Curved section is answered to carry out amplitude compensation.It should be noted that confidence level at this time can represent sound system to a certain extent
Transmission signal-to-noise ratio.
Compensating unit 405, for judging that the amplitude-frequency response of measuring signal is believed with reference in above-mentioned judging unit 403
Number amplitude-frequency response compensate frequency range confidence level be more than or equal to preset standard confidence level when, need to compensate to above-mentioned
Target amplitude-frequency response section amplitude perform compensating operation.
As it can be seen that by the described sound equipment debugging apparatus based on confidence level curve of Fig. 4, measuring signal can be being judged
Amplitude-frequency response and reference signal amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when,
Forbid carrying out amplitude compensation to the target amplitude-frequency response section that the needs compensate;And in the amplitude-frequency response for judging measuring signal
Curve and the amplitude-frequency response of reference signal are when the confidence level for compensating frequency range is more than or equal to preset standard confidence level,
The amplitude of target amplitude-frequency response section compensated needs just performs compensating operation, so as to avoid the relatively low frequency range of confidence level
Corresponding measuring signal generates more serious distortion, thereby reduces voice signal and distortion is generated after compensating
Degree;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response.
Embodiment five
Referring to Fig. 5, Fig. 5 is another sound equipment debugging apparatus based on confidence level curve provided in an embodiment of the present invention
Structure diagram, wherein, the sound equipment debugging apparatus shown in fig. 5 based on confidence level curve is as shown in Figure 4 based on confidence level
What the sound equipment debugging apparatus of curve further optimized.It debugs and fills with the sound equipment shown in Fig. 4 based on confidence level curve
It puts and compares, the sound equipment debugging apparatus shown in fig. 5 based on confidence level curve further includes:
First computing unit 406, for believing the amplitude-frequency response of measuring signal and reference in above-mentioned comparing unit 402
Number amplitude-frequency response be compared, obtain needing the target amplitude-frequency response compensated in the amplitude-frequency response of the measuring signal
After compensation frequency range corresponding to curved section, calculate measuring signal the first autopower spectral density and reference signal second from
Power spectral density;Wherein, reference signal is pre-stored or the speaker by having been debugged in above-mentioned sound system is sent out.
Specifically, comparing unit 402 by the amplitude-frequency response of measuring signal and the amplitude-frequency response of reference signal into
Row compares, and obtains the compensation corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of the measuring signal
After frequency range, first computing unit 406 of triggering performs the first autopower spectral density and reference signal for calculating measuring signal
The operation of second autopower spectral density.
In the embodiment of the present invention, autopower spectral density be also referred to as power spectral density (power spectral density,
PSD).Since in the acoustic system, signal is typically to be represented by the form of wave, fitted when the power spectrum density of wave is multiplied by one
When coefficient after will obtain per unit frequency wave carrying power, this is referred to as the power spectral density of signal.
Above-mentioned first computing unit 406 is additionally operable to calculate the cross power spectrum of above-mentioned measuring signal and above-mentioned reference signal
Density.
In the embodiment of the present invention, it is close that the cross-power spectral density of above-mentioned measuring signal and above-mentioned reference signal is also referred to as cross-spectrum
It spends (cross spectrum density, CSD), measuring signal and relevance of the reference signal on frequency domain can be described.
Second computing unit 407, for calculated according to above-mentioned first computing unit 406 the first autopower spectral density,
Second autopower spectral density and the amplitude-frequency response for after cross-power spectral density, calculating above-mentioned measuring signal and above-mentioned reference
The amplitude-frequency response of signal is compensating the confidence level of frequency range, and triggers above-mentioned judging unit 403 and start.
In the embodiment of the present invention, the signal sequence of above-mentioned measuring signal can be set as x, the letter of reference signal by debugging apparatus
Number sequence is set as y, then, for signal x and signal y, the first auto-power spectrum that confidence level can be defined as signal x is close
The function of cross-power spectral density between degree, the second autopower spectral density of signal y and signal x and signal y.So, it adjusts
Trial assembly is put according to the first autopower spectral density, the second autopower spectral density and cross-power spectral density, calculates above-mentioned measuring signal
Amplitude-frequency response and above-mentioned reference signal amplitude-frequency response compensation frequency range confidence level mode it is specific as follows:
After signal x and signal y pass through Fast Fourier Transform (FFT) respectively, signal x outputs are:Xx=xa+xbi, signal y
It exports and is:Yy=ya+ybi.So, the cross power spectrum of signal x and signal y are:
Xy=xx*conj (yy);
Wherein, conj is conjugate complex number.So, the cross-power spectral density of signal x and signal y are:
Pxy=xy*conj (xy);
Further, the coherence of signal x and signal y are:
Cohe=Pxy./Pxx./Pyy;
Wherein, Pxy is the cross-power spectral density of signal x and signal y, and Pxx is the first autopower spectral density of signal x,
Pyy is the second autopower spectral density of signal y, and "/" represents that point removes.
For step 203~step 205, debugging apparatus can calculate successively measuring signal the first autopower spectral density,
The second autopower spectral density and measuring signal of reference signal and the cross-power spectral density of reference signal, and according to first certainly
Power spectral density, the second autopower spectral density and cross-power spectral density, calculate the amplitude-frequency response of above-mentioned measuring signal with
The amplitude-frequency response of above-mentioned reference signal is in the confidence level of compensation frequency range.Since in the debugging of sound system, speaker is sent out
Measuring signal signal strength is weaker, stability is poor, traditional Fourier is concerned in analysis measuring signal and reference signal
Confidence level (coherence) when have some limitations, and the embodiment of the present invention can be by calculating measuring signal and reference
The confidence level of signal realizes the analysis of the coherence between signal, reduces since the signal of measuring signal in sound system is strong
Spend the calculating error of the poor caused confidence level of poor and stability.
Above-mentioned judging unit 403, specifically for calculating the amplitude-frequency response of measuring signal in above-mentioned second computing unit 407
Curve and the amplitude-frequency response of reference signal judge that the amplitude-frequency response of the measuring signal is bent after the confidence level of compensation frequency range
Whether line and the amplitude-frequency response of reference signal are less than preset standard confidence level in the confidence level of compensation frequency range.
As it can be seen that by the described sound equipment debugging apparatus based on confidence level curve of Fig. 5, measuring signal can be being judged
Amplitude-frequency response and reference signal amplitude-frequency response compensate frequency range confidence level be less than preset standard confidence level when,
Forbid carrying out amplitude compensation to the target amplitude-frequency response section that the needs compensate;And in the amplitude-frequency response for judging measuring signal
Curve and the amplitude-frequency response of reference signal are when the confidence level for compensating frequency range is more than or equal to preset standard confidence level,
The amplitude of target amplitude-frequency response section compensated needs just performs compensating operation, so as to avoid the relatively low frequency range of confidence level
Corresponding measuring signal generates more serious distortion, thereby reduces voice signal and distortion is generated after compensating
Degree;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response;
Furthermore, it is possible to realize that coherence divides between signal by calculating the confidence level of measuring signal and reference signal
Analysis reduces since the signal strength of measuring signal in sound system is poor and the calculating of the poor caused confidence level of stability
Error.
Embodiment six
Referring to Fig. 6, Fig. 6 is another sound equipment debugging apparatus based on confidence level curve provided in an embodiment of the present invention
Structure diagram, wherein, the sound equipment debugging apparatus shown in fig. 6 based on confidence level curve is as shown in Figure 5 based on confidence level
What the sound equipment debugging apparatus of curve further optimized.It debugs and fills with the sound equipment shown in fig. 5 based on confidence level curve
It puts and compares, in the sound equipment debugging apparatus shown in fig. 6 based on confidence level curve:
Above-mentioned acquiring unit 401 can include:
Subelement 4011 is obtained, for obtaining the first curve of the collected measuring signal of microphone in the time domain.
Subelement 4012 is handled, is become for performing fast Fourier to above-mentioned the first curve that subelement 4011 is taken to get
Operation is changed, obtains second curve of the above-mentioned measuring signal on frequency domain.
In the embodiment of the present invention, Fast Fourier Transform (FFT) (Fast Fourier Transform, FFT) is quick calculating sequence
The method of the discrete Fourier transform (DFT) or its inverse transformation of row.Fourier analysis by signal from original domain (be typically the time or
Space) it is transformed into the expression of frequency domain or inverse comes to convert.FFT can by DFT matrix decompositions for sparse (being mostly zero) because
The product of son quickly calculates such transformation, therefore, in processing subelement 4012 using fft algorithm, computer can be made to calculate DFT institutes
The multiplication number needed is greatly reduced, and the number of sampling points N being particularly transformed is more, and the saving of fft algorithm calculation amount is more aobvious
It writes.As it can be seen that the embodiment of the present invention, conversion of the measuring signal from time domain to frequency domain can be realized by Fast Fourier Transform (FFT), is subtracted
The time that signal is converted between time-domain and frequency-domain is lacked, so as to improve the efficiency of sound equipment debugging.
First determination subelement 4013, the second curve for above-mentioned processing subelement 4012 to be obtained are determined as above-mentioned survey
Measure the amplitude-frequency response of signal.
As an alternative embodiment, in the sound equipment debugging apparatus shown in Fig. 6 based on confidence level curve:
Above-mentioned comparing unit 402 can include:
Computation subunit 4021, for calculating the amplitude-frequency response of the amplitude-frequency response of measuring signal and reference signal
The difference of corresponding y-coordinate when x coordinate is identical in the same coordinate system.
In the embodiment of the present invention, the amplitude-frequency response of above-mentioned measuring signal and the amplitude-frequency response of reference signal all can
It is shown in the display interface of wave filter, particularly, wave filter can be equalization filter, and the embodiment of the present invention does not limit.It should
The display interface of equalization filter is included using frequency as axis of abscissas (x coordinate axis), and amplitude is the seat of axis of ordinates (y-coordinate axis)
Mark system, so that the amplitude-frequency response of input filter is shown and is debugged.
Subelement 4022 is selected, for absolute value in the difference of all calculating of above-mentioned computation subunits 4021 to be selected to be more than in advance
If at least one target difference of difference, and determine the corresponding coordinates of targets point of each target difference and sat by all targets
The benefit corresponding to the target amplitude-frequency response section compensated is needed in the amplitude-frequency response of the x coordinate composition measuring signal of punctuate
Repay frequency range;Wherein, reference signal is pre-stored or the speaker by having been debugged in sound system is sent out.
As an alternative embodiment, in the sound equipment debugging apparatus shown in Fig. 6 based on confidence level curve:
Above-mentioned compensating unit 405 can include:
Second determination subelement 4051, for the amplitude-frequency response according to above-mentioned measuring signal and above-mentioned reference signal
Amplitude-frequency response determines the running parameter of equalization filter.
Control subelement 4052, for control above-mentioned equalization filter according to above-mentioned second determination subelement 4051 determine
The amplitude for the target amplitude-frequency response section that running parameter compensates needs performs compensating operation.
As it can be seen that debugging dress by the described sound equipments based on confidence level curve of Fig. 6, measuring signal can be being judged
Amplitude-frequency response and the amplitude-frequency response of reference signal are prohibited when the confidence level for compensating frequency range is less than preset standard confidence level
Amplitude compensation only is carried out to the target amplitude-frequency response section of needs compensation;It is and bent in the amplitude-frequency response for judging measuring signal
Line and the amplitude-frequency response of reference signal are just right when the confidence level for compensating frequency range is more than or equal to preset standard confidence level
The amplitude of the target compensated amplitude-frequency response section is needed just to perform compensating operation, so as to avoid the relatively low frequency range institute of confidence level
Corresponding measuring signal generates more serious distortion, thereby reduces the journey that voice signal generates distortion after compensating
Degree;
It is filtered furthermore, it is possible to be weighted mean value by the initial amplitude-frequency response of measuring signal collected to microphone
Wave processing or median filter process, to realize the purpose of smoothed curve, the sound equipment debugging efforts for subsequent processing provide facility;
Furthermore, it is possible to by the corresponding DSP parameter settings to sound system of the standard amplitude-frequency response obtained after debugging
In the DSP of speaker to be debugged, to complete the debugging efforts to the speaker to be debugged so that user is in LisPos (measurement point position)
The acoustical quality for hearing the speaker is exactly the standard acoustical quality corresponding to standard amplitude-frequency response;
Furthermore, it is possible to realize that coherence divides between signal by calculating the confidence level of measuring signal and reference signal
Analysis reduces since the signal strength of measuring signal in sound system is poor and the calculating of the poor caused confidence level of stability
Error;
Furthermore, it is possible to realize conversion of the measuring signal from time domain to frequency domain by Fast Fourier Transform (FFT), reduce signal
The time converted between time-domain and frequency-domain, so as to improve the efficiency of sound equipment debugging.
Referring to Fig. 7, Fig. 7 is another sound equipment debugging apparatus based on confidence level curve disclosed by the embodiments of the present invention
Structure diagram.As shown in fig. 7, being somebody's turn to do the sound equipment debugging apparatus based on confidence level curve can include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Wherein, processor 702 calls the executable program code stored in memory 701, and it is any one to perform Fig. 1~Fig. 3
Sound equipment adjustment method of the kind based on confidence level curve.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein, the computer
Program causes computer to perform any one sound equipment adjustment method based on confidence level curve of Fig. 1~Fig. 3.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment
A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction
" in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these special characteristics, structure
Or characteristic can in any suitable manner combine in one or more embodiments.Those skilled in the art should also know,
Embodiment described in this description belongs to alternative embodiment, and not necessarily the present invention must for involved action and module
Must.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of above-mentioned each process is not meant to perform suitable
The inevitable priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without coping with the embodiment of the present invention
Implementation process forms any restriction.
In various embodiments of the present invention, it should be appreciated that the terms "and/or", only a kind of description association pair
The incidence relation of elephant, expression may have three kinds of relationships, such as A and/or B, can represent:Individualism A, exist simultaneously A and
These three situations of B, individualism B.In addition, character "/" herein, it is a kind of pass of "or" to typically represent forward-backward correlation object
System.
In embodiment provided by the present invention, it should be appreciated that " B corresponding with A " represents that B is associated with A, can be with according to A
Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, it can also be according to A and/or other information
Determine B.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can positioned at a place or can also be distributed to multiple nets
On network unit.Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit or
Each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated unit
Both the form that hardware may be used is realized, can also be realized in the form of SFU software functional unit.
If above-mentioned integrated unit realized in the form of SFU software functional unit and be independent product sale or in use,
It can be stored in a retrievable memory of computer.Based on such understanding, technical scheme of the present invention substantially or
Person says all or part of of the part contribute to the prior art or the technical solution, can be in the form of software product
It embodies, which is stored in a memory, including several requests with so that a computer is set
Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) performs
The part or all of step of each embodiment above method of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory,
RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits
Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One-
Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory
(Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can
For carrying or storing any other computer-readable medium of data.
A kind of sound equipment adjustment method and device based on confidence level curve disclosed by the embodiments of the present invention are carried out above
It is discussed in detail, specific case used herein is expounded the principle of the present invention and embodiment, above example
Illustrate to be merely used to help understand method and its core concept of the invention;Meanwhile for those of ordinary skill in the art, according to
According to the thought of the present invention, there will be changes in specific embodiments and applications, in conclusion the content of the present specification
It should not be construed as limiting the invention.
Claims (10)
1. a kind of sound equipment adjustment method based on confidence level curve, which is characterized in that the method includes:
The amplitude-frequency response of the collected measuring signal of microphone is obtained, the measuring signal is by waiting to adjust in sound system
What loudspeaker box was sent out;
The amplitude-frequency response of the measuring signal with the amplitude-frequency response of reference signal is compared, obtains the measurement
The compensation frequency range corresponding to the target amplitude-frequency response section compensated, the reference signal are needed in the amplitude-frequency response of signal
It is pre-stored or the speaker by having been debugged in the sound system is sent out;
Judge the amplitude-frequency response of the measuring signal with the amplitude-frequency response of the reference signal in the compensation frequency range
Confidence level whether be less than preset standard confidence level, if it is, forbidding needing the target amplitude-frequency response that compensates to described
Duan Jinhang amplitude compensations;If it is not, then compensating operation is performed to the amplitude of the target amplitude-frequency response section for needing to compensate;
The confidence level is used to represent the amplitude-frequency response of the measuring signal and the amplitude-frequency response of the reference signal in institute
State the degree of correlation of compensation frequency range.
2. the according to the method described in claim 1, it is characterized in that, amplitude-frequency response and ginseng by the measuring signal
The amplitude-frequency response for examining signal is compared, and obtains needing the target width compensated in the amplitude-frequency response of the measuring signal
After the compensation frequency range corresponding to curved section is answered in frequency response, the method further includes:
Calculate the first autopower spectral density of the measuring signal and the second autopower spectral density of the reference signal;
Calculate the cross-power spectral density of the measuring signal and the reference signal;
According to first autopower spectral density, second autopower spectral density and the cross-power spectral density, institute is calculated
The amplitude-frequency response of measuring signal is stated with the amplitude-frequency response of the reference signal in the confidence level for compensating frequency range, and
The amplitude-frequency response for judging the measuring signal is performed with the amplitude-frequency response of the reference signal in the benefit
Whether the confidence level for repaying frequency range is less than preset standard confidence level.
3. method according to claim 1 or 2, which is characterized in that the acquisition collected measuring signal of microphone
Amplitude-frequency response, including:
Obtain the first curve of the collected measuring signal of microphone in the time domain;
Fast Fourier Transform (FFT) operation is performed to first curve, obtains second curve of the measuring signal on frequency domain;
Second curve is determined as to the amplitude-frequency response of the measuring signal.
4. according to the method described in claim 1,2 or 3, which is characterized in that the amplitude-frequency response by the measuring signal is bent
Line is compared with the amplitude-frequency response of reference signal, obtains needing what is compensated in the amplitude-frequency response of the measuring signal
Compensation frequency range corresponding to target amplitude-frequency response section, including:
Calculate the measuring signal amplitude-frequency response and reference signal amplitude-frequency response in the same coordinate system x coordinate
The difference of corresponding y-coordinate when identical;
Absolute value in all differences is selected to be more than at least one target difference of preset difference value, and determines each target
The corresponding coordinates of targets point of difference and the amplitude-frequency sound that the measuring signal is made of the x coordinate of all coordinates of targets points
Answer the compensation frequency range corresponding to the target amplitude-frequency response section for needing to compensate in curve.
5. according to Claims 1 to 4 any one of them method, which is characterized in that described to the target width for needing to compensate
Frequency response answers the amplitude of curved section to perform compensating operation, including:
Equalization filter is determined according to the amplitude-frequency response of the amplitude-frequency response of the measuring signal and the reference signal
Running parameter;
Control the equalization filter according to the running parameter to the width of target amplitude-frequency response section for needing to compensate
Value performs compensating operation.
6. a kind of sound equipment debugging apparatus based on confidence level curve, which is characterized in that including:
Acquiring unit, for obtaining the amplitude-frequency response of the collected measuring signal of microphone, the measuring signal is by sound
What the speaker to be debugged in acoustic system was sent out;
Comparing unit, for the amplitude-frequency response of the amplitude-frequency response of the measuring signal and reference signal to be compared
It is right, obtain the compensation frequency corresponding to the target amplitude-frequency response section for needing to compensate in the amplitude-frequency response of the measuring signal
Section, the reference signal is pre-stored or the speaker by having been debugged in the sound system is sent out;
Judging unit, for judging that the amplitude-frequency response of the measuring signal and the amplitude-frequency response of the reference signal exist
Whether the confidence level of the compensation frequency range is less than preset standard confidence level;The confidence level is used to represent the width of the measuring signal
Frequency response curve and the amplitude-frequency response of the reference signal are in the degree of correlation for compensating frequency range;
Forbid unit, for judging the amplitude-frequency response of the measuring signal and the reference signal in the judging unit
Amplitude-frequency response it is described compensation frequency range confidence level be less than the preset standard confidence level when, forbid needing to mend to described
The target amplitude-frequency response section repaid carries out amplitude compensation;
Compensating unit, for judging the amplitude-frequency response of the measuring signal and the reference signal in the judging unit
Amplitude-frequency response it is described compensation frequency range confidence level be more than or equal to the preset standard confidence level when, to the need
The amplitude for the target amplitude-frequency response section to be compensated performs compensating operation.
7. device according to claim 6, which is characterized in that described device further includes:
First computing unit, in the comparing unit by the amplitude-frequency response of the measuring signal and the reference signal
Amplitude-frequency response be compared, obtain needing the target amplitude-frequency response compensated in the amplitude-frequency response of the measuring signal
After compensation frequency range corresponding to curved section, the first autopower spectral density of the measuring signal and the reference signal are calculated
The second autopower spectral density;Wherein, the reference signal is pre-stored or by having been debugged in the sound system
Speaker send out;
First computing unit is additionally operable to calculate the cross-power spectral density of the measuring signal and the reference signal;
Second computing unit, for calculated according to first computing unit first autopower spectral density, described
Two autopower spectral densities and the amplitude-frequency response for after the cross-power spectral density, calculating the measuring signal and the ginseng
Examine confidence level of the amplitude-frequency response in the compensation frequency range of signal;
The judging unit, specifically for calculated in second computing unit amplitude-frequency response of the measuring signal with
The amplitude-frequency response of the reference signal judges that the amplitude-frequency of the measuring signal is rung after the confidence level of the compensation frequency range
Answer curve and the amplitude-frequency response of the reference signal whether credible less than preset standard in the confidence level of the compensation frequency range
Degree.
8. the device described according to claim 6 or 7, which is characterized in that the acquiring unit includes:
Subelement is obtained, for obtaining the first curve of the collected measuring signal of microphone in the time domain;
Subelement is handled, for performing Fast Fourier Transform (FFT) operation to first curve, obtains the measuring signal in frequency
The second curve on domain;
First determination subelement, for second curve to be determined as to the amplitude-frequency response of the measuring signal.
9. according to the device described in claim 6,7 or 8, which is characterized in that the comparing unit includes:
Computation subunit, for calculating the amplitude-frequency response of the amplitude-frequency response of the measuring signal and reference signal same
The difference of corresponding y-coordinate when x coordinate is identical in one coordinate system;
Subelement is selected, for absolute value in all differences to be selected to be more than at least one target difference of preset difference value, and
Determine the corresponding coordinates of targets point of each target difference and described in being made of the x coordinate of all coordinates of targets points
The compensation frequency range corresponding to the target amplitude-frequency response section compensated is needed in the amplitude-frequency response of measuring signal;Wherein, institute
State that reference signal is pre-stored or the speaker by having been debugged in the sound system is sent out.
10. according to claim 6~9 any one of them device, which is characterized in that the compensating unit includes:
Second determination subelement, for the amplitude-frequency response according to the measuring signal and the amplitude-frequency response of the reference signal
Curve determines the running parameter of equalization filter;
Subelement is controlled, for controlling the equalization filter according to the running parameter to the target amplitude-frequency for needing to compensate
The amplitude of response curve section performs compensating operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711487273.3A CN108200526B (en) | 2017-12-29 | 2017-12-29 | Sound debugging method and device based on reliability curve |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711487273.3A CN108200526B (en) | 2017-12-29 | 2017-12-29 | Sound debugging method and device based on reliability curve |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108200526A true CN108200526A (en) | 2018-06-22 |
CN108200526B CN108200526B (en) | 2020-09-22 |
Family
ID=62587173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711487273.3A Active CN108200526B (en) | 2017-12-29 | 2017-12-29 | Sound debugging method and device based on reliability curve |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108200526B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177317A (en) * | 2019-05-17 | 2019-08-27 | 腾讯科技(深圳)有限公司 | Echo cancel method, device, computer readable storage medium and computer equipment |
CN112019786A (en) * | 2020-08-24 | 2020-12-01 | 上海松鼠课堂人工智能科技有限公司 | Intelligent teaching screen recording method and system |
CN112769410A (en) * | 2020-12-25 | 2021-05-07 | 西安讯飞超脑信息科技有限公司 | Filter construction method, audio processing method, electronic equipment and storage device |
CN112905833A (en) * | 2021-01-19 | 2021-06-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio playback equipment preheating method, device, equipment and medium |
WO2021135235A1 (en) * | 2019-12-31 | 2021-07-08 | 广州励丰文化科技股份有限公司 | Automatic debugging method and system for loudspeaker |
CN113905301A (en) * | 2021-09-10 | 2022-01-07 | 东莞市创芯微电子科技有限公司 | EQ-based noise reduction compensation design method, audio system and earphone |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780964A (en) * | 2012-08-09 | 2012-11-14 | 广州励丰文化科技股份有限公司 | Method for adjusting professional loudspeaker system |
CN103209368A (en) * | 2013-03-27 | 2013-07-17 | 广东欧珀移动通信有限公司 | Method and device for adjusting audio in blue-ray player |
CN104700842A (en) * | 2015-02-13 | 2015-06-10 | 广州市百果园网络科技有限公司 | Sound signal time delay estimation method and device |
CN105280195A (en) * | 2015-11-04 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Method and device for processing speech signal |
CN106161705A (en) * | 2015-04-22 | 2016-11-23 | 小米科技有限责任公司 | Audio frequency apparatus method of testing and device |
CN106792346A (en) * | 2016-11-14 | 2017-05-31 | 广东小天才科技有限公司 | Audio adjusting method and device in teaching video |
CN107231598A (en) * | 2017-06-21 | 2017-10-03 | 惠州Tcl移动通信有限公司 | A kind of adaptive audio adjustment method, system and mobile terminal |
-
2017
- 2017-12-29 CN CN201711487273.3A patent/CN108200526B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102780964A (en) * | 2012-08-09 | 2012-11-14 | 广州励丰文化科技股份有限公司 | Method for adjusting professional loudspeaker system |
CN103209368A (en) * | 2013-03-27 | 2013-07-17 | 广东欧珀移动通信有限公司 | Method and device for adjusting audio in blue-ray player |
CN104700842A (en) * | 2015-02-13 | 2015-06-10 | 广州市百果园网络科技有限公司 | Sound signal time delay estimation method and device |
CN106161705A (en) * | 2015-04-22 | 2016-11-23 | 小米科技有限责任公司 | Audio frequency apparatus method of testing and device |
CN105280195A (en) * | 2015-11-04 | 2016-01-27 | 腾讯科技(深圳)有限公司 | Method and device for processing speech signal |
CN106792346A (en) * | 2016-11-14 | 2017-05-31 | 广东小天才科技有限公司 | Audio adjusting method and device in teaching video |
CN107231598A (en) * | 2017-06-21 | 2017-10-03 | 惠州Tcl移动通信有限公司 | A kind of adaptive audio adjustment method, system and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177317A (en) * | 2019-05-17 | 2019-08-27 | 腾讯科技(深圳)有限公司 | Echo cancel method, device, computer readable storage medium and computer equipment |
CN110177317B (en) * | 2019-05-17 | 2020-12-22 | 腾讯科技(深圳)有限公司 | Echo cancellation method, echo cancellation device, computer-readable storage medium and computer equipment |
WO2021135235A1 (en) * | 2019-12-31 | 2021-07-08 | 广州励丰文化科技股份有限公司 | Automatic debugging method and system for loudspeaker |
CN112019786A (en) * | 2020-08-24 | 2020-12-01 | 上海松鼠课堂人工智能科技有限公司 | Intelligent teaching screen recording method and system |
CN112019786B (en) * | 2020-08-24 | 2021-05-25 | 上海松鼠课堂人工智能科技有限公司 | Intelligent teaching screen recording method and system |
CN112769410A (en) * | 2020-12-25 | 2021-05-07 | 西安讯飞超脑信息科技有限公司 | Filter construction method, audio processing method, electronic equipment and storage device |
CN112769410B (en) * | 2020-12-25 | 2024-06-11 | 西安讯飞超脑信息科技有限公司 | Filter construction method, audio processing method, electronic equipment and storage device |
CN112905833A (en) * | 2021-01-19 | 2021-06-04 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio playback equipment preheating method, device, equipment and medium |
CN113905301A (en) * | 2021-09-10 | 2022-01-07 | 东莞市创芯微电子科技有限公司 | EQ-based noise reduction compensation design method, audio system and earphone |
Also Published As
Publication number | Publication date |
---|---|
CN108200526B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108200526A (en) | A kind of sound equipment adjustment method and device based on confidence level curve | |
Nam et al. | Filteraugment: An acoustic environmental data augmentation method | |
CN101411213B (en) | Calibration steps in audio system and device | |
US7065487B2 (en) | Speech recognition method, program and apparatus using multiple acoustic models | |
CN104685903B (en) | The apparatus and method measured for generating audio disturbances | |
CN108766454A (en) | A kind of voice noise suppressing method and device | |
CN108111956A (en) | A kind of sound equipment adjustment method and device based on amplitude-frequency response | |
CN109313909A (en) | Assess method, unit and the system of microphone array consistency | |
CN102576543A (en) | Multi-input noise suppresion device, multi-input noise suppression method, program, and integrated circuit | |
JP7214798B2 (en) | AUDIO SIGNAL PROCESSING METHOD, AUDIO SIGNAL PROCESSING DEVICE, ELECTRONIC DEVICE, AND STORAGE MEDIUM | |
CN111048061B (en) | Method, device and equipment for obtaining step length of echo cancellation filter | |
Ramírez et al. | A general-purpose deep learning approach to model time-varying audio effects | |
CN110544490A (en) | sound source positioning method based on Gaussian mixture model and spatial power spectrum characteristics | |
Christensen | Multi-channel maximum likelihood pitch estimation | |
CN110390947A (en) | Determination method, system, equipment and the storage medium of sound source position | |
US11830471B1 (en) | Surface augmented ray-based acoustic modeling | |
CN111128216B (en) | Audio signal processing method, processing device and readable storage medium | |
CN115410598B (en) | Accelerated sound quality evaluation method, device, computer equipment and storage medium | |
US20190385590A1 (en) | Generating device, generating method, and non-transitory computer readable storage medium | |
CN114299982A (en) | Method and device for processing audio signal and electronic equipment | |
CN111028854B (en) | Audio data processing method and device, electronic equipment and storage medium | |
CN109584892A (en) | Audio analogy method, device, medium and electronic equipment | |
Clifford et al. | Using delay estimation to reduce comb filtering of arbitrary musical sources | |
Wilson et al. | Improving audio source localization by learning the precedence effect | |
Marshall et al. | Metrics including time-varying loudness models to assess the impact of sonic booms and other transient sounds |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Li Zhixiong Inventor after: Huang Shifeng Inventor after: Li Zhuliang Inventor after: Zhang Guobiao Inventor before: Li Zhixiong Inventor before: Huang Shifeng Inventor before: Li Zhuliang Inventor before: Zhang Guobiao |
|
CB03 | Change of inventor or designer information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |