CN107948864A - A kind of delay compensation method and system based on sound-box device - Google Patents

A kind of delay compensation method and system based on sound-box device Download PDF

Info

Publication number
CN107948864A
CN107948864A CN201711479196.7A CN201711479196A CN107948864A CN 107948864 A CN107948864 A CN 107948864A CN 201711479196 A CN201711479196 A CN 201711479196A CN 107948864 A CN107948864 A CN 107948864A
Authority
CN
China
Prior art keywords
frequency
full range
data
ultralow
ultralow frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711479196.7A
Other languages
Chinese (zh)
Other versions
CN107948864B (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 CN201711479196.7A priority Critical patent/CN107948864B/en
Publication of CN107948864A publication Critical patent/CN107948864A/en
Application granted granted Critical
Publication of CN107948864B publication Critical patent/CN107948864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups

Landscapes

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

Abstract

A kind of delay compensation method and system based on sound-box device, including:Obtain the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker;The different delay values of full range are repeatedly added to full range data, obtain one group of full range delay data, and calculate the variance of the phase difference of each full range delay data and ultralow frequency data, obtain the corresponding full range variance yields of one group of delay value different from full range, and the different delay values of ultralow frequency are repeatedly added to ultralow frequency data, one group of ultralow frequency delay data is obtained, and calculates each ultralow frequency delay data and the variance of the phase difference of full range data and obtains the corresponding ultralow frequency variance yields of one group of delay value different with ultralow frequency;The target variance yields of minimum is determined from full range variance yields and ultralow frequency variance yields;The corresponding delay value of target variance yields is set and arrives target speaker corresponding with target variance yields.Implementing the embodiment of the present invention automatically and exactly can carry out sound-box device compensation of delay, and debugging efficiency is high.

Description

A kind of delay compensation method and system based on sound-box device
Technical field
The present invention relates to speaker technology field, and in particular to a kind of delay compensation method and system based on sound-box device.
Background technology
With the development of the social economy, the life of people also becomes increasingly to enrich.In order to pursue ultimate attainment audiovisual experience, More and more people's selection brings the sound-box device of specialty in family into.Influence speaker tonequality quality factor, not only with speaker The quality of itself is related, and related with the environment of audition, in order to obtain more preferable sound equipment experience effect, in the sound using specialty , it is necessary to which the commissioning staff of specialty is debugged before case equipment, to eliminate the ill effects such as the audio distortions for being delayed and bringing.Putting into practice Middle discovery, the debud mode that compensation of delay is carried out to sound-box device are usually:Commissioning staff is according to conventional commissioning experience to sound Case equipment carries out multiple compensation of delay test, then chooses auditory effect best delay value and sound-box device is mended into line delay Repay, it is low which cannot carry out compensation of delay, debugging efficiency to sound-box device exactly.
The content of the invention
The embodiment of the present invention discloses a kind of delay compensation method and system based on sound-box device, can automatically and exactly Compensation of delay is carried out to sound-box device, debugging efficiency is high.
First aspect of the embodiment of the present invention discloses a kind of delay compensation method based on sound-box device, the described method includes:
Commissioning device obtains the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker;
The commissioning device repeatedly adds the different delay values of full range to the full range data, obtain one group with it is described complete The corresponding full range delay data of different delay values of frequency, and calculate each full range delay data and the ultralow frequency data Phase difference variance, obtain the corresponding full range variance yields of one group of delay value different from the full range;
The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and institute State the corresponding ultralow frequency delay data of different delay values of ultralow frequency, and calculate each ultralow frequency delay data with it is described The variance of the phase difference of full range data, obtains the corresponding ultralow frequency variance yields of one group of delay value different from the ultralow frequency;
The commissioning device determines the variance yields of minimum from the full range variance yields and the ultralow frequency variance yields, makees For target variance yields;
The commissioning device sets the corresponding delay value of the target variance yields to corresponding with the target variance yields Target speaker.
As an alternative embodiment, in first aspect of the embodiment of the present invention, obtained in the commissioning device complete After the full range data of frequency speaker and the ultralow frequency data of ultralow frequency speaker, further include:
The commissioning device carries out Fourier transformation processing to the full range data, obtains full range reference spectral, and right The ultralow frequency data carries out Fourier transformation processing, obtains ultralow frequency reference spectral;
The commissioning device obtains full range reference phase curve according to the full range reference spectral, and according to described ultralow Frequency reference spectral obtains ultralow frequency reference phase curve;
The commissioning device carries out the full range reference phase curve octave processing and mobile mean value smoothing processing, obtains To full range benchmark phase frequency data, and the ultralow frequency reference phase curve is carried out at octave processing and mobile mean value smoothing Reason, obtains ultralow frequency benchmark phase frequency data;
The commissioning device repeatedly adds the different delay values of full range to the full range data, obtain one group with it is described complete The corresponding full range delay data of different delay values of frequency, and calculate each full range delay data and the ultralow frequency data Phase difference variance, obtain the corresponding full range variance yields of one group of delay value different from the full range, including:
The commissioning device repeatedly adds the different delay values of full range to the full range data, obtain one group with it is described complete The corresponding full range time domain waveform of different delay values of frequency, the full range delay data are the full range time domain waveforms;
The commissioning device carries out Fourier transformation processing to each full range time domain waveform, obtains and each described complete The corresponding full range spectrum waveform of frequency time domain waveform;
The commissioning device obtains the corresponding full range phase frequency curve of each full range spectrum waveform, and to each described complete Frequency phase frequency curve carries out octave processing and mobile mean value smoothing processing, obtains corresponding with each full range phase frequency curve complete Frequency phase frequency data;
The commissioning device determines the frequency crossover region of the full range phase frequency data and the ultralow frequency benchmark phase frequency data, And calculate each the full range phase frequency data and the phase of the full range of the ultralow frequency benchmark phase frequency data in the frequency crossover region Potential difference;
The commissioning device calculates the variance of the phase difference of all full ranges, the difference as one group with the full range The corresponding full range variance yields of delay value;
The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and institute State the corresponding ultralow frequency delay data of different delay values of ultralow frequency, and calculate each ultralow frequency delay data with it is described The variance of the phase difference of full range data, obtains the corresponding ultralow frequency variance yields of one group of delay value different from the ultralow frequency, Including:
The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and institute The corresponding ultralow frequency time domain waveform of different delay values of ultralow frequency is stated, the ultralow frequency delay data is the ultralow frequency time domain Waveform;
The commissioning device carries out Fourier transformation processing to each ultralow frequency time domain waveform, obtains and each described The corresponding ultralow frequency spectrum waveform of ultralow frequency time domain waveform;
The commissioning device obtains the corresponding ultralow frequency phase frequency curve of each ultralow frequency spectrum waveform, and to each institute State ultralow frequency phase frequency curve and carry out octave processing and mobile mean value smoothing processing, obtain and each ultralow frequency phase frequency curve Corresponding ultralow frequency phase frequency data;
The commissioning device determines the frequency crossover region of the ultralow frequency phase frequency data and the full range benchmark phase frequency data, And calculate each ultralow frequency phase frequency data and the ultralow frequency of the full range benchmark phase frequency data in the frequency crossover region Phase difference;
The commissioning device calculates the variance of the phase difference of all ultralow frequencies, as one group with the full range not The same corresponding ultralow frequency variance yields of delay value.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the commissioning device determines described Full range phase frequency data and the frequency crossover region of the ultralow frequency benchmark phase frequency data include:
The commissioning device determines the first crossover region of the full range phase frequency data and the ultralow frequency benchmark phase frequency data;
The instruction of regional choice that the commissioning device is triggered according to commissioning staff determines the in first crossover region One sub- crossover region, the frequency crossover region as the full range phase frequency data and the ultralow frequency benchmark phase frequency data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the commissioning device determines described Ultralow frequency phase frequency data and the frequency crossover region of the full range benchmark phase frequency data include:
The commissioning device determines the second crossover region of the ultralow frequency phase frequency data and the full range benchmark phase frequency data;
The instruction of regional choice that the commissioning device is triggered according to commissioning staff determines the in second crossover region Two sub- crossover regions, the frequency crossover region as the ultralow frequency phase frequency data and the full range benchmark phase frequency data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the commissioning device is by the mesh The corresponding delay value of mark variance yields is set to be included to target sound case corresponding with the target variance yields:
The commissioning device determines delay value corresponding with the target variance yields according to the target variance yields;
The commissioning device judges whether the full range variance yields includes the target variance yields, if including determining institute It is the target speaker to state full-range cabinet, if do not included, the commissioning device determines that the ultralow frequency speaker is the target Speaker;
The commissioning device sets the delay value to the target speaker.
Second aspect of the embodiment of the present invention discloses a kind of compensation of delay system based on sound-box device, including:
First acquisition unit, for obtaining the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker;
First variance computing unit, the full range data for being got to the first acquisition unit repeatedly add complete The different delay values of frequency, obtain the corresponding full range delay data of one group of delay value different from the full range, and calculate every The variance of the phase difference of a full range delay data and the ultralow frequency data, obtains one group and different from the full range prolongs The corresponding full range variance yields of duration;
Second variance computing unit, for repeatedly being added to the ultralow frequency data that the first acquisition unit is got The different delay values of ultralow frequency, obtain the corresponding ultralow frequency delay data of one group of delay value different from the ultralow frequency, And each ultralow frequency delay data and the variance of the phase difference of the full range data are calculated, obtain one group and the ultralow frequency The corresponding ultralow frequency variance yields of different delay values;
Determination unit, for determining the variance yields of minimum from the full range variance yields and the ultralow frequency variance yields, As target variance yields;
Setting unit, the corresponding delay value of the target variance yields for the determination unit to be determined set arrive with The corresponding target speaker of the target variance yields.
As an alternative embodiment, in second aspect of the embodiment of the present invention, further include:
First processing units, for obtaining the full range data and ultralow frequency speaker of full-range cabinet in the first acquisition unit Ultralow frequency data after, the full range data that are got to the first acquisition unit carry out Fourier transformation processing, obtain Fourier transformation processing is carried out to full range reference spectral, and to the ultralow frequency data, obtains ultralow frequency reference spectral;
Second acquisition unit, the full range reference spectral for being obtained according to the first processing units obtain full range base Quasi- phase curve, and the ultralow frequency reference spectral obtained according to the first processing units obtain ultralow frequency reference phase Curve;
Second processing unit, the full range reference phase curve for being obtained to the second acquisition unit carry out frequency multiplication Journey processing and mobile mean value smoothing processing, obtain full range benchmark phase frequency data, and the institute obtained to the second acquisition unit State ultralow frequency reference phase curve and carry out octave processing and mobile mean value smoothing processing, obtain ultralow frequency benchmark phase frequency data;
The first variance computing unit includes:
First subelement, for repeatedly adding full range not to the full range data that the first acquisition unit is got Same delay value, obtains the corresponding full range time domain waveform of one group of delay value different from the full range, the full range delay number According to being the full range time domain waveform;Be additionally operable to carry out Fourier transformation processing to each full range time domain waveform, obtain with often The corresponding full range spectrum waveform of a full range time domain waveform;It is additionally operable to obtain the corresponding full range of each full range spectrum waveform Phase frequency curve, and octave processing and mobile mean value smoothing processing are carried out to each full range phase frequency curve, obtain with each The corresponding full range phase frequency data of the full range phase frequency curve;
Second subelement, for determining the full range phase frequency data and the second processing that first subelement obtains The frequency crossover region for the ultralow frequency benchmark phase frequency data that unit obtains;
3rd subelement, each described first in the frequency crossover region determined for calculating second subelement The ultralow frequency benchmark phase frequency data that the full range phase frequency data that subelement is determined are obtained with the second processing unit Full range phase difference;Be additionally operable to calculate the variance of the phase difference of all full ranges, as one group with the full range not The same corresponding full range variance yields of delay value;
The second variance computing unit includes:
4th subelement, for repeatedly adding ultralow frequency to the ultralow frequency data that the first acquisition unit is got Different delay values, obtain the corresponding ultralow frequency time domain waveform of one group of delay value different from the ultralow frequency, it is described super Low frequency delay data is the ultralow frequency time domain waveform;It is additionally operable to carry out Fourier transformation to each ultralow frequency time domain waveform Processing, obtains ultralow frequency spectrum waveform corresponding with each ultralow frequency time domain waveform;It is additionally operable to obtain each described ultralow The corresponding ultralow frequency phase frequency curve of frequency spectrum waveform, and octave processing and movement are carried out to each ultralow frequency phase frequency curve Mean value smoothing processing, obtains ultralow frequency phase frequency data corresponding with each ultralow frequency phase frequency curve;
5th subelement, at the ultralow frequency phase frequency data and described second obtained for determining the 4th subelement The frequency crossover region for the full range benchmark phase frequency data that reason unit obtains;
6th subelement, each described 4th in the frequency crossover region determined for calculating the 5th subelement The full range benchmark phase frequency data that the ultralow frequency phase frequency data that subelement is determined are obtained with the second processing unit Ultralow frequency phase difference;It is additionally operable to calculate the variance of the phase difference of all ultralow frequencies, as one group and the full range The corresponding ultralow frequency variance yields of different delay values.
As an alternative embodiment, in second aspect of the embodiment of the present invention, second subelement includes:
First module, for determining the full range phase frequency data and the second processing list that first subelement obtains First crossover region of the ultralow frequency benchmark phase frequency data that member obtains;
Second module, instructs for the regional choice that is triggered according to commissioning staff described in being determined in first module The first sub- crossover region is determined in first crossover region, as the full range phase frequency data and the ultralow frequency benchmark phase frequency data Frequency crossover region.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the 5th subelement includes:
3rd module, for determining the ultralow frequency phase frequency data and the second processing that the 4th subelement obtains Second crossover region of the full range benchmark phase frequency data that unit obtains;
4th module, instructs for the regional choice that is triggered according to commissioning staff described in being determined in the 3rd module The second sub- crossover region is determined in second crossover region, as the ultralow frequency phase frequency data and the full range benchmark phase frequency data Frequency crossover region.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the setting unit includes:
7th subelement, the target variance yields for being determined according to the determination unit determine and the target side The corresponding delay value of difference;
8th subelement, for judging whether the full range variance yields that the first variance computing unit obtains includes institute State target variance yields;
9th subelement, for judging that the full range variance yields includes the target variance yields when the 8th subelement When, it is the target speaker to determine the full-range cabinet;It is additionally operable to when the 8th subelement judges the full range variance yields When not including the target variance yields, it is the target speaker to determine the ultralow frequency speaker;
Tenth subelement, the delay value for the 7th subelement to be determined are set to the 9th subelement The target speaker determined.
The third aspect of the embodiment of the present invention discloses a kind of commissioning device, including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs the embodiment of the present invention the On the one hand the part or all of step of any one disclosed method.
Fourth aspect of the embodiment of the present invention discloses a kind of computer-readable recording medium, the computer-readable recording medium Program code is stored, wherein, said program code includes being used to perform any one disclosed in first aspect of the embodiment of the present invention The instruction of the part or all of step of kind method.
The aspect of the embodiment of the present invention the 5th discloses a kind of computer program product, when the computer program product is calculating When being run on machine so that the computer performs the part of any one method disclosed in first aspect of the embodiment of the present invention or complete Portion's step.
The open one kind of the aspect of the embodiment of the present invention the 6th applies distribution platform, and the application distribution platform is used to issue described Computer program product, wherein, when the computer program product is run on computers so that the computer performs sheet The part or all of step of any one method disclosed in inventive embodiments first aspect.
Compared with prior art, the embodiment of the present invention has the advantages that:
In the embodiment of the present invention, commissioning device can first obtain full-range cabinet full range data and ultralow frequency speaker it is ultralow Frequency evidence;Then commissioning device repeatedly adds the different delay values of full range to full range data, obtains the difference of one group and full range The corresponding full range delay data of delay value, and calculate the variance of the phase difference of each full range delay data and ultralow frequency data, The corresponding full range variance yields of one group of delay value different from full range is obtained, meanwhile, commissioning device repeatedly adds to ultralow frequency data Enter the different delay values of ultralow frequency, obtain the corresponding ultralow frequency delay data of one group of delay value different from ultralow frequency, and The variance of each ultralow frequency delay data and the phase difference of full range data is calculated, obtains one group of delay value different from ultralow frequency Corresponding ultralow frequency variance yields;Further, commissioning device determines minimum from full range variance yields and ultralow frequency variance yields Variance yields, as target variance yields;Then the corresponding delay value of target variance yields is set and arrived and target variance yields by commissioning device Corresponding target speaker.As it can be seen that implement the embodiment of the present invention, can be according to full range amplitude frequency curve and low frequency amplitude frequency curve overlapping The variance yields of the phase difference in area, accurately determines delay value, and automatically sound-box device can be prolonged according to the delay value When compensate, debugging efficiency is high.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of delay compensation method based on sound-box device disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another delay compensation method based on sound-box device disclosed by the embodiments of the present invention;
Fig. 3 is a kind of schematic diagram for choosing part-frequency point disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structure diagram of compensation of delay system based on sound-box device disclosed by the embodiments of the present invention;
Fig. 5 is the structure diagram of another compensation of delay system based on sound-box device disclosed by the embodiments of the present invention;
Fig. 6 is the structure diagram of another compensation of delay system based on sound-box device disclosed by the embodiments of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without making creative work Example is applied, belongs to the scope of protection of the invention.
It should be noted that term " comprising " and " having " and their any changes in the embodiment of the present invention and attached drawing Shape, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, system, product or The step of equipment is not limited to list or unit, but the step of not listing or unit are alternatively further included, or it is optional Ground is further included for the intrinsic other steps of these processes, method, product or equipment or unit.
The embodiment of the present invention discloses a kind of delay compensation method and system based on sound-box device, can automatically and exactly Compensation of delay is carried out to sound-box device, debugging efficiency is high.It is described in detail individually below.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of flow of delay compensation method based on sound-box device disclosed by the embodiments of the present invention Schematic diagram.It may comprise steps of as shown in Figure 1, being somebody's turn to do the delay compensation method based on sound-box device:
101st, commissioning device obtains the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker.
In the embodiment of the present invention, full-range cabinet can cover low frequency, intermediate frequency and high-frequency range playback Full-frequency trumpet or Wideband loudspeaker, are made of, its gamut frequency range is from same group a vibrational system (voice coil loudspeaker voice coil, lead, elastic wave sheet, vibrating diaphragm and outstanding side) Shaking assembly send, form a principle of sound from point to face, i.e. point sound source sounding, obtains range balance and phase one Causing, the transient response of its full frequency band is also consistent, and therefore, full-range cabinet can build the form of accurate sound field, voice and musical instrument, Its frequency range covered is 50~10000Hz.Ultralow frequency speaker is usually the ultralow frequency playback for being used for supplementing full-range cabinet Loudspeaker special is usually used in large and medium-sized sound system, and the dynamics and shock that can strengthen low frequency playback are felt.
102nd, commissioning device repeatedly adds the different delay values of full range to full range data, obtains one group with the full range not The same corresponding full range delay data of delay value, and calculate the side of the phase difference of each full range delay data and ultralow frequency data Difference, obtains the corresponding full range variance yields of one group of delay value different from full range.
In the embodiment of the present invention, value that the different delay values of the full range can be between 1~100ms, wherein, debugging is set The standby different delay values that can repeatedly add full range to full range data according to constantly incremental mode, the different delayed time of the full range Time interval between value can be equal or unequal, and the embodiment of the present invention is not construed as limiting.
103rd, commissioning device repeatedly adds the different delay values of ultralow frequency to ultralow frequency data, obtain one group it is ultralow with this The corresponding ultralow frequency delay data of different delay values of frequency, and calculate the phase of each ultralow frequency delay data and full range data The variance of difference, obtains the corresponding ultralow frequency variance yields of one group of delay value different from ultralow frequency.
In the embodiment of the present invention, value that the delay value of the full range can be between 1~100ms, wherein, commissioning device can be with The different delay values of full range are repeatedly added to full range data according to constantly incremental mode, between the different delayed time value of the full range Time interval can be equal or unequal, the embodiment of the present invention is not construed as limiting.The delay value of the ultralow frequency Value that can also be between 1~100ms, the wherein delay value of ultralow frequency can be identical with the delay value of full range, can not also be same, The embodiment of the present invention is not construed as limiting.
104th, commissioning device determines the variance yields of minimum from full range variance yields and ultralow frequency variance yields, as target side Difference.
105th, the corresponding delay value of target variance yields is set and arrives target speaker corresponding with target variance yields by commissioning device.
In the embodiment of the present invention, commissioning device can be determined most in the set of full range variance yields and ultralow frequency variance yields Small variance yields, as target variance yields, which is optimal debugging variance yields, meanwhile, the mesh It is speaker to be debugged to mark the corresponding target speaker of variance yields.
In the described methods of Fig. 1, commissioning device can first obtain the full range data and ultralow frequency speaker of full-range cabinet Ultralow frequency data, then by repeatedly adding the different delay values of full range to full range data, one group and full range can be obtained The corresponding full range delay data of different delay values, and calculate the phase difference of each full range delay data and ultralow frequency data Variance, obtains the corresponding full range variance yields of one group of delay value different from full range, meanwhile, commissioning device can also be by super Low-frequency data repeatedly adds the different delay values of ultralow frequency, and it is corresponding ultralow to obtain one group of delay value different from ultralow frequency Frequency delay data, and the variance of each ultralow frequency delay data and the phase difference of full range data is calculated, obtain one group and ultralow frequency The corresponding ultralow frequency variance yields of different delay values;Further, commissioning device can be from full range variance yields and ultralow frequency side The variance yields of minimum is determined in difference, as target variance yields, finally, commissioning device is by the corresponding delay value of target variance yields Target speaker corresponding with target variance yields is set.As it can be seen that implement the described methods of Fig. 1, can be bent according to full range amplitude-frequency Line and low frequency amplitude frequency curve accurately determine delay value in the variance yields of the phase difference of crossover region, and can be according to the delay value Compensation of delay is automatically carried out to sound-box device, debugging efficiency is high.
Embodiment two
Referring to Fig. 2, Fig. 2 is the stream of another delay compensation method based on sound-box device disclosed by the embodiments of the present invention Journey schematic diagram.Wherein, may comprise steps of as shown in Fig. 2, being somebody's turn to do the delay compensation method based on sound-box device:
201st, commissioning device obtains the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker.
As an alternative embodiment, obtain the full range data and ultralow frequency speaker of full-range cabinet in commissioning device Before ultralow frequency data, it can also comprise the following steps:
Commissioning device obtains the full range voice signal of full-range cabinet and the ultralow frequency of ultralow frequency speaker by debugging microphone Voice signal;
Commissioning device is by repeatedly adding the differences of the different delay values of full range, one group of generation and full range to full range data The corresponding full range magnitude peak data of delay value;
Commissioning device generates one group and ultralow frequency by repeatedly adding the different delay values of ultralow frequency to ultralow frequency data The corresponding ultralow frequency magnitude peak data of different delay values;
Commissioning device obtains full range magnitude peak data and magnitude peak data maximum in ultralow frequency magnitude peak data;
The maximum corresponding delay value of magnitude peak data is set and arrived and maximum magnitude peak data pair by commissioning device The speaker answered, and perform step 201.
In the embodiment of the present invention, determining that the carry out automatic time delay of the method for delay value compensates it by calculating phase variance Before, it can also determine that the method for delay value carries out automatic time delay compensation by comparing magnitude peak, can be comprehensively to full-range cabinet Compensation of delay debugging is carried out with ultralow frequency speaker, debugging accuracy is improved, to reach more preferable playback effect, is conducive to carry Rise user experience.
202nd, commissioning device carries out Fourier transformation processing to full range data, obtains full range reference spectral, and super to this Low-frequency data carries out Fourier transformation processing, obtains ultralow frequency reference spectral.
In the embodiment of the present invention, Fourier transform is a kind of method of signal Analysis, and time-domain signal is fourier transformed it After obtain frequency-region signal, commissioning device obtains the full range data of time domain, and frequency domain can be obtained by being fourier transformed after processing Full range reference spectral.The full range data are the full range signal of time domain, which is the ultra-low frequency signal of time domain.
203rd, commissioning device obtains full range reference phase curve according to full range reference spectral, and according to ultralow frequency benchmark frequency Spectrum obtains ultralow frequency reference phase curve.
204th, commissioning device carries out full range reference phase curve octave processing and mobile mean value smoothing processing, obtains complete Frequency benchmark phase frequency data, and octave processing and mobile mean value smoothing processing are carried out to ultralow frequency reference phase curve, obtain Ultralow frequency benchmark phase frequency data.
In the embodiment of the present invention, octave octave, i.e. octave power spectrum, are that discrete spectrum is divided at least one frequency Section, merges after then calculating the power spectrum in each frequency range respectively.Mobile mean value smoothing processing is moving median filter, and intermediate value is filtered Wave technology is a kind of nonlinear smoothing filtering signal treatment technology based on sequencing statistical theory.During mobile mean value smoothing processing, The central point of ultralow frequency reference phase curve can be determined first, it is then determined that the center neighborhood of a point, i.e. window, into one Step ground, each signal value in window is ranked up, and takes the median (intermediate value) of the signal value after sorting in window, is believed as center Number new value, when the window is moved, signal can be smoothed, to remove the noise in image or signal, wherein, window The shape of mouth can be square, cross etc., and the embodiment of the present invention is not construed as limiting.By being carried out again to full range reference phase curve Sound interval processing and mobile mean value smoothing processing, can filter out the noise produced in signal processing, lift acquired full range The accuracy of benchmark phase frequency data, reduces error, improves the stability of system.
205th, commissioning device repeatedly adds the different delay values of full range to full range data, obtains one group with the full range not The same corresponding full range delay data of delay value, and calculate the side of the phase difference of each full range delay data and ultralow frequency data Difference, obtains the corresponding full range variance yields of one group of delay value different from full range.
206th, commissioning device repeatedly adds the different delay values of full range to full range data, obtains the difference of one group and full range The corresponding full range time domain waveform of delay value, above-mentioned full range delay data is the full range time domain waveform.
207th, commissioning device carries out Fourier transformation processing to each full range time domain waveform, obtains and each full range time domain ripple The corresponding full range spectrum waveform of shape.
208th, commissioning device obtains the corresponding full range phase frequency curve of each full range spectrum waveform, and bent to each full range phase frequency Line carries out octave processing and mobile mean value smoothing processing, obtains full range phase frequency data corresponding with each full range phase frequency curve.
209th, commissioning device determines the frequency crossover region of full range phase frequency data and ultralow frequency benchmark phase frequency data.
Referring to Fig. 3, Fig. 3 is a kind of schematic diagram for choosing part-frequency point disclosed by the embodiments of the present invention.Can from Fig. 3 To a plane right-angle coordinate, the transverse axis of the plane right-angle coordinate represents the frequency of sound, and unit is hertz (Hz), this is flat The longitudinal axis of face rectangular coordinate system represents the intensity of sound, and unit is decibel (dB).Wherein, A is the amplitude-frequency response of ultralow frequency speaker Curve, B are the amplitude-frequency response of full-range cabinet, and region E is that the amplitude-frequency for the ultralow frequency speaker that commissioning device automatically determines out is rung The crossover region of the amplitude-frequency response of curve and full-range cabinet, straight line C and straight line D is answered voluntarily to be chosen in crossover region E for user Target overlapping region, point F is the intersection point of line A and line B, that is to say amplitude-frequency response A and full range that point F is ultralow frequency speaker The intersection point of the amplitude-frequency response B of speaker, is the part-frequency point for needing to get in this debugging process.Between straight line C and straight line D Target crossover region can be preset by user, can also according to commissioning staff trigger regional choice instruct determine.
As an alternative embodiment, commissioning device determines full range phase frequency data and ultralow frequency benchmark phase frequency data Frequency crossover region includes:
Commissioning device determines the first crossover region of full range phase frequency data and ultralow frequency benchmark phase frequency data;
The regional choice instruction that commissioning device is triggered according to commissioning staff determines that the first son is overlapping in the first crossover region Area, the frequency crossover region as full range phase frequency data and ultralow frequency benchmark phase frequency data.
210th, commissioning device calculates each full range phase frequency data and ultralow frequency benchmark phase frequency data in the frequency crossover region The phase difference of full range.
211st, commissioning device calculates the variance of the phase difference of all full ranges, the delay value different from full range as one group Corresponding full range variance yields.
212nd, commissioning device repeatedly adds the different delay values of ultralow frequency to ultralow frequency data, obtain one group it is ultralow with this The corresponding ultralow frequency delay data of different delay values of frequency, and calculate the phase of each ultralow frequency delay data and full range data The variance of difference, obtains the corresponding ultralow frequency variance yields of one group of delay value different from ultralow frequency.
As an alternative embodiment, commissioning device repeatedly adds the different delays of ultralow frequency to ultralow frequency data Value, obtains the corresponding ultralow frequency delay data of one group of delay value different from the ultralow frequency, and calculates each ultralow frequency delay Data and the variance of the phase difference of full range data, obtain the corresponding ultralow frequency variance yields of one group of delay value different from ultralow frequency Including:
Commissioning device repeatedly adds the different delay values of ultralow frequency to ultralow frequency data, obtains one group and ultralow frequency not The same corresponding ultralow frequency time domain waveform of delay value, above-mentioned ultralow frequency delay data is the ultralow frequency time domain waveform;
Commissioning device carries out Fourier transformation processing to each ultralow frequency time domain waveform, obtains and each ultralow frequency time domain ripple The corresponding ultralow frequency spectrum waveform of shape;
Commissioning device obtains the corresponding ultralow frequency phase frequency curve of each ultralow frequency spectrum waveform, and to each ultralow frequency phase frequency Curve carries out octave processing and mobile mean value smoothing processing, obtains ultralow frequency phase frequency corresponding with each ultralow frequency phase frequency curve Data;
Commissioning device determines the frequency crossover region of ultralow frequency phase frequency data and full range benchmark phase frequency data.
Commissioning device calculates the ultralow frequency of each ultralow frequency phase frequency data and full range benchmark phase frequency data in frequency crossover region Phase difference;
Commissioning device calculates the variance of the phase difference of all ultralow frequencies, the delay value pair different from full range as one group The ultralow frequency variance yields answered.
As an alternative embodiment, commissioning device determines ultralow frequency phase frequency data and full range benchmark phase frequency data Frequency crossover region includes:
Commissioning device determines the second crossover region of ultralow frequency phase frequency data and full range benchmark phase frequency data;
The regional choice instruction that commissioning device is triggered according to commissioning staff determines that the second son is overlapping in the second crossover region Area, the frequency crossover region as ultralow frequency phase frequency data and full range benchmark phase frequency data.
213rd, commissioning device determines the variance yields of minimum from full range variance yields and ultralow frequency variance yields, as target side Difference.
214th, commissioning device determines delay value corresponding with the target variance yields according to target variance yields.
As an alternative embodiment, when commissioning device determined according to target variance yields it is corresponding with the target variance yields Delay value after, can also comprise the following steps:
Commissioning device is according to the delay value, and definite delay debugging scope, delay debugging scope is with presetting with delay value The absolute value of the difference of width is lower limit, with the sum of delay value and predetermined width for the codomain of the upper limit in the range of;
Commissioning device chooses the second different delay values of one group of full range in the range of delay debugging, and from the delay The second different delay values of one group of ultralow frequency are chosen in the range of debugging;
Commissioning device repeatedly adds the second different delay values of full range to full range data, obtains one group with the full range not The same corresponding full range delay data of delay value, and calculate the side of the phase difference of each full range delay data and ultralow frequency data Difference, obtains the corresponding full range variance yields of one group of delay value different from full range;
Commissioning device repeatedly adds the second different delay values of ultralow frequency to ultralow frequency data, obtain one group it is ultralow with this The corresponding ultralow frequency delay data of different delay values of frequency, and calculate the phase of each ultralow frequency delay data and full range data The variance of difference, obtains the corresponding ultralow frequency variance yields of one group of delay value different from ultralow frequency;
Commissioning device determines the second party difference of minimum from full range variance yields and ultralow frequency variance yields, as target side Difference, and perform step 215.
In the embodiment of the present invention, by above-mentioned steps, after delay value is determined, can also to using the delay value in Delay value in the neighborhood of the heart is further measured, and to determine more accurate delay value, is conducive to lifting debugging matter Amount so that the playback effect of voice box group (full-range cabinet and ultralow frequency speaker) is more preferable, improves user experience.
215th, commissioning device judges whether full range variance yields includes the target variance yields, if including, perform step 216 with And step 218;If do not included, step 217 and step 218 are performed.
216th, commissioning device determines that full-range cabinet is target speaker.
217th, commissioning device determines that ultralow frequency speaker is target speaker.
218th, commissioning device sets the delay value to target speaker.
In the embodiment of the present invention, 214~step 218 of above-mentioned steps is performed, commissioning device can be corresponding with target variance yields Delay value sets and arrives target speaker corresponding with target variance yields.
As it can be seen that implement the described methods of Fig. 2, can not only be according to full range amplitude frequency curve and low frequency amplitude frequency curve overlapping The variance yields of the phase difference in area, accurately determines delay value, additionally it is possible to after target delay value is determined, further determines that out More accurately delay value, and automatically carry out compensation of delay to sound-box device, is conducive to lifting debugging quality so that voice box group The playback effect of (full-range cabinet and ultralow frequency speaker) is more preferable, improves user experience.
Embodiment three
Referring to Fig. 4, Fig. 4 is a kind of structure of compensation of delay system based on sound-box device disclosed by the embodiments of the present invention Schematic diagram.Wherein, as shown in figure 4, the system can include:
First acquisition unit 301, for obtaining the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker.
First variance computing unit 302, the full range data for being got to first acquisition unit 301 repeatedly add full range Different delay values, obtain the corresponding full range delay data of one group of delay value different from full range, and calculate each full range The variance of the phase difference of delay data and ultralow frequency data, obtains the corresponding full range variance of one group of delay value different from full range Value.
Second variance computing unit 303, the ultralow frequency data for being got to first acquisition unit 301 repeatedly add super The different delay values of low frequency, obtain the corresponding ultralow frequency delay data of one group of delay value different from ultralow frequency, and calculate Each ultralow frequency delay data and the variance of the phase difference of full range data, it is corresponding to obtain one group of delay value different from ultralow frequency Ultralow frequency variance yields.
In the embodiment of the present invention, first acquisition unit 301 can first obtain the full range data and ultralow frequency sound of full-range cabinet The ultralow frequency data of case;Then first variance computing unit 302 repeatedly adds the different delay values of full range to full range data, obtains The corresponding full range delay data of the delay value different from full range to one group, and calculate each full range delay data and ultralow frequency According to phase difference variance, obtain the corresponding full range variance yields of one group of delay value different from full range, meanwhile, second variance meter Calculate unit 303 and the different delay values of ultralow frequency are repeatedly added to ultralow frequency data, obtain one group and different from ultralow frequency prolong The corresponding ultralow frequency delay data of duration, and the variance of each ultralow frequency delay data and the phase difference of full range data is calculated, obtain The corresponding ultralow frequency variance yields of the delay value different from ultralow frequency to one group,.Wherein, first variance computing unit 302 and Two variance computing units 303 can trigger startup at the same time, and the embodiment of the present invention is not construed as limiting.
Determination unit 304, for determining the variance yields of minimum from full range variance yields and ultralow frequency variance yields, as mesh Mark variance yields.
Setting unit 305, the corresponding delay value setting of target variance yields for determination unit 304 to be determined is arrived and mesh Mark the corresponding target speaker of variance yields.
In the described systems of Fig. 4, determination unit 304 can be from the full range side that first variance computing unit 302 obtains The variance yields of minimum is determined in the ultralow frequency variance yields that difference is obtained with second variance computing unit 303, as target variance The corresponding delay value of target variance yields that determination unit 304 is determined can be set and arrived by value, further, setting unit 305 Target speaker corresponding with target variance yields.As it can be seen that implement the described systems of Fig. 4, can according to full range amplitude frequency curve with it is low Frequency amplitude frequency curve accurately determines delay value in the variance yields of the phase difference of crossover region, and can be according to the delay value automatically Compensation of delay is carried out to sound-box device, debugging efficiency is high.
Example IV
Referring to Fig. 5, Fig. 5 is the knot of another compensation of delay system based on sound-box device disclosed by the embodiments of the present invention Structure schematic diagram.Wherein, the system shown in Fig. 5 is that system as shown in Figure 4 optimizes.In the system shown in Fig. 5 also It can include:
First processing units 306, for obtaining the full range data and ultralow frequency sound of full-range cabinet in first acquisition unit 301 After the ultralow frequency data of case, the full range data got to first acquisition unit 301 carry out Fourier transformation processing, obtain complete Frequency reference spectral, and Fourier transformation processing is carried out to ultralow frequency data, obtain ultralow frequency reference spectral.
Second acquisition unit 307, the full range reference spectral for being obtained according to first processing units 306 obtain full range benchmark Phase curve, and the ultralow frequency reference spectral obtained according to first processing units 306 obtain ultralow frequency reference phase curve.
Second processing unit 308, the full range reference phase curve for being obtained to second acquisition unit 307 carry out octave Processing and the processing of mobile mean value smoothing, obtain full range benchmark phase frequency data, and to ultralow frequency that second acquisition unit 307 obtains Reference phase curve carries out octave processing and mobile mean value smoothing processing, obtains ultralow frequency benchmark phase frequency data.
Optionally, as shown in figure 5, first variance computing unit 302 includes:
First subelement 3021, the full range data for being got to first acquisition unit 301 repeatedly add full range not Same delay value, obtains the corresponding full range time domain waveform of one group of delay value different from full range, above-mentioned full range delay data is The full range time domain waveform;It is additionally operable to carry out Fourier transformation processing to each full range time domain waveform, obtains and each full range time domain The corresponding full range spectrum waveform of waveform;It is additionally operable to obtain the corresponding full range phase frequency curve of each full range spectrum waveform, and to each Full range phase frequency curve carries out octave processing and mobile mean value smoothing processing, obtains full range corresponding with each full range phase frequency curve Phase frequency data.
Second subelement 3022, for determining full range phase frequency data and second processing unit that the first subelement 3021 obtains The frequency crossover region of 308 obtained ultralow frequency benchmark phase frequency data.
3rd subelement 3023, it is single for calculating each first son in the frequency crossover region determined of the second subelement 3022 The phase of the full range for the ultralow frequency benchmark phase frequency data that the full range phase frequency data that member 3021 is determined are obtained with second processing unit 308 Potential difference;It is additionally operable to calculate the variance of the phase difference of all full ranges, the delay value different from full range as one group is corresponding complete Frequency variance yields.
Optionally, as shown in figure 5, second variance computing unit 303 includes:
4th subelement 3031, the ultralow frequency data for being got to first acquisition unit 301 repeatedly add ultralow frequency Different delay values, obtain the corresponding ultralow frequency time domain waveform of one group of delay value different from ultralow frequency, ultralow frequency delay Data are ultralow frequency time domain waveforms;Be additionally operable to each ultralow frequency time domain waveform carry out Fourier transformation processing, obtain with each The corresponding ultralow frequency spectrum waveform of ultralow frequency time domain waveform;It is additionally operable to obtain the corresponding ultralow frequency phase of each ultralow frequency spectrum waveform Frequency curve, and octave processing and the processing of mobile mean value smoothing are carried out to each ultralow frequency phase frequency curve, obtain with it is each ultralow The corresponding ultralow frequency phase frequency data of frequency phase frequency curve.
In the embodiment of the present invention, the 4th subelement 3031 can to each ultralow frequency phase frequency curve carry out octave processing and Mobile mean value smoothing processing, is handled by the octave processing to ultralow frequency phase frequency curve and mobile mean value smoothing, is conducive to disappear Except the noise jamming of ultralow frequency phase frequency curve, the burr on ultralow frequency phase frequency curve is filtered out, the antijamming capability of lifting system, together When improve signal processing quality.
5th subelement 3032, for determining ultralow frequency phase frequency data and second processing list that the 4th subelement 3031 obtains The frequency crossover region for the full range benchmark phase frequency data that member 308 obtains.
6th subelement 3033, it is single for calculating each 4th son in the frequency crossover region determined of the 5th subelement 3032 The ultralow frequency for the full range benchmark phase frequency data that the ultralow frequency phase frequency data that member 3031 is determined are obtained with second processing unit 308 Phase difference;It is additionally operable to calculate the variance of the phase difference of all ultralow frequencies, the delay value different from full range as one group is corresponding Ultralow frequency variance yields.
Optionally, as shown in figure 5, the second subelement 3022 includes:
First module 30221, for determining full range phase frequency data and second processing unit that the first subelement 3021 obtains First crossover region of 308 obtained ultralow frequency benchmark phase frequency data.
Second module 30222, the regional choice for being triggered according to commissioning staff is instructed to be determined in the first module 30221 The first crossover region in determine the first sub- crossover region, the frequency as full range phase frequency data and ultralow frequency benchmark phase frequency data is handed over Folded area.
In the embodiment of the present invention, user can be automatically selected out by toggle area selection instruction in commissioning device first The frequency crossover region needed is determined in overlapping region, facilitates commissioning staff to debug, improves the flexibility of system.
Optionally, as shown in figure 5, the 5th subelement 3032 includes:
3rd module 30321, for determining ultralow frequency phase frequency data and second processing list that the 4th subelement 3031 obtains Second crossover region of the full range benchmark phase frequency data that member 308 obtains.
4th module 30322, the regional choice for being triggered according to commissioning staff is instructed to be determined in the 3rd module 30321 The second crossover region in determine the second sub- crossover region, the frequency as ultralow frequency phase frequency data and full range benchmark phase frequency data is handed over Folded area.
Optionally, as shown in figure 5, setting unit 305 includes:
7th subelement 3051, the target variance yields for being determined according to determination unit 304 determine and target variance yields Corresponding delay value.
8th subelement 3052, for judging whether the full range variance yields that first variance computing unit 302 obtains includes mesh Mark variance yields.
9th subelement 3053, for when the 8th subelement 3052 judges that full range variance yields includes target variance yields, It is target speaker to determine full-range cabinet;It is additionally operable to when the 8th subelement 3052 judges that full range variance yields does not include target variance yields When, it is target speaker to determine ultralow frequency speaker.
Tenth subelement 3054, the delay value for the 7th subelement 3051 to be determined are set to the 9th subelement 3053 The target speaker determined.
As it can be seen that implement the described systems of Fig. 5, can not only be according to full range amplitude frequency curve and low frequency amplitude frequency curve overlapping The variance yields of the phase difference in area, accurately determines delay value, is conducive to lifting debugging quality, meanwhile, calculating the mistake of variance yields Cheng Zhong, has carried out filtering out noise processed, has improved the antijamming capability of system, improves the accuracy of phase variance calculating, into And improve the accuracy of definite delay value so that playback effect is more for the voice box group (full-range cabinet and ultralow frequency speaker) after debugging It is good, improve user experience.
Referring to Fig. 6, Fig. 6 is a kind of structure diagram of commissioning device disclosed by the embodiments of the present invention.As shown in fig. 6, The commissioning device can include:
It is stored with the memory 401 of executable program code;
The processor 402 coupled with memory 401;
Wherein, processor 402 calls the executable program code stored in memory 401, performs above each method and implements The part or all of step of method in example.
A kind of computer-readable recording medium is also disclosed in the embodiment of the present invention, wherein, computer-readable recording medium storage Program code, wherein, program code includes being used for the part or all of step for performing the method in above each method embodiment Instruction.
A kind of computer program product is also disclosed in the embodiment of the present invention, wherein, when computer program product on computers During operation so that computer is performed such as the part or all of step of the method in above each method embodiment.
The embodiment of the present invention is also disclosed one kind and applies distribution platform, wherein, it is used to issue computer journey using distribution platform Sequence product, wherein, when computer program product is run on computers so that computer performs such as above each method embodiment In method part or all of step.
It is to be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " identical embodiment is not necessarily referred to.In addition, these special characteristics, structure Or characteristic can combine in one or more embodiments in any suitable manner.Those skilled in the art should also know, Embodiment described in this description belongs to alternative embodiment, and not necessarily the present invention must for involved action and module Must.
In various embodiments of the present invention, it should be appreciated that the size of the sequence number of above-mentioned each process is not meant to perform suitable The inevitable priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without tackling the embodiment of the present invention Implementation process forms any restriction.
In addition, the terms " system " and " network " are often used interchangeably herein.It is to be understood that the terms "and/or", is only a kind of incidence relation for describing affiliated partner, and expression may have three kinds of relations, such as A and/or B, can To represent:Individualism A, while there are A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent Forward-backward correlation object is a kind of relation of "or".
In embodiment provided by the present invention, it should be appreciated that " B " corresponding with A represents that B is associated with A, can be with according to A Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, can also be according to A and/or other information Determine B.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct relevant hardware to complete by program, which can be stored in a computer-readable recording medium, storage Medium include read-only storage (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only storage (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only storage (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, magnetic disk storage, magnetic tape storage or can For carrying or storing any other computer-readable medium of data.
The above-mentioned unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can positioned at a place, or can also be distributed to multiple nets On network unit.Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit or Unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated unit Both it can be realized, can also be realized in the form of SFU software functional unit in the form of hardware.
If above-mentioned integrated unit realized in the form of SFU software functional unit and as independent production marketing or in use, It can be stored in a retrievable memory of computer.Based on such understanding, technical scheme substantially or Person says all or part of of the part to contribute to the prior art or the technical solution, can be in the form of software product Embody, which is stored in a memory, including some requests are with so that a computer is set Standby (can be personal computer, server or network equipment etc., can be specifically the processor in computer equipment) performs The part or all of step of each embodiment above method of the present invention.
A kind of delay compensation method and system based on sound-box device disclosed by the embodiments of the present invention have been carried out in detail above Thin to introduce, specific case used herein is set forth the principle of the present invention and embodiment, and above example is said It is bright to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, foundation The thought of the present invention, there will be changes in specific embodiments and applications, in conclusion this specification content is not It is interpreted as limitation of the present invention.

Claims (10)

  1. A kind of 1. delay compensation method based on sound-box device, it is characterised in that the described method includes:
    Commissioning device obtains the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker;
    The commissioning device repeatedly adds the different delay values of full range to the full range data, obtains one group and the full range The corresponding full range delay data of different delay values, and calculate the phase of each the full range delay data and the ultralow frequency data The variance of potential difference, obtains the corresponding full range variance yields of one group of delay value different from the full range;
    The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and surpasses with described The corresponding ultralow frequency delay data of different delay values of low frequency, and calculate each ultralow frequency delay data and the full range The variance of the phase difference of data, obtains the corresponding ultralow frequency variance yields of one group of delay value different from the ultralow frequency;
    The commissioning device determines the variance yields of minimum from the full range variance yields and the ultralow frequency variance yields, as mesh Mark variance yields;
    The corresponding delay value of the target variance yields is set and arrives target corresponding with the target variance yields by the commissioning device Speaker.
  2. 2. according to the method described in claim 1, it is characterized in that, obtain the full range data of full-range cabinet in the commissioning device After the ultralow frequency data of ultralow frequency speaker, further include:
    The commissioning device carries out Fourier transformation processing to the full range data, obtains full range reference spectral, and to described Ultralow frequency data carries out Fourier transformation processing, obtains ultralow frequency reference spectral;
    The commissioning device obtains full range reference phase curve according to the full range reference spectral, and according to the ultralow frequency base Quasi- frequency spectrum obtains ultralow frequency reference phase curve;
    The commissioning device carries out the full range reference phase curve octave processing and mobile mean value smoothing processing, obtains complete Frequency benchmark phase frequency data, and octave processing and mobile mean value smoothing processing are carried out to the ultralow frequency reference phase curve, Obtain ultralow frequency benchmark phase frequency data;
    The commissioning device repeatedly adds the different delay values of full range to the full range data, obtains one group and the full range The corresponding full range delay data of different delay values, and calculate the phase of each the full range delay data and the ultralow frequency data The variance of potential difference, obtains the corresponding full range variance yields of one group of delay value different from the full range, including:
    The commissioning device repeatedly adds the different delay values of full range to the full range data, obtains one group and the full range The corresponding full range time domain waveform of different delay values, the full range delay data are the full range time domain waveforms;
    The commissioning device carries out Fourier transformation processing to each full range time domain waveform, when obtaining with each full range The corresponding full range spectrum waveform of domain waveform;
    The commissioning device obtains the corresponding full range phase frequency curve of each full range spectrum waveform, and to each full range phase Frequency curve carries out octave processing and mobile mean value smoothing processing, obtains full range phase corresponding with each full range phase frequency curve Frequency evidence;
    The commissioning device determines the frequency crossover region of the full range phase frequency data and the ultralow frequency benchmark phase frequency data, and counts Calculate each full range phase frequency data and the phase difference of the full range of the ultralow frequency benchmark phase frequency data in the frequency crossover region;
    The commissioning device calculates the variance of the phase difference of all full ranges, and different from the full range as one group prolongs The corresponding full range variance yields of duration;
    The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and surpasses with described The corresponding ultralow frequency delay data of different delay values of low frequency, and calculate each ultralow frequency delay data and the full range The variance of the phase difference of data, obtains the corresponding ultralow frequency variance yields of one group of delay value different from the ultralow frequency, including:
    The commissioning device repeatedly adds the different delay values of ultralow frequency to the ultralow frequency data, obtains one group and surpasses with described The corresponding ultralow frequency time domain waveform of different delay values of low frequency, the ultralow frequency delay data are the ultralow frequency time domain ripples Shape;
    The commissioning device carries out Fourier transformation processing to each ultralow frequency time domain waveform, obtain with it is each described ultralow The corresponding ultralow frequency spectrum waveform of frequency time domain waveform;
    The commissioning device obtains the corresponding ultralow frequency phase frequency curve of each ultralow frequency spectrum waveform, and to each described super Low frequency phase frequency curve carries out octave processing and mobile mean value smoothing processing, obtains corresponding with each ultralow frequency phase frequency curve Ultralow frequency phase frequency data;
    The commissioning device determines the frequency crossover region of the ultralow frequency phase frequency data and the full range benchmark phase frequency data, and counts Calculate the phase of each ultralow frequency phase frequency data and the ultralow frequency of the full range benchmark phase frequency data in the frequency crossover region Difference;
    The commissioning device calculates the variance of the phase difference of all ultralow frequencies, different from the full range as one group The corresponding ultralow frequency variance yields of delay value.
  3. 3. according to the method described in claim 2, it is characterized in that, the commissioning device determines the full range phase frequency data and institute Stating the frequency crossover region of ultralow frequency benchmark phase frequency data includes:
    The commissioning device determines the first crossover region of the full range phase frequency data and the ultralow frequency benchmark phase frequency data;
    The first son is determined in the regional choice instruction that the commissioning device is triggered according to commissioning staff in first crossover region Crossover region, the frequency crossover region as the full range phase frequency data and the ultralow frequency benchmark phase frequency data.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the commissioning device determines the ultralow frequency phase frequency Include according to the frequency crossover region with the full range benchmark phase frequency data:
    The commissioning device determines the second crossover region of the ultralow frequency phase frequency data and the full range benchmark phase frequency data;
    The second son is determined in the regional choice instruction that the commissioning device is triggered according to commissioning staff in second crossover region Crossover region, the frequency crossover region as the ultralow frequency phase frequency data and the full range benchmark phase frequency data.
  5. 5. according to Claims 1 to 4 any one of them method, it is characterised in that the commissioning device is by the target variance Be worth corresponding delay value setting includes to target sound case corresponding with the target variance yields:
    The commissioning device determines delay value corresponding with the target variance yields according to the target variance yields;
    The commissioning device judges whether the full range variance yields includes the target variance yields, if including determining described complete Frequency speaker is the target speaker, if do not included, the commissioning device determines that the ultralow frequency speaker is the target speaker;
    The commissioning device sets the delay value to the target speaker.
  6. A kind of 6. compensation of delay system based on sound-box device, it is characterised in that including:
    First acquisition unit, for obtaining the full range data of full-range cabinet and the ultralow frequency data of ultralow frequency speaker;
    First variance computing unit, for repeatedly adding full range to the full range data that the first acquisition unit is got Different delay values, obtains the corresponding full range delay data of one group of delay value different from the full range, and calculates each institute The variance of full range delay data and the phase difference of the ultralow frequency data is stated, obtains one group of delay value different from the full range Corresponding full range variance yields;
    Second variance computing unit, it is ultralow for repeatedly being added to the ultralow frequency data that the first acquisition unit is got The different delay values of frequency, obtain the corresponding ultralow frequency delay data of one group of delay value different from the ultralow frequency, and count The variance of each ultralow frequency delay data and the phase difference of the full range data is calculated, obtains one group with the ultralow frequency not The same corresponding ultralow frequency variance yields of delay value;
    Determination unit, for determining the variance yields of minimum from the full range variance yields and the ultralow frequency variance yields, as Target variance yields;
    Setting unit, the corresponding delay value of the target variance yields for the determination unit to be determined set arrive with it is described The corresponding target speaker of target variance yields.
  7. 7. system according to claim 6, it is characterised in that further include:
    First processing units, for obtaining the full range data of full-range cabinet and surpassing for ultralow frequency speaker in the first acquisition unit After low-frequency data, the full range data got to the first acquisition unit carry out Fourier transformation processing, obtain complete Frequency reference spectral, and Fourier transformation processing is carried out to the ultralow frequency data, obtain ultralow frequency reference spectral;
    Second acquisition unit, the full range reference spectral for being obtained according to the first processing units obtain full range benchmark phase Position curve, and the ultralow frequency reference spectral obtained according to the first processing units obtain ultralow frequency reference phase song Line;
    Second processing unit, the full range reference phase curve for being obtained to the second acquisition unit are carried out at octave Reason and mobile mean value smoothing processing, obtain full range benchmark phase frequency data, and the second acquisition unit are obtained described super Lower frequency reference phase curve carries out octave processing and mobile mean value smoothing processing, obtains ultralow frequency benchmark phase frequency data;
    The first variance computing unit includes:
    First subelement, for repeatedly adding the different of full range to the full range data that the first acquisition unit is got Delay value, obtains the corresponding full range time domain waveform of one group of delay value different from the full range, and the full range delay data is The full range time domain waveform;It is additionally operable to carry out Fourier transformation processing to each full range time domain waveform, obtains and each institute State the corresponding full range spectrum waveform of full range time domain waveform;It is additionally operable to obtain the corresponding full range phase frequency of each full range spectrum waveform Curve, and octave processing and mobile mean value smoothing processing are carried out to each full range phase frequency curve, obtain and each described The corresponding full range phase frequency data of full range phase frequency curve;
    Second subelement, for determining the full range phase frequency data and the second processing unit that first subelement obtains The frequency crossover region of the obtained ultralow frequency benchmark phase frequency data;
    3rd subelement, each first son is single in the frequency crossover region determined for calculating second subelement The ultralow frequency benchmark phase frequency data that the full range phase frequency data that member is determined are obtained with the second processing unit it is complete The phase difference of frequency;It is additionally operable to calculate the variance of the phase difference of all full ranges, it is different from the full range as one group The corresponding full range variance yields of delay value;
    The second variance computing unit includes:
    4th subelement, for repeatedly adding ultralow frequency not to the ultralow frequency data that the first acquisition unit is got Same delay value, obtains the corresponding ultralow frequency time domain waveform of one group of delay value different from the ultralow frequency, the ultralow frequency Delay data is the ultralow frequency time domain waveform;It is additionally operable to carry out at Fourier transformation each ultralow frequency time domain waveform Reason, obtains ultralow frequency spectrum waveform corresponding with each ultralow frequency time domain waveform;It is additionally operable to obtain each ultralow frequency The corresponding ultralow frequency phase frequency curve of spectrum waveform, and octave processing and movement are carried out to each ultralow frequency phase frequency curve It is worth smoothing processing, obtains ultralow frequency phase frequency data corresponding with each ultralow frequency phase frequency curve;
    5th subelement, for determining the ultralow frequency phase frequency data and the second processing list that the 4th subelement obtains The frequency crossover region for the full range benchmark phase frequency data that member obtains;
    6th subelement, each 4th son is single in the frequency crossover region determined for calculating the 5th subelement The full range benchmark phase frequency data that the ultralow frequency phase frequency data that member is determined are obtained with the second processing unit surpass The phase difference of low frequency;Be additionally operable to calculate the variance of the phase difference of all ultralow frequencies, as one group with the full range not The same corresponding ultralow frequency variance yields of delay value.
  8. 8. system according to claim 7, it is characterised in that second subelement includes:
    First module, for determining that the full range phase frequency data that first subelement obtains are obtained with the second processing unit First crossover region of the ultralow frequency benchmark phase frequency data arrived;
    Second module, the regional choice for being triggered according to commissioning staff instruct determined in first module described first The first sub- crossover region is determined in crossover region, as the full range phase frequency data and the frequency of the ultralow frequency benchmark phase frequency data Crossover region.
  9. 9. the system according to claim 7 or 8, it is characterised in that the 5th subelement includes:
    3rd module, for determining the ultralow frequency phase frequency data and the second processing unit that the 4th subelement obtains Second crossover region of the obtained full range benchmark phase frequency data;
    4th module, the regional choice for being triggered according to commissioning staff instruct determined in the 3rd module described second The second sub- crossover region is determined in crossover region, as the ultralow frequency phase frequency data and the frequency of the full range benchmark phase frequency data Crossover region.
  10. 10. according to claim 6~9 any one of them system, it is characterised in that the setting unit includes:
    7th subelement, the target variance yields for being determined according to the determination unit determine and the target variance yields Corresponding delay value;
    8th subelement, for judging whether the full range variance yields that the first variance computing unit obtains includes the mesh Mark variance yields;
    9th subelement, for when the 8th subelement judges that the full range variance yields includes the target variance yields, It is the target speaker to determine the full-range cabinet;It is additionally operable to when the 8th subelement judges that the full range variance yields does not wrap When including the target variance yields, it is the target speaker to determine the ultralow frequency speaker;
    Tenth subelement, the delay value for the 7th subelement to be determined, which is set to the 9th subelement, to be determined The target speaker gone out.
CN201711479196.7A 2017-12-29 2017-12-29 Time delay compensation method and system based on sound box equipment Active CN107948864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711479196.7A CN107948864B (en) 2017-12-29 2017-12-29 Time delay compensation method and system based on sound box equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711479196.7A CN107948864B (en) 2017-12-29 2017-12-29 Time delay compensation method and system based on sound box equipment

Publications (2)

Publication Number Publication Date
CN107948864A true CN107948864A (en) 2018-04-20
CN107948864B CN107948864B (en) 2020-07-07

Family

ID=61938032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711479196.7A Active CN107948864B (en) 2017-12-29 2017-12-29 Time delay compensation method and system based on sound box equipment

Country Status (1)

Country Link
CN (1) CN107948864B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711015A (en) * 2012-05-29 2012-10-03 苏州上声电子有限公司 Method and device for controlling loudspeaker array sound field based on quadratic residue sequence combination
CN103414980A (en) * 2013-07-30 2013-11-27 浙江中科电声研发中心 Method for compensating delay and frequency response characteristics of multi-output channel sound system
CN107396274A (en) * 2017-07-07 2017-11-24 广州飞达音响股份有限公司 The method, apparatus and system of active linear array sound equipment sound field adjustment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711015A (en) * 2012-05-29 2012-10-03 苏州上声电子有限公司 Method and device for controlling loudspeaker array sound field based on quadratic residue sequence combination
CN103414980A (en) * 2013-07-30 2013-11-27 浙江中科电声研发中心 Method for compensating delay and frequency response characteristics of multi-output channel sound system
CN107396274A (en) * 2017-07-07 2017-11-24 广州飞达音响股份有限公司 The method, apparatus and system of active linear array sound equipment sound field adjustment

Also Published As

Publication number Publication date
CN107948864B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN109362016B (en) Audio playing equipment and testing method and testing device thereof
US9134167B2 (en) Acoustic apparatus
CN109670074A (en) A kind of rhythm point recognition methods, device, electronic equipment and storage medium
CN102866296A (en) Method and system for evaluating non-linear distortion, method and system for adjusting parameters
CN108200526A (en) A kind of sound equipment adjustment method and device based on confidence level curve
CN101411213A (en) Calibration method and device in an audio system
CN110493691A (en) Abnormal sound detection method, device and electronic equipment
CN107833581A (en) A kind of method, apparatus and readable storage medium storing program for executing of the fundamental frequency for extracting sound
US9626949B2 (en) System of modeling characteristics of a musical instrument
JP2007232492A (en) Method and apparatus for measuring transfer characteristic
CN105702249A (en) A method and apparatus for automatic selection of accompaniment
US20170024495A1 (en) Method of modeling characteristics of a musical instrument
US20140270209A1 (en) System and method for producing a narrow band signal with controllable narrowband statistics for a use in testing a loudspeaker
CN109379689A (en) Loudspeaker total harmonic distortion measurement method, device, storage medium and measuring system
Xie et al. Research and development of sound quality in portable testing and evaluation system based on self-adaptive neural network
CN110049421A (en) The test method of screen sounding device audio distortion
CN106024017A (en) Voice detection method and device
CN113595527B (en) Filtering parameter determining method, filtering method and related device
CN109600697A (en) The outer playback matter of terminal determines method and device
CN107948864A (en) A kind of delay compensation method and system based on sound-box device
CN103680549A (en) Audio processing method and electronic equipment
CN103310795A (en) Sound processing apparatus
CN113286233A (en) Loudspeaker simulation method, loudspeaker simulation device, loudspeaker and electronic equipment
CN111782859A (en) Audio visualization method and device and storage medium
CN110390954A (en) Method and device for evaluating quality of voice product

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