CN108200526B - Sound debugging method and device based on reliability curve - Google Patents

Sound debugging method and device based on reliability curve Download PDF

Info

Publication number
CN108200526B
CN108200526B CN201711487273.3A CN201711487273A CN108200526B CN 108200526 B CN108200526 B CN 108200526B CN 201711487273 A CN201711487273 A CN 201711487273A CN 108200526 B CN108200526 B CN 108200526B
Authority
CN
China
Prior art keywords
amplitude
frequency response
response curve
measurement signal
compensation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711487273.3A
Other languages
Chinese (zh)
Other versions
CN108200526A (en
Inventor
李志雄
黄石锋
李株亮
张国标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Leafun Culture Science and Technology Co Ltd
Original Assignee
Guangzhou Leafun Culture Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Leafun Culture Science and Technology Co Ltd filed Critical Guangzhou Leafun Culture Science and Technology Co Ltd
Priority to CN201711487273.3A priority Critical patent/CN108200526B/en
Publication of CN108200526A publication Critical patent/CN108200526A/en
Application granted granted Critical
Publication of CN108200526B publication Critical patent/CN108200526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring 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 invention relates to a sound debugging method and a device based on a credibility curve, comprising the following steps: acquiring an amplitude-frequency response curve of a measurement signal acquired by a microphone, comparing the amplitude-frequency response curve of the measurement signal with an amplitude-frequency response curve of a reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing to be compensated in the amplitude-frequency response curve of the measurement signal, wherein the reference signal is pre-stored or is sent out by a tested sound box in a sound system, judging whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than a preset standard credibility, and if so, forbidding amplitude compensation on the target amplitude-frequency response curve segment needing to be compensated; and if not, performing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation. Therefore, the method and the device can reduce the distortion degree of the sound signal after compensation.

Description

Sound debugging method and device based on reliability curve
Technical Field
The invention relates to the technical field of sound boxes, in particular to a sound debugging method and device based on a credibility curve.
Background
The sound field is a space for transmitting sound waves, and since the sound signal is easily affected by the sound field during the transmission process, the sound signal is distorted. For example, in an indoor environment, a sound signal emitted from a sound box is reflected and absorbed by an interface such as a wall or a ceiling during propagation, so that the sound signal is distorted, and the hearing experience of a user is reduced. At present, the conventional method for reducing the influence of the sound field on the sound signal is to compensate the frequency band to be compensated in the sound signal emitted by the sound box. However, in practice, it has been found that this method tends to cause more severe distortion of the sound signal after compensation, which exacerbates the degree of distortion of the sound signal.
Disclosure of Invention
The embodiment of the invention discloses a sound debugging method and device based on a reliability curve, which can reduce the degree of distortion generated after sound signals are compensated.
Acquiring an amplitude-frequency response curve of a measurement signal acquired by a microphone, wherein the measurement signal is emitted by a sound box to be debugged in a sound system;
comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of a reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal, wherein the reference signal is pre-stored or is emitted by a sound box which has been debugged in the sound system;
judging whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard credibility, if so, prohibiting the amplitude compensation of the target amplitude-frequency response curve segment needing to be compensated; if not, executing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation; the reliability is used for representing the degree of correlation between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after the comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal, the method further includes:
calculating a first self-power spectral density of the measurement signal and a second self-power spectral density of the reference signal;
calculating a cross power spectral density of the measurement signal and the reference signal;
and calculating the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band according to the first self-power spectral density, the second self-power spectral density and the cross power spectral density, and judging whether the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than a preset standard reliability.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the acquiring a magnitude-frequency response curve of the measurement signal acquired by the microphone includes:
acquiring a first curve of a measurement signal acquired by a microphone in a time domain;
performing fast Fourier transform operation on the first curve to obtain a second curve of the measurement signal on a frequency domain;
and determining the second curve as an amplitude-frequency response curve of the measuring signal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal includes:
calculating the difference value of the corresponding y coordinates of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal when the x coordinates are the same in the same coordinate system;
selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points.
As an alternative implementation, in the first aspect of the embodiment of the present invention, the performing a compensation operation on the amplitude of the target amplitude-frequency response curve segment to be compensated includes:
determining working parameters of an equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal;
and controlling the equalizing filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameters.
The second aspect of the embodiment of the invention discloses a sound debugging device based on an amplitude-frequency response curve, which comprises:
the device comprises an acquisition unit, a detection unit and a control unit, wherein the acquisition unit is used for acquiring an amplitude-frequency response curve of a measurement signal acquired by a microphone, and the measurement signal is sent out by a sound box to be debugged in a sound system;
a comparison unit, configured to compare an amplitude-frequency response curve of the measurement signal with an amplitude-frequency response curve of a reference signal, to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal, where the reference signal is pre-stored or is sent by a sound box that has been debugged in the sound system;
the judging unit is used for judging whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard credibility; the credibility is used for representing the degree of correlation between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band;
the prohibiting unit is used for prohibiting amplitude compensation of the target amplitude-frequency response curve segment needing to be compensated when the judging unit judges that the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is smaller than the preset standard credibility;
and the compensation unit is used for executing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated when the judgment unit judges that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is greater than or equal to the preset standard reliability.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the first calculation unit is used for calculating a first self-power spectral density of the measurement signal and a second self-power spectral density of the reference signal after the comparison unit compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been debugged;
the first calculating unit is further configured to calculate a cross power spectral density of the measurement signal and the reference signal;
a second calculating unit, configured to calculate, according to the first self-power spectral density, the second self-power spectral density, and the cross power spectral density calculated by the first calculating unit, reliability of an amplitude-frequency response curve of the measurement signal and an amplitude-frequency response curve of the reference signal in the compensation frequency band;
the determining unit is specifically configured to determine, after the second calculating unit calculates the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band, whether the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band are less than a preset standard reliability.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the obtaining unit includes:
the acquisition subunit is used for acquiring a first curve of the measurement signal acquired by the microphone in a time domain;
the processing subunit is configured to perform a fast fourier transform operation on the first curve to obtain a second curve of the measurement signal in the frequency domain;
and the first determining subunit is used for determining the second curve as an amplitude-frequency response curve of the measurement signal.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the alignment unit includes:
the calculating subunit is used for calculating the difference value of the corresponding y coordinates when the x coordinates of the amplitude-frequency response curve of the measuring signal and the amplitude-frequency response curve of the reference signal are the same in the same coordinate system;
the selection subunit is used for selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been debugged.
As an alternative implementation, in a second aspect of the embodiment of the present invention, the compensation unit includes:
the second determining subunit is used for determining working parameters of the equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal;
and the control subunit is used for controlling the equalization filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameters.
A third aspect of the embodiments of the present invention discloses a sound debugging apparatus based on a reliability curve, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the sound debugging method based on the credibility curve disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention is a computer-readable storage medium, which is characterized by storing a computer program, where the computer program enables a computer to execute the sound debugging method based on a reliability curve disclosed in the first aspect of the embodiments of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, an amplitude-frequency response curve of a measurement signal acquired by a microphone is acquired, the measurement signal is sent by a sound box to be debugged in a sound system, the amplitude-frequency response curve of the measurement signal is compared with an amplitude-frequency response curve of a reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing to be compensated in the amplitude-frequency response curve of the measurement signal, wherein the reference signal is pre-stored or sent by the sound box debugged in the sound system, and then whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is smaller than a preset standard credibility is judged, if so, amplitude compensation is forbidden to be carried out on the target amplitude-frequency response curve segment needing to be compensated; and if not, performing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation, wherein the credibility is used for expressing the correlation degree of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band. Therefore, the amplitude compensation of the target amplitude-frequency response curve segment needing to be compensated can be forbidden when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be less than the preset standard credibility; when the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard reliability, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower reliability is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a sound debugging method based on a reliability curve according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another sound debugging method based on a reliability curve according to the embodiment of the present invention;
fig. 3 is a schematic flowchart of another sound debugging method based on a reliability curve according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a debugging apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another debugging apparatus disclosed in the embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another debugging apparatus disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another debugging apparatus disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a sound debugging method and a sound debugging device based on a reliability curve, which can reduce the distortion degree of a sound signal after compensation. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart of a sound debugging method based on a reliability curve according to an embodiment of the present invention. As shown in fig. 1, the sound debugging method based on the reliability curve may include the following operations:
101. the debugging device acquires an amplitude-frequency response curve of a measurement signal acquired by a microphone, wherein the measurement signal is sent by a sound box to be debugged in the sound system.
In the embodiment of the invention, the amplitude-frequency response curve refers to a curve that the amplitude of frequency response changes along with frequency. The measurement signal may be a pink noise signal or a signal continuously swept by a noise generator, which is not limited in the embodiments of the present invention.
As an optional implementation manner, the debugging device may obtain an initial amplitude-frequency response curve of the measurement signal acquired by the microphone, and perform smoothing processing on the initial amplitude-frequency response curve, specifically, the debugging device may perform weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve through a filter, so as to obtain an amplitude-frequency response curve of the measurement signal acquired by the microphone. Therefore, the embodiment of the invention can realize the purpose of smoothing the curve by performing weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, thereby providing convenience for sound debugging work of subsequent processing.
102. And the debugging device compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal.
In the embodiment of the present invention, the reference signal may be pre-stored in the debugging apparatus or emitted from the sound box that has been debugged in the sound system, and optionally, the amplitude-frequency response curve of the reference signal may be a straight and smooth curve. The debugging device compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal, and specifically, the debugging device can take the amplitude-frequency response curve of the reference signal as a reference for debugging the amplitude-frequency response curve, then compare the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a difference value of amplitude values between each frequency point on the amplitude-frequency response curve of the measurement signal and a corresponding frequency point on the amplitude-frequency response curve of the reference signal, and determine the compensation frequency band corresponding to the target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal according to the difference value of amplitude values. The corresponding frequency point is a frequency point which exists on the amplitude-frequency response curve of the reference signal and has the same abscissa with any frequency point of the amplitude-frequency response curve of the measurement signal in the same coordinate system.
103. The debugging device judges whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard credibility, if so, the step 104 is executed; otherwise, if not, go to step 105.
In the embodiment of the present invention, the reliability may represent the coherence between the measurement signal and the reference signal, that is, the reliability may reflect whether the measurement signal and the reference signal are the same or similar, the higher the reliability value is, the higher the similarity between the two signals is, and conversely, the lower the reliability value is, the lower the similarity between the two signals is. Furthermore, the confidence level may also be used to indicate the degree of correlation between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band. Optionally, depending on different measurement systems of the debugging device, the value of the reliability may be between 0% and 1, or between 0% and 100%, and the embodiment of the present invention is not limited.
104. And the debugging device forbids amplitude compensation on the target amplitude-frequency response curve segment needing compensation.
In the embodiment of the invention, for example, in the debugging process of the sound system, the measured signal is distorted due to the influence of the sound field of the indoor environment, at this time, the similarity between the measured signal and the reference signal is low, namely the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, it can be seen that the negative impact of the sound system on the signal transmission characteristics is relatively large, and therefore, when the debugging device judges that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the target amplitude-frequency response curve segment which is obtained in the steps 101 to 103 and needs to be compensated has no reference meaning for the debugging work of the sound system, that is, the debugging device does not need to perform amplitude compensation on the target amplitude-frequency response curve segment which is obtained in the steps 101 to 103 and needs to be compensated. It should be noted that the confidence level at this time may represent the transmission signal-to-noise ratio of the sound system to some extent.
105. And the debugging device performs compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation.
As an alternative embodiment, the debugging device performing the compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation may include:
the debugging device determines the working parameters of the equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal;
and the debugging device controls the equalizing filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameter.
In an embodiment of the present invention, specifically, the debugging apparatus may obtain a waveform characteristic of an amplitude-frequency response curve of the measurement signal and a waveform characteristic of an amplitude-frequency response curve of the reference signal, where the waveform characteristics may include frequency, amplitude, gain, and the like; then the debugging device can combine the waveform characteristics of the amplitude-frequency response curve of the measurement signal and the waveform characteristics of the amplitude-frequency response curve of the reference signal with a preset mathematical model to obtain a waveform function of the equalization filter, determine working parameters of the equalization filter according to the waveform function of the equalization filter, and control the equalization filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameters. The equalization filter is a filter which eliminates or reduces intersymbol interference through an equalization technology to compensate signals.
As an optional implementation manner, after the debugging device performs the compensation operation on the amplitude of the target amplitude-frequency response curve segment that needs to be compensated, the debugging device may further obtain a standard amplitude-frequency response curve of the measurement signal after the compensation operation, obtain a DSP parameter corresponding to the standard amplitude-frequency response curve, and set the DSP parameter in a DSP of the sound box to be debugged in the sound system.
In the embodiment of the invention, the debugging device can set the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging into the DSP of the sound box to be debugged in the sound system so as to complete the debugging work of the sound box to be debugged, so that the sound quality effect of the sound box heard by a user at the listening position (measuring point) is the standard sound quality effect corresponding to the standard amplitude-frequency response curve.
It can be seen that, by the method described in fig. 1, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) as the standard sound quality effect corresponding to the standard amplitude-frequency response curve.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another sound debugging method based on a reliability curve according to an embodiment of the present invention. As shown in fig. 2, the sound debugging method based on the reliability curve may include the following steps:
in the embodiment of the present invention, the sound debugging method based on the reliability curve further includes steps 201 to 202, and for the description of the steps 201 to 202, please refer to the detailed description of the first embodiment for the steps 101 to 102, which is not described again in the embodiment of the present invention.
203. The debugging device calculates a first self-power spectral density of the measuring signal and a second self-power spectral density of the reference signal.
In the embodiment of the present invention, the self-power spectral density is also referred to as Power Spectral Density (PSD). Since in an acoustic system, a signal is usually represented in the form of a wave, the power spectral density of the wave multiplied by a suitable coefficient will result in the power carried by the wave per unit frequency, which is called the power spectral density of the signal.
204. And the debugging device calculates the cross power spectral density of the measurement signal and the reference signal.
In the embodiment of the present invention, the cross power spectral density of the measurement signal and the reference signal is also referred to as Cross Spectral Density (CSD), and may describe the correlation between the measurement signal and the reference signal in the frequency domain.
205. The debugging device calculates the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band according to the first self-power spectral density, the second self-power spectral density and the cross power spectral density, and executes step 206.
In the embodiment of the present invention, the debugging apparatus may set the signal sequence of the measurement signal as x and the signal sequence of the reference signal as y, and then, for the signal x and the signal y, the confidence may be defined as a function of the first self-power spectral density of the signal x, the second self-power spectral density of the signal y, and the cross power spectral density between the signal x and the signal y. Then, the way for the debugging apparatus to calculate the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band according to the first self-power spectral density, the second self-power spectral density and the cross power spectral density is specifically as follows:
after the signal x and the signal y are respectively subjected to fast fourier transform, the signal x is output as: xx xa + xbi, signal y output is: yy is ya + ybi. Then, the cross power spectrum of signal x and signal y is:
xy=xx*conj(yy);
where, conj is a complex conjugate. Then, the cross power spectral density of signal x and signal y is:
Pxy=xy*conj(xy);
further, the coherence of the signal x and the signal y is:
Cohe=Pxy./Pxx./Pyy;
where Pxy is the cross power spectral density of signal x and signal y, Pxx is the first self-power spectral density of signal x, Pyy is the second self-power spectral density of signal y, and "/" represents a point division.
In step 203 to step 205, the debugging apparatus may sequentially calculate a first self-power spectral density of the measurement signal, a second self-power spectral density of the reference signal, and a cross power spectral density of the measurement signal and the reference signal, and calculate a reliability of an amplitude-frequency response curve of the measurement signal and an amplitude-frequency response curve of the reference signal in the compensation band according to the first self-power spectral density, the second self-power spectral density, and the cross power spectral density. In the debugging of the sound system, the signal strength of the measurement signal sent by the sound box is weak, the stability is poor, and the traditional Fourier coherence has certain limitation in the analysis of the reliability (coherence) of the measurement signal and the reference signal.
The sound debugging method based on the reliability curve further includes steps 206 to 208, and for the description of the steps 206 to 208, please refer to the detailed description of the steps 103 to 105 in the first embodiment, which is not repeated in the embodiments of the present invention.
It can be seen that, by the method described in fig. 2, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging work of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) which is the standard sound quality effect corresponding to the standard amplitude-frequency response curve;
in addition, the analysis of the coherence between the signals can be realized by calculating the reliability of the measurement signal and the reference signal, and the calculation error of the reliability caused by poor signal strength and poor stability of the measurement signal in the sound system is reduced.
EXAMPLE III
Referring to fig. 3, fig. 3 is a flowchart of another sound debugging method based on a reliability curve according to an embodiment of the present invention. As shown in fig. 3, the sound debugging method based on the reliability curve may include the following steps:
301. the debugging device acquires a first curve of a measuring signal acquired by the microphone in a time domain.
302. And the debugging device executes fast Fourier transform operation on the first curve to obtain a second curve of the measurement signal on the frequency domain.
In the embodiment of the present invention, Fast Fourier Transform (FFT) is a method for Fast computing Discrete Fourier Transform (DFT) of a sequence or its inverse Transform. Fourier analysis transforms the signal from the original domain (usually time or space) to a representation in the frequency domain or vice versa. The FFT quickly computes such a transform by decomposing the DFT matrix into products of sparse (mostly zero) factors, and therefore, the number of multiplications required by the computer to compute the DFT can be greatly reduced by using the FFT algorithm, and particularly, the more the number N of samples to be transformed, the more significant the computation savings of the FFT algorithm. Therefore, the embodiment of the invention can realize the conversion of the measurement signal from the time domain to the frequency domain through the fast Fourier transform, and reduce the time for converting the signal between the time domain and the frequency domain, thereby improving the efficiency of sound debugging.
303. And the debugging device determines the second curve as an amplitude-frequency response curve of the measuring signal.
In the embodiment of the invention, the measurement signal is sent out by a sound box to be debugged in the sound system.
304. And the debugging device calculates the difference value of the corresponding y coordinates when the x coordinates of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal are the same in the same coordinate system.
In the embodiment of the present invention, both the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal are displayed on the display interface of the filter, and particularly, the filter may be an equalization filter. The display interface of the equalizing filter comprises a coordinate system with the frequency as an abscissa axis (x coordinate axis) and the amplitude as an ordinate axis (y coordinate axis) so as to display and debug the amplitude-frequency response curve of the input filter.
305. The debugging device selects at least one target difference value of which the absolute value is larger than the preset difference value from all the difference values, determines a target coordinate point corresponding to each target difference value, and forms a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal by the x coordinates of all the target coordinate points.
The sound debugging method based on the reliability curve further includes steps 306 to 311, and for the description of the steps 306 to 311, please refer to the detailed description of the first embodiment for the steps 203 to 208, which is not repeated in the embodiments of the present invention.
It can be seen that, by the method described in fig. 3, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging work of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) which is the standard sound quality effect corresponding to the standard amplitude-frequency response curve;
in addition, the analysis of the coherence between the signals can be realized by calculating the reliability of the measurement signal and the reference signal, so that the calculation error of the reliability caused by poor signal intensity and poor stability of the measurement signal in the sound system is reduced;
in addition, the conversion of the measurement signal from the time domain to the frequency domain can be realized through fast Fourier transform, and the time for converting the signal between the time domain and the frequency domain is reduced, so that the efficiency of sound debugging is improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of an audio debugging apparatus based on a reliability curve according to an embodiment of the present invention. As shown in fig. 4, the sound debugging apparatus based on the reliability curve may include:
the acquiring unit 401 is configured to acquire an amplitude-frequency response curve of a measurement signal acquired by a microphone, where the measurement signal is sent by a sound box to be debugged in the sound system.
In the embodiment of the invention, the amplitude-frequency response curve refers to a curve that the amplitude of frequency response changes along with frequency. The measurement signal may be a pink noise signal or a signal continuously swept by a noise generator, which is not limited in the embodiments of the present invention.
As an optional implementation manner, the obtaining unit 401 may obtain an initial amplitude-frequency response curve of the measurement signal collected by the microphone, and perform smoothing processing on the initial amplitude-frequency response curve, specifically, the obtaining unit 401 may perform weighted average filtering processing or median filtering processing on the initial amplitude-frequency response curve by using a filter, so as to obtain an amplitude-frequency response curve of the measurement signal collected by the microphone. Therefore, the embodiment of the invention can realize the purpose of smoothing the curve by performing weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, thereby providing convenience for sound debugging work of subsequent processing.
A comparing unit 402, configured to compare the amplitude-frequency response curve of the measurement signal acquired by the acquiring unit 401 with an amplitude-frequency response curve of a reference signal, to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal, where the reference signal is pre-stored or is sent by a sound box that has been debugged in the sound system.
In the embodiment of the present invention, the reference signal may be pre-stored in the debugging apparatus or emitted from the sound box that has been debugged in the sound system, and optionally, the amplitude-frequency response curve of the reference signal may be a straight and smooth curve. The comparison unit 402 compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal, specifically, the comparison unit 402 may use the amplitude-frequency response curve of the reference signal as a reference for tuning the amplitude-frequency response curve, then compare the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a difference value between an amplitude value of each frequency point on the amplitude-frequency response curve of the measurement signal and a corresponding frequency point on the amplitude-frequency response curve of the reference signal, and determine a compensation frequency band corresponding to the target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal according to the difference value of the amplitude value. The corresponding frequency point is a frequency point which exists on the amplitude-frequency response curve of the reference signal and has the same abscissa with any frequency point of the amplitude-frequency response curve of the measurement signal in the same coordinate system.
A determining unit 403, configured to determine whether a reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band obtained by the comparison of the comparing unit 402 is smaller than a preset standard reliability, where the reliability is used to indicate a correlation degree between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band.
A prohibiting unit 404, configured to prohibit amplitude compensation for the target amplitude-frequency response curve segment requiring compensation when the determining unit 403 determines that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is smaller than a preset standard reliability.
In the embodiment of the invention, for example, in the debugging process of the sound system, the measured signal is distorted due to the influence of the sound field of the indoor environment, at this time, the similarity between the measured signal and the reference signal is low, namely the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, it can be seen that the negative impact of the sound system on the signal transmission characteristics is relatively large, and therefore, when the determining unit 403 determines that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the target amplitude-frequency response curve segment which is obtained by the comparison unit 402 and needs to be compensated has no reference meaning for the debugging work of the sound system, that is, the debugging device does not need to compare the target amplitude-frequency response curve segment which is obtained by the comparison unit 402 and needs to be compensated for amplitude compensation. It should be noted that the confidence level at this time may represent the transmission signal-to-noise ratio of the sound system to some extent.
A compensating unit 405, configured to perform a compensation operation on the amplitude of the target amplitude-frequency response curve segment that needs to be compensated when the determining unit 403 determines that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is greater than or equal to a preset standard reliability.
It can be seen that, with the acoustic debugging device based on the reliability curve described in fig. 4, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) as the standard sound quality effect corresponding to the standard amplitude-frequency response curve.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of another sound debugging apparatus based on a reliability curve according to an embodiment of the present invention, wherein the sound debugging apparatus based on the reliability curve shown in fig. 5 is further optimized by the sound debugging apparatus based on the reliability curve shown in fig. 4. Compared with the reliability curve-based acoustic debugging apparatus shown in fig. 4, the reliability curve-based acoustic debugging apparatus shown in fig. 5 further includes:
a first calculating unit 406, configured to calculate a first self-power spectral density of the measurement signal and a second self-power spectral density of the reference signal after the comparing unit 402 compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been tested.
Specifically, the comparing unit 402 compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal, and then triggers the first calculating unit 406 to perform an operation of calculating the first self-power spectral density of the measurement signal and the second self-power spectral density of the reference signal.
In the embodiment of the present invention, the self-power spectral density is also referred to as Power Spectral Density (PSD). Since in an acoustic system, a signal is usually represented in the form of a wave, the power spectral density of the wave multiplied by a suitable coefficient will result in the power carried by the wave per unit frequency, which is called the power spectral density of the signal.
The first calculating unit 406 is further configured to calculate a cross power spectral density of the measurement signal and the reference signal.
In the embodiment of the present invention, the cross power spectral density of the measurement signal and the reference signal is also referred to as Cross Spectral Density (CSD), and may describe the correlation between the measurement signal and the reference signal in the frequency domain.
A second calculating unit 407, configured to calculate, according to the first self-power spectral density, the second self-power spectral density, and the cross power spectral density calculated by the first calculating unit 406, reliability of an amplitude-frequency response curve of the measurement signal and reliability of an amplitude-frequency response curve of the reference signal in a compensation frequency band, and trigger the determining unit 403 to start.
In the embodiment of the present invention, the debugging apparatus may set the signal sequence of the measurement signal as x and the signal sequence of the reference signal as y, and then, for the signal x and the signal y, the confidence may be defined as a function of the first self-power spectral density of the signal x, the second self-power spectral density of the signal y, and the cross power spectral density between the signal x and the signal y. Then, the way for the debugging apparatus to calculate the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band according to the first self-power spectral density, the second self-power spectral density and the cross power spectral density is specifically as follows:
after the signal x and the signal y are respectively subjected to fast fourier transform, the signal x is output as: xx xa + xbi, signal y output is: yy is ya + ybi. Then, the cross power spectrum of signal x and signal y is:
xy=xx*conj(yy);
where, conj is a complex conjugate. Then, the cross power spectral density of signal x and signal y is:
Pxy=xy*conj(xy);
further, the coherence of the signal x and the signal y is:
Cohe=Pxy./Pxx./Pyy;
where Pxy is the cross power spectral density of signal x and signal y, Pxx is the first self-power spectral density of signal x, Pyy is the second self-power spectral density of signal y, and "/" represents a point division.
In step 203 to step 205, the debugging apparatus may sequentially calculate a first self-power spectral density of the measurement signal, a second self-power spectral density of the reference signal, and a cross power spectral density of the measurement signal and the reference signal, and calculate a reliability of an amplitude-frequency response curve of the measurement signal and an amplitude-frequency response curve of the reference signal in the compensation band according to the first self-power spectral density, the second self-power spectral density, and the cross power spectral density. In the debugging of the sound system, the signal strength of the measurement signal sent by the sound box is weak, the stability is poor, and the traditional Fourier coherence has certain limitation in the analysis of the reliability (coherence) of the measurement signal and the reference signal.
The determining unit 403 is specifically configured to, after the second calculating unit 407 calculates the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band, determine whether the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than a preset standard reliability.
It can be seen that, with the acoustic debugging device based on the reliability curve described in fig. 5, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging work of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) which is the standard sound quality effect corresponding to the standard amplitude-frequency response curve;
in addition, the analysis of the coherence between the signals can be realized by calculating the reliability of the measurement signal and the reference signal, and the calculation error of the reliability caused by poor signal strength and poor stability of the measurement signal in the sound system is reduced.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another sound debugging apparatus based on a reliability curve according to an embodiment of the present invention, wherein the sound debugging apparatus based on the reliability curve shown in fig. 6 is further optimized by the sound debugging apparatus based on the reliability curve shown in fig. 5. In comparison with the acoustic debugging apparatus based on the reliability curve shown in fig. 5, the acoustic debugging apparatus based on the reliability curve shown in fig. 6:
the acquiring unit 401 may include:
the obtaining sub-unit 4011 is configured to obtain a first curve of the measurement signal collected by the microphone in the time domain.
The processing sub-unit 4012 is configured to perform a fast fourier transform operation on the first curve obtained by the obtaining sub-unit 4011, so as to obtain a second curve of the measurement signal in the frequency domain.
In the embodiment of the present invention, Fast Fourier Transform (FFT) is a method for Fast computing Discrete Fourier Transform (DFT) of a sequence or its inverse Transform. Fourier analysis transforms the signal from the original domain (usually time or space) to a representation in the frequency domain or vice versa. The FFT can quickly compute such a transform by decomposing the DFT matrix into products of sparse (mostly zero) factors, so that the number of multiplications required by the computer to compute the DFT can be greatly reduced by using the FFT algorithm in the processing sub-unit 4012, and particularly, the more the number N of transformed samples, the more significant the computation savings of the FFT algorithm. Therefore, the embodiment of the invention can realize the conversion of the measurement signal from the time domain to the frequency domain through the fast Fourier transform, and reduce the time for converting the signal between the time domain and the frequency domain, thereby improving the efficiency of sound debugging.
A first determining sub-unit 4013, configured to determine the second curve obtained by the processing sub-unit 4012 as an amplitude-frequency response curve of the measurement signal.
As an alternative embodiment, in the acoustic debugging apparatus based on the reliability curve shown in fig. 6:
the comparing unit 402 may include:
the calculating subunit 4021 is configured to calculate a difference value of y coordinates corresponding to the same x coordinate in the same coordinate system between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal.
In the embodiment of the present invention, both the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal are displayed on the display interface of the filter, and particularly, the filter may be an equalization filter. The display interface of the equalizing filter comprises a coordinate system with the frequency as an abscissa axis (x coordinate axis) and the amplitude as an ordinate axis (y coordinate axis) so as to display and debug the amplitude-frequency response curve of the input filter.
A selecting subunit 4022, configured to select at least one target difference value whose absolute value is greater than a preset difference value from the difference values calculated by the calculating subunit 4021, and determine a target coordinate point corresponding to each target difference value, and a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in an amplitude-frequency response curve of the measurement signal and is formed by x coordinates of all target coordinate points; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been tested.
As an alternative embodiment, in the acoustic debugging apparatus based on the reliability curve shown in fig. 6:
the compensation unit 405 may include:
the second determining subunit 4051 is configured to determine an operating parameter of the equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal.
And a control subunit 4052, configured to control the equalization filter to perform a compensation operation on the amplitude of the target amplitude-frequency response curve segment to be compensated according to the operating parameter determined by the second determining subunit 4051.
It can be seen that, with the acoustic debugging device based on the reliability curve described in fig. 6, when it is determined that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard reliability, the amplitude compensation of the target amplitude-frequency response curve segment to be compensated is prohibited; when the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is judged to be greater than or equal to the preset standard credibility, the compensation operation is executed on the amplitude of the target amplitude-frequency response curve segment needing to be compensated, so that the measurement signal corresponding to the frequency band with lower credibility is prevented from generating more serious distortion, and the degree of distortion generated by the sound signal after compensation is further reduced;
in addition, the purpose of smoothing the curve can be realized by carrying out weighted mean filtering processing or median filtering processing on the initial amplitude-frequency response curve of the measurement signal acquired by the microphone, so that convenience is provided for sound debugging work of subsequent processing;
in addition, the DSP parameters corresponding to the standard amplitude-frequency response curve obtained after debugging can be set in the DSP of the sound box to be debugged in the sound system to complete the debugging work of the sound box to be debugged, so that the user can hear the sound quality effect of the sound box at the listening position (measurement point) which is the standard sound quality effect corresponding to the standard amplitude-frequency response curve;
in addition, the analysis of the coherence between the signals can be realized by calculating the reliability of the measurement signal and the reference signal, so that the calculation error of the reliability caused by poor signal intensity and poor stability of the measurement signal in the sound system is reduced;
in addition, the conversion of the measurement signal from the time domain to the frequency domain can be realized through fast Fourier transform, and the time for converting the signal between the time domain and the frequency domain is reduced, so that the efficiency of sound debugging is improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another sound debugging apparatus based on a reliability curve according to an embodiment of the present invention. As shown in fig. 7, the sound debugging apparatus based on the reliability curve may include:
a memory 701 in which executable program code is stored;
a processor 702 coupled to the memory 701;
the processor 702 calls the executable program code stored in the memory 701 to execute any one of the sound debugging methods based on the reliability curve in fig. 1 to 3.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one sound debugging method based on a credibility curve in figures 1-3.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In various embodiments of the present invention, it should be understood that the term "and/or" herein is merely one type of association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The sound debugging method and device based on the credibility curve disclosed by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (12)

1. A method for sound debugging based on a confidence curve, the method comprising:
acquiring an amplitude-frequency response curve of a measurement signal acquired by a microphone, wherein the measurement signal is emitted by a sound box to be debugged in a sound system;
comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of a reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal, wherein the reference signal is pre-stored or is emitted by a sound box which has been debugged in the sound system;
judging whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard credibility, if so, prohibiting the amplitude compensation of the target amplitude-frequency response curve segment needing to be compensated; if not, executing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing compensation; the reliability is used for representing the degree of correlation between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band.
2. The method according to claim 1, wherein after comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal, the method further comprises:
calculating a first self-power spectral density of the measurement signal and a second self-power spectral density of the reference signal;
calculating a cross power spectral density of the measurement signal and the reference signal;
and calculating the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band according to the first self-power spectral density, the second self-power spectral density and the cross power spectral density, and judging whether the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than a preset standard reliability.
3. The method according to claim 1 or 2, wherein the acquiring of the amplitude-frequency response curve of the measurement signal acquired by the microphone comprises:
acquiring a first curve of a measurement signal acquired by a microphone in a time domain;
performing fast Fourier transform operation on the first curve to obtain a second curve of the measurement signal on a frequency domain;
and determining the second curve as an amplitude-frequency response curve of the measuring signal.
4. The method according to claim 1 or 2, wherein the comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain the compensation frequency band corresponding to the target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal comprises:
calculating the difference value of the corresponding y coordinates of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal when the x coordinates are the same in the same coordinate system;
selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points.
5. The method according to claim 3, wherein the comparing the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain the compensation frequency band corresponding to the target amplitude-frequency response curve segment to be compensated in the amplitude-frequency response curve of the measurement signal comprises:
calculating the difference value of the corresponding y coordinates of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal when the x coordinates are the same in the same coordinate system;
selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points.
6. The method of claim 5, wherein the performing a compensation operation on the amplitude of the target amplitude-frequency response curve segment to be compensated comprises:
determining working parameters of an equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal;
and controlling the equalizing filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameters.
7. A sound debugging device based on a reliability curve is characterized by comprising:
the device comprises an acquisition unit, a detection unit and a control unit, wherein the acquisition unit is used for acquiring an amplitude-frequency response curve of a measurement signal acquired by a microphone, and the measurement signal is sent out by a sound box to be debugged in a sound system;
a comparison unit, configured to compare an amplitude-frequency response curve of the measurement signal with an amplitude-frequency response curve of a reference signal, to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment that needs to be compensated in the amplitude-frequency response curve of the measurement signal, where the reference signal is pre-stored or is sent by a sound box that has been debugged in the sound system;
the judging unit is used for judging whether the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is less than the preset standard credibility; the credibility is used for representing the degree of correlation between the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band;
the prohibiting unit is used for prohibiting amplitude compensation of the target amplitude-frequency response curve segment needing to be compensated when the judging unit judges that the credibility of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is smaller than the preset standard credibility;
and the compensation unit is used for executing compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated when the judgment unit judges that the reliability of the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal in the compensation frequency band is greater than or equal to the preset standard reliability.
8. The apparatus of claim 7, further comprising:
the first calculation unit is used for calculating a first self-power spectral density of the measurement signal and a second self-power spectral density of the reference signal after the comparison unit compares the amplitude-frequency response curve of the measurement signal with the amplitude-frequency response curve of the reference signal to obtain a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in the amplitude-frequency response curve of the measurement signal; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been debugged;
the first calculating unit is further configured to calculate a cross power spectral density of the measurement signal and the reference signal;
a second calculating unit, configured to calculate, according to the first self-power spectral density, the second self-power spectral density, and the cross power spectral density calculated by the first calculating unit, reliability of an amplitude-frequency response curve of the measurement signal and an amplitude-frequency response curve of the reference signal in the compensation frequency band;
the determining unit is specifically configured to determine, after the second calculating unit calculates the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band, whether the reliability of the amplitude-frequency response curve of the measurement signal and the reliability of the amplitude-frequency response curve of the reference signal in the compensation frequency band are less than a preset standard reliability.
9. The apparatus according to claim 7 or 8, wherein the obtaining unit comprises:
the acquisition subunit is used for acquiring a first curve of the measurement signal acquired by the microphone in a time domain;
the processing subunit is configured to perform a fast fourier transform operation on the first curve to obtain a second curve of the measurement signal in the frequency domain;
and the first determining subunit is used for determining the second curve as an amplitude-frequency response curve of the measurement signal.
10. The apparatus according to claim 7 or 8, wherein the alignment unit comprises:
the calculating subunit is used for calculating the difference value of the corresponding y coordinates when the x coordinates of the amplitude-frequency response curve of the measuring signal and the amplitude-frequency response curve of the reference signal are the same in the same coordinate system;
the selection subunit is used for selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been debugged.
11. The apparatus of claim 9, wherein the alignment unit comprises:
the calculating subunit is used for calculating the difference value of the corresponding y coordinates when the x coordinates of the amplitude-frequency response curve of the measuring signal and the amplitude-frequency response curve of the reference signal are the same in the same coordinate system;
the selection subunit is used for selecting at least one target difference value of which the absolute value is greater than a preset difference value from all the difference values, determining a target coordinate point corresponding to each target difference value, and forming a compensation frequency band corresponding to a target amplitude-frequency response curve segment needing compensation in an amplitude-frequency response curve of the measurement signal by x coordinates of all the target coordinate points; wherein the reference signal is pre-stored or emitted by a sound box in the sound system that has been debugged.
12. The apparatus of claim 11, wherein the compensation unit comprises:
the second determining subunit is used for determining working parameters of the equalization filter according to the amplitude-frequency response curve of the measurement signal and the amplitude-frequency response curve of the reference signal;
and the control subunit is used for controlling the equalization filter to perform compensation operation on the amplitude of the target amplitude-frequency response curve segment needing to be compensated according to the working parameters.
CN201711487273.3A 2017-12-29 2017-12-29 Sound debugging method and device based on reliability curve Active CN108200526B (en)

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 CN108200526A (en) 2018-06-22
CN108200526B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177317B (en) * 2019-05-17 2020-12-22 腾讯科技(深圳)有限公司 Echo cancellation method, echo cancellation device, computer-readable storage medium and computer equipment
CN111654798A (en) * 2019-12-31 2020-09-11 广州励丰文化科技股份有限公司 Automatic debugging method and system for loudspeaker
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
CN113905301A (en) * 2021-09-10 2022-01-07 东莞市创芯微电子科技有限公司 EQ-based noise reduction compensation design method, audio system and earphone

Citations (7)

* Cited by examiner, † Cited by third party
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 regulation method and device in a kind of instructional video
CN107231598A (en) * 2017-06-21 2017-10-03 惠州Tcl移动通信有限公司 A kind of adaptive audio adjustment method, system and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
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 regulation method and device in a kind of instructional video
CN107231598A (en) * 2017-06-21 2017-10-03 惠州Tcl移动通信有限公司 A kind of adaptive audio adjustment method, system and mobile terminal

Also Published As

Publication number Publication date
CN108200526A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN108200526B (en) Sound debugging method and device based on reliability curve
US11967316B2 (en) Audio recognition method, method, apparatus for positioning target audio, and device
US7065487B2 (en) Speech recognition method, program and apparatus using multiple acoustic models
JP6134078B1 (en) Noise suppression
CN103067322B (en) The method of the voice quality of the audio frame in assessment channel audio signal
US10741195B2 (en) Sound signal enhancement device
CN110265064B (en) Audio frequency crackle detection method, device and storage medium
US8391471B2 (en) Echo suppressing apparatus, echo suppressing system, echo suppressing method and recording medium
CN106157967A (en) Impulse noise mitigation
CN109831733A (en) Test method, device, equipment and the storage medium of audio broadcast performance
US20130028432A1 (en) Reverberation suppression device, reverberation suppression method, and computer-readable recording medium storing reverberation suppression program
JP2012058701A (en) Acoustic device
US11450309B2 (en) Information processing method and system, computer system and computer readable medium
EP3796629A1 (en) Double talk detection method, double talk detection device and echo cancellation system
CN111223492A (en) Echo path delay estimation method and device
JP4422662B2 (en) Sound source position / sound receiving position estimation method, apparatus thereof, program thereof, and recording medium thereof
US11380312B1 (en) Residual echo suppression for keyword detection
JP2012128207A (en) Acoustic device, control method thereof, and program
CN113470685A (en) Training method and device of voice enhancement model and voice enhancement method and device
CN112997249B (en) Voice processing method, device, storage medium and electronic equipment
JP6886890B2 (en) Decay time analysis methods, instruments, and programs
US20190385590A1 (en) Generating device, generating method, and non-transitory computer readable storage medium
JP6716933B2 (en) Noise estimation device, program and method, and voice processing device
CN107948862B (en) Automatic compensation delay method and system for sound box equipment
CN111654798A (en) Automatic debugging method and system for loudspeaker

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
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

GR01 Patent grant
GR01 Patent grant