CN110213708A - A kind of nonlinear measurement of speaker system and sound quality tune system - Google Patents
A kind of nonlinear measurement of speaker system and sound quality tune system Download PDFInfo
- Publication number
- CN110213708A CN110213708A CN201910409241.4A CN201910409241A CN110213708A CN 110213708 A CN110213708 A CN 110213708A CN 201910409241 A CN201910409241 A CN 201910409241A CN 110213708 A CN110213708 A CN 110213708A
- Authority
- CN
- China
- Prior art keywords
- harmonic
- speaker system
- sound quality
- signal
- sound
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The present invention relates to a kind of nonlinear distortion measurements of speaker system and sound quality to tune system, probe into the intercommunity of the harmonic distortion characteristic and instrumental music sound/voice sound harmonic characteristic of speaker system between physical layer and auditory psychology level, according to the harmonious property theoretical basis of sound, pass through innovative Audio Signal Processing algorithm, non-linear pre-conditioned in real time is carried out to the input audio stream signal of speaker system, make to be tuned between the harmonic characteristic of input audio signal and the nonlinear characteristic of speaker system, realize that speaker system output the harmonious of acoustical signal sexually revises, to promote the melodious sense that speaker system resets sound.The present invention is not under the premise of changing speaker system physical structure and technique, it realizes and the non-linear sound quality of speaker system is tuned, both the cost of loudspeaker production had been controlled, the distortion sense of hearing of speaker system is effectively improved again, while can also give full play to the flexibility and multifunctionality of digital audio and video signals processing platform.
Description
Technical field
The present invention relates to the nonlinear distortion measurements of sound system and sound quality to listen sense compensation innovative technology field, more particularly to
A kind of speaker system nonlinear distortion measurement and sound quality tune system.
Background technique
As shown in Figure 1, the low frequency and high frequency non-linear distortion of speaker system are a very universal phenomenons, this is also
The essential reason for causing its sound quality bad.It is the material in loudspeaker, structure and technique that traditional loudspeaker tonequality, which improves means,
On improved, but this method will receive the restriction of other technical fields and economic cost after reaching a certain level.And with
The extensive use of DSP technology, carried out by way of Audio Signal Processing loudspeaker tonequality compensation be an inexorable trend.
At present about the discussion of Nonlinear Distortion of Loudspeakers problem greatly all in theoretical research level, actual application is solved
Scheme and Related product are very rare, and common Nonlinear Distortion of Loudspeakers digital compensation technique can be summarized as following three kinds:
(1) pre-distortion compensated based on Volterra modeling;
This method needs to acquire the inverse system of the N rank Volterra model of speaker system first, for constructing a N rank
Predistortion filter, it is connected in series in the input circuit of system after carrying out pre-distortion to input signal and is fed again amplification
Device, so that not including 2-N rank non-linear distortion ingredients in the output signal of speaker system, to realize speaker system
Non-linear predistortion compensation.According to Weierstrass criterion, only when the input signal of system is sufficiently small, just can guarantee
Volterra convergence of series, so, Volterra inverse filter is always inserted into before power amplifier.In addition, to take
It obtains to the nonlinear Accurate Model of speaker system, needs to estimate that enough Volterra orders are just able to achieve, and high-order
Volterra filter is difficult to realize in practical applications, so, it usually can all assume that examining system can be by preceding two rank or three ranks
Volterra core carries out approximation, as shown in Figure 1, i.e. situation of the hypothesis system for small nonlinearity, such Volterra series model
Practical ranges just greatly limited.
(2) compensation method of Klippel mirror image filtering;
The filter construction for describing its transmission characteristic is obtained from the nonlinear differential equation of a speaker system to be measured,
A nonlinear characteristic filter system opposite with the speaker system nonlinear characteristic is created, for compensating the loudspeaker
Non-linear distortion.The structure of this filter is very close with some specific speaker system, it has an amendment subsystem,
It can be designed according to the mirror image of the non-linear element of speaker system equivalent circuit, so being referred to as " mirror image filter
Wave device ", as shown in Figure 2.This filter is made of minimal amount of linear and nonlinear subsystem, can also be by digital signal at
Reason is to realize.Simulation precision to loudspeaker performance is limited by measurement accuracy.The advantages of mirror filter is it to big letter
Number, small signal and high-order distortion have certain compensation effect.Compared with front is using the compensation method of Volterra series,
This method realizes that element used is less, and cost is lower.
(3) Adaptive inverse filtering compensation method;
Mentioned-above two kinds of compensation methodes belong to feed forward type compensation, can not all solve actual loudspeaker system and Qi Mo
The Parameters variation of problem of inconsistency and loudspeaker under the effect of the factors such as fever between type, these problems can only be by certainly
Adaptive technique solves.Adaptable System is from the difference expected between output signal and real output signal, according to certain
Algorithm adjusts system structure.Klippel (1998) proposes a kind of nonlinear loudspeaker self-adaptation control method, processing stream
Journey is as shown in figure 3, input signal is divided into two-way by it: passing through controlled system (loudspeaker, microphone and extraneous noise) all the way
And its inversion model reaches comparator;Another way diameter after being delayed send comparator to obtain error.Corrected using error inversion model and
The relevant parameter of controller.When the desired value of error function reaches its LMS least mean square, the system of being considered as is had been carried out most preferably
Control, here it is least mean-square error (Least Mean Square, LMS) methods in adaptive filter algorithm.
In Specialty Hi-Fi field, other than recording and monitoring, what human auditory system was pursued is that sound is melodious pleasing to the ear, consumer
Field of audio is even more so, pursues the extreme sense of reality and often unpractical to the reduction degree of primary sound.It is melodious from sound
From the perspective of, the characteristics of making the pleasing to the ear musicality it is necessary to keep or increase sound of sound, make it have musical sound.And musical sound
The feature form of expression most outstanding is exactly music consonance property, shows as the systematicness of harmonic wave column.Pass through the tune of musical sound harmonic wave rule
System can regulate and control its harmonious property and musicality, to change the sound quality of sound.In audio engineering practice, technical staff has realized
To this problem.For example, making its even-order harmonic distortion be greater than odd harmonic distortion by the structure for changing loudspeaker, thus not
Sound quality can be improved under conditions of reduction total harmonic distortion, this is exactly that the harmonious property of even-order harmonic is higher than the original of odd harmonic in fact
Reason.
The harmonious property of musical sound is research object the most classical in the harmonious property problem of sound, and people are usually it and sense of hearing
Melodious degree associates.It is concluded according to musical instrument sound sense of hearing research related conclusions in muscial acoustics, as shown in table 1.Musical sound
Harmonic structure systematicness be influence its sense of hearing principal element, but between the melodious degree of sense of hearing without embody be directly linked.Cause
People are reflected in itself to the sense of hearing satisfaction of a certain sound, usually in hearer to the unfamiliar feelings of a certain sound source for melodious sense
Under condition, melodious degree is to evaluate its overall sound quality most effective index, and evaluate the sense of hearing of the harmonious property of musical sound and need to establish
On certain cognitive basis.So the harmonious property of musical sound is the basis of the melodious sense of sense of hearing, harmonious property is not for different auditors
The melodious degree of sense of hearing can be equal to.
1 sound physical element of table and sense of hearing contingency table
Summary of the invention
The present invention devises a kind of nonlinear measurement of speaker system and sound quality tunes system, and which solve traditional loudspeakings
The difficult point and problem of the nonlinear distortion compensation technology of device system.
In order to solve above-mentioned technical problem, present invention employs following scheme:
A kind of nonlinear measurement of speaker system and sound quality tune system, including non-linear distortion and sound quality evaluation and test module
With non-linear sound quality tuner module;The non-linear distortion and sound quality evaluation and test module are used for the life to non-linear distortion test signal
At, test signal the spectrum analysis for sending and receiving, testing signal and non-linear distortion evaluation result analysis shows that with number
According to storage;The non-linear sound quality tuner module according to the non-linear distortion evaluation result carry out the configuration of sound quality tuning mode,
Actual audio signal input, non-linear sound quality tuning processing in real time, speaker system output.
Preferably, the speaker system non-linear distortion and sound quality evaluation and test module include that test signal generation unit is harmonious
Wave spectrum computing unit;The test signal generation unit gradually sends harmonic complex tones signal to the speaker system, and
Harmonic spectrum calculating is carried out by the harmonic spectrum computing unit to the harmonic complex tones of microphone pick, is generated corresponding humorous
Wave modulation data table is sent to the non-linear sound quality tuner module.
Preferably, fundamental frequency, harmonic wave number, phase distribution mode and the duration of harmonic complex tones test signal can be with
It is customized;Alternatively, the very close actual music and voice class sound of harmonic complex tones test signal overall spectral characteristic, and
And it is also similar with musical instrument sound from fine harmonic structure.
Preferably, the overall frequency range of the harmonic complex tones signal is 22Hz-20kHz, and fundamental frequency value is according to common
The pitch range of musical instrument sets 7 groups, and every group includes 12 different fundamental frequency values, an octave in frequency values and music
12 semitone pitches within the scope of journey are corresponding, and pitch name in music indicates and as shown in table 1 for fundamental frequency value:
Pitch | C | C# | D | D# | E | F | F# | G | G# | A | A# | B |
Fundamental frequency/Hz | 65 | 69 | 73 | 78 | 82 | 87 | 92 | 98 | 104 | 110 | 117 | 123 |
Pitch | c | c# | d | d# | e | f | f# | g | g# | a | a# | b |
Fundamental frequency/Hz | 131 | 139 | 147 | 156 | 165 | 175 | 185 | 196 | 208 | 220 | 233 | 247 |
Pitch | c1 | c1# | d1 | d1# | e1 | f1 | f1# | g1 | g1# | a1 | a1# | b1 |
Fundamental frequency/Hz | 262 | 227 | 294 | 313 | 331 | 349 | 369 | 391 | 415 | 440 | 471 | 494 |
Pitch | c2 | c2# | d2 | d2# | e2 | f2 | f2# | g2 | g2# | a2 | a2# | b2 |
Fundamental frequency/Hz | 523 | 554 | 587 | 622 | 659 | 698 | 740 | 783 | 831 | 880 | 932 | 988 |
Pitch | c3 | c3# | d3 | d3# | e3 | f3 | f3# | g3 | g3# | a3 | a3# | b3 |
Fundamental frequency/Hz | 1047 | 1109 | 1175 | 1245 | 1319 | 1397 | 1480 | 1568 | 1661 | 1760 | 1865 | 1976 |
Pitch | c4 | c4# | d4 | d4# | e4 | f4 | f4# | g4 | g4# | a4 | a4# | b4 |
Fundamental frequency/Hz | 2093 | 2218 | 2349 | 2489 | 2637 | 2794 | 2960 | 3136 | 3322 | 3520 | 3729 | 3951 |
Pitch | c5 | c5# | d5 | d5# | e5 | f5 | f5# | g5 | g5# | a5 | a5# | b5 |
Fundamental frequency/Hz | 4186 | 4440 | 4499 | 4978 | 5474 | 5588 | 5920 | 6272 | 6645 | 7040 | 7459 | 7902 |
The fundamental frequency value of the harmonic complex tones signal of 1 nonlinear distortion measurement of table
Relative phase relation between each harmonic components has three kinds of zero phase, random phase and cosine phase forms;Harmonic wave
The multi harmonics of complex tone are adjustable within the scope of 6-13;Harmonic complex tones duration is adjustable within the scope of 1s-10s.
Preferably, the non-linear sound quality tuner module includes Short Time Fourier Transform analytical unit, harmonic spectrum amendment
Unit and inverse Fourier transform unit;After input audio signal enters the non-linear sound quality tuner module, by corresponding reality
When processing calculate after export modulated audio signal;Wherein processing calculating process includes input audio signal successively through institute in real time
State Short Time Fourier Transform analytical unit, the sound quality that the harmonic spectrum amending unit is synthesized with the inverse Fourier transform unit
Tuning mode;The harmonic modulation tables of data and the input audio signal of the non-linear distortion and the output of sound quality evaluation and test module exist
The harmonic spectrum amending unit carries out harmonic modulation.
A kind of nonlinear measurement of speaker system and sound quality tuning methods, comprising the following steps:
According to speaker system to be measured to the harmonic spectrum response modes of input harmonics complex tone, loudspeaking to be measured is constructed in advance
The harmonic modulation tables of data of device system, then before the input terminal of speaker system, the harmonic components in audio signal are carried out
Detection, by harmonic modulation tables of data to being input in speaker system again after harmonic wave premodulated, to eliminate or inhibit to raise
Non- harmonious property ingredient in sound device output signal, to promote the harmonious property that speaker system resets sound.
A kind of nonlinear measurement of speaker system and sound quality tuning methods, comprising the following steps:
Step 1, speaker system non-linear distortion and sound quality are evaluated and tested;The non-linear sound quality tune of step 2, speaker system
It is humorous.
Preferably, harmonic complex tones signal, loudspeaker system to be measured are gradually sent to a certain speaker system to be measured in step 1
The test signal reset unite by measuring microphone synchronous acquisition, and harmonic spectrum meter is carried out to the harmonic complex tones of microphone pick
It calculates, generates corresponding harmonic modulation tables of data.
Preferably, step 11, according to the customized parameter setting of user, generate one group of harmonic complex tones number by software systems
Word signal, digital signal samples frequency are 48kHz or 96kHz, and quantization digit is 24bit or 32bit, the test signal of generation
It is automatically saved in local.
Preferably, after step 12, measurement are opened, harmonic complex tones signal can be sent to speaker system to be measured one by one, and
The harmonic complex tones played by the synchronous receiving speaker of a measuring microphone, and the signal received is automatically saved in this
Ground.
Preferably, step 13, the multitone digital signal received enter Fourier spectrum calculating, pass through discrete fourier
It converts (DFT), obtains the complex spectrum for receiving signal, then filter is screened by harmonic wave, calculate harmonic frequency and harmonic amplitude,
It is finally compared with the harmonic spectrum ingredient of input test signal, to generate harmonic modulation tables of data, and is automatically saved in
It is local.
Preferably, in step 2 include it is following step by step:
Step 21, all the way digital audio and video signals stream enter non-linear sound quality tuner module, first pass through Short Time Fourier Transform
(STFT), each frame time-domain audio signal is transformed into frequency domain, to obtain each frame complex spectrum data;
The step 21 is obtained each frame frequency modal data by step 22, carries out time shaft and frequency axis both direction respectively
Median filter process, respectively obtains two groups of filter output datas, and the length of median filter is that 5-15 sampled point is optional;
Step 23, the spectrum amplitude size that step 22 is obtained to two groups of filter output datas are compared, comparative approach
There is absolute value to compare and compare that two ways is optional with relative value, according to the amplitude decision rule of stable state frequency spectrum and transient state frequency spectrum, obtains
To the filter output data of two groups of updates after Rules Filtering, wherein one group of data represents harmonic components frequency spectrum, it is another
Group data represent transient components frequency spectrum;
Step 24 carries out peak point detection to the harmonic components frequency spectrum that step 23 obtains, and it is corresponding to obtain all peak points
The effective frequency range of frequency and spectrum amplitude and peak point;
Step 25, in the peak point that step 24 obtains, according to the harmonic characteristic of note signal rule, judgement belongs to harmonic wave
The peak point of ingredient is defined as harmonic components, and estimates the corresponding frequency of each harmonic wave, amplitude and phase value;
The harmonic modulation number generated in step 26, foundation step 1 speaker system non-linear distortion and sound quality evaluation and test
According to table, corresponding Parameter Modulation is carried out to the harmonic components that above-mentioned steps 25 obtain, to obtain after harmonic modulation
Harmonic components frequency spectrum data;
Step 27, by the harmonic components frequency spectrum data and the obtained transient state of step 23 after modulation that step 26 obtains
Ingredient frequency spectrum is added, and obtains modulated total frequency spectrum data;
Step 28 carries out inverse Fourier transform (ISTFT) in short-term to the modulated total frequency spectrum data that step 27 obtains, from
And modulated time-domain signal is obtained, it is identical with step 21 that the short time-window length and frame of inverse Fourier transform move length;
Step 29, the time-domain signal for obtaining above-mentioned steps 27 carry out the synthesis of time domain overlap-add, to obtain final
Time-domain signal after modulation, then it is input to speaker system.
Preferably, in step 21, the sample frequency of digital signal signal processing is that 48kHz or 96kHz is optional, quantization
Number is that 24bit or 32bit is optional, and short time-window length is that 1024,2048 and 4096 sampled points are optional, and frame moves length and is
128,256 and 512 sampled points are optional.
Preferably, the synthesis window length in step 29 be 256,512 and 1024 sampled points it is optional, synthetic frame move length
It is that 128 and 256 sampled points are optional.
A kind of nonlinear distortion measurement of speaker system and sound quality tuning methods, the method are to eliminate or inhibit loudspeaking
Non- harmonious property ingredient in device system output signal, comprising the following steps:
Step 1, the back-modulation signal for generating non-harmonious resistant frequency ingredient, amplitude need to control in speaker system
Nonlinear excitation threshold value is hereinafter, to guarantee modulated signal by that will not generate new distortion when system;
Step 2, the non-harmonious frequency content for being in certain harmonic relationships, it is special according to the harmonic distortion of speaker system
Property, using individual non-harmonious frequency content as speaker output signal, estimating its input signal pattern, (such as some single-frequency is pure
Sound), and use its reverse phase form as modulated signal;
Step 3, the non-harmonious ingredient for being difficult to eliminate by reverse phase modulated signal are imitated using the auditory masking of human ear
It answers, the masking modulated signal of sense of hearing masking can be generated to non-harmonious ingredient by generating, while guarantee the masking signal and script
Input signal has harmonious correlation.
A kind of nonlinear distortion measurement of speaker system and sound quality tuning methods, the method are based on input audio stream
Short Time Fourier Transform, the method for frequency spectrum amendment and inverse Fourier transform, signal processing flow is: 1) feeding and raise in audio signal
Before sound device system, first passes through an analysis window in short-term and framing truncation is carried out to input audio stream;2) to each short time frame
Interior audio data carries out discrete Fourier transform, and detects its spectrum peak point;3) estimate frequency, the amplitude of each peak point
With phase parameter value, and according to the nonlinear distortion measurement of speaker system to be measured as a result, to these peak point parameter values carry out
Modulation;4) a frame audio signal, loudspeaking of then feeding again are recombined by inverse Fourier transform and time domain waveform overlap-add
Device system.
Nonlinear measurement and sound quality the tuning system and method for the speaker system and existing non-linear sound quality compensate skill
Art is compared, and is had the advantages that
(1) present invention is totally different from the existing Nonlinear Modeling based on examining system and the compensation of liftering design is former
Reason, the internal association of theoretical basis of the invention from sound harmonious property law of perception and speaker system non-linear distortion
Research has innovative theory support.
(2) existing nonlinear distortion measurement is mostly to utilize single tonal signal or multifrequency acoustical signal, and these are surveyed
Trial signal and the spectrum component of the audio signal (most of is voice and musical instrument sound etc.) in loudspeaker practical application are widely different,
Thus obtained test result also can not influence of the reflected well nonlinear loudspeaker to input audio signal.In the present invention
Provide the nonlinear measurement system of one group of harmonic complex tones signal, the spectrum signature of test signal be according to common-practice music or
The harmonic structure of phonetic sound designs, and provides speaker system and output and input harmonic spectrum ratio between test signal
To method, to get the reference data of nonlinear distortion compensation.
(3) existing nonlinear distortion compensation method is realized by time domain filtering, focuses mainly on filter
Structure and performance optimize, and essence or a kind of covert linear process mode cannot really solve the non-thread of speaker system
Property problem of dtmf distortion DTMF.The present invention provides a kind of Time-Varied Spectrum Analysis, amendment and synthesis for loudspeaker input audio stream signal
Non-linear modulation method, can control more flexiblely input audio signal harmonic spectrum and speaker system it is non-linear
Between tuning promote its melodious sense so as to improve the playback sound quality of speaker system.
Detailed description of the invention
Fig. 1 is the non-linear distortion schematic diagram of speaker system in the prior art.
Fig. 2 is the volterra inverse filter structural schematic diagram of second order in the prior art.
Fig. 3 is the mirror filter structural schematic diagram of offset voltage drive-type loudspeaker displacement parameter in the prior art.
Fig. 4 is the nonlinear autoregressive system schematic of speaker system in the prior art.
Fig. 5 is the signal processing flow schematic diagram of speaker system non-linear distortion and sound quality evaluation and test module in the present invention.
Fig. 6 is the signal processing flow schematic diagram of the non-linear sound quality tuner module of speaker system in the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is this hair
Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Term " includes " in description and claims of this specification and above-mentioned attached drawing and " having " and they appoint
What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process, method, system, production of a series of steps or units
Product or equipment are not limited to the step of oneself lists or unit, but optionally further comprising the step of not listing or unit, or
Optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.Below with reference to Fig. 5 and Fig. 6, to this
Invention is described further:
The present invention relates to a kind of nonlinear distortion measurements of speaker system and sound quality to tune system and method, probes into loudspeaking
Harmonic distortion characteristic and instrumental music sound/voice sound harmonic characteristic being total between physical layer and auditory psychology level of device system
The general character, according to the harmonious property theoretical basis of sound, by innovative Audio Signal Processing algorithm, to the input sound of speaker system
Frequency stream signal carries out non-linear pre-conditioned in real time, makes the harmonic characteristic of input audio signal and the non-linear spy of speaker system
Property between be tuned, realize speaker system output the harmonious of acoustical signal sexually revise, to promote speaker system acoustical reproduction
The melodious sense of sound.The present invention realizes under the premise of not changing speaker system physical structure and technique to speaker system
Non-linear sound quality tuning, had not only controlled the cost of loudspeaker production, but also effectively improve the distortion sense of hearing of speaker system, simultaneously
The flexibility and multifunctionality of digital audio and video signals processing platform can also be given full play to.
Embodiment 1:
As shown in figure 5, speaker system non-linear distortion and sound quality evaluation and test module include that non-linear distortion is surveyed in the present invention
The generation of trial signal, the spectrum analysis for sending and receiving, testing signal for testing signal and non-linear distortion evaluation result point
Analysis display is stored with data.
The hardware circuit of speaker system non-linear distortion and sound quality evaluation and test module realizes to include following components:
1.1, input signal: 1 road Mic input signal enters non-linear distortion evaluation and test module;
1.2, major function: the module provides the measurement pattern for harmonic complex tones test signal: to be measured raising to a certain
Sound device system gradually sends harmonic complex tones signal, and carries out harmonic spectrum calculating to the harmonic complex tones of microphone pick, raw
At corresponding harmonic modulation tables of data;
1.3, output signal: 1 tunnel output test signal;
1.4, measurement procedure: the module carries out the signal processing stream of nonlinear measurement to any one speaker system to be measured
Journey is as shown in Figure 5.
The detailed process of above-mentioned measurement procedure includes:
(1) according to the customized parameter setting of user, one group of harmonic complex tones digital signal, number are generated by software systems
Signal sampling frequencies are 48kHz or 96kHz, and quantization digit is 24bit or 32bit, and the test signal of generation is automatically saved in
It is local;
(2) after measurement is opened, harmonic complex tones signal can be sent to speaker system to be measured one by one, and be passed by a measurement
The harmonic complex tones that the synchronous receiving speaker of sound device plays, and the signal received is automatically saved in local;
(3) the multitone digital signal received enters Fourier spectrum calculating, by discrete Fourier transform (DFT),
Obtain receiving the complex spectrum of signal, then filter screened by harmonic wave, calculating harmonic frequency and harmonic amplitude, finally with input
The harmonic spectrum ingredient of test signal is compared, to generate harmonic modulation tables of data, and is automatically saved in local.
Embodiment 2:
As shown in fig. 6, in the present invention the non-linear sound quality tuner module of speaker system hardware circuit realization include with
Under several parts:
2.1, input signal: selecting according to the two of the module kinds of functional modes, and 1 tunnel actual audio signal is sent into Fu in short-term
The tuning submodule of tuning submodule or the dynamic harmonic equilibrium of leaf transformation, the two can only select one.
2.2, major function: after 1 tunnel actual audio signal enters non-linear sound quality tuner module, by corresponding real-time place
Reason calculates, and exports 1 tunnel audio signal.Wherein processing calculating process includes that Fourier becomes in short-term based on input audio stream signal in real time
Change analysis, harmonic spectrum corrects the sound quality tuning mode synthesized with inverse Fourier transform.
2.3, output signal: 1 tunnel exports corresponding 1 tunnel and inputs the audio signal after sound quality tuning process.
2.4, process flow: as shown in Figure 6 per Audio Signal Processing process all the way.
The detailed process of above-mentioned process flow includes:
Step 21, all the way digital audio and video signals stream enter non-linear sound quality tuner module, first pass through Short Time Fourier Transform
(STFT), each frame time-domain audio signal is transformed into frequency domain, to obtain each frame complex spectrum data;Digital signal signal
The sample frequency of processing is that perhaps the optional quantization digit of 96kHz is that 24bit or 32bit are optional to 48kHz, and short time-window length is
1024,2048 and 4096 sampled points are optional, and it is that 128,256 and 512 sampled points are optional that frame, which moves length,.
The step 21 is obtained each frame frequency modal data by step 22, carries out time shaft and frequency axis both direction respectively
Median filter process, respectively obtains two groups of filter output datas, and the length of median filter is that 5-15 sampled point is optional.
Step 23, the spectrum amplitude size that step 22 is obtained to two groups of filter output datas are compared, comparative approach
There is absolute value to compare and compare that two ways is optional with relative value, according to the amplitude decision rule of stable state frequency spectrum and transient state frequency spectrum, obtains
To the filter output data of two groups of updates after Rules Filtering, wherein one group of data represents harmonic components frequency spectrum, it is another
Group data represent transient components frequency spectrum.
Step 24 carries out peak point detection to the harmonic components frequency spectrum that step 23 obtains, and it is corresponding to obtain all peak points
The effective frequency range of frequency and spectrum amplitude and peak point.
Step 25, in the peak point that step 24 obtains, according to the harmonic characteristic of note signal rule, judgement belongs to harmonic wave
The peak point of ingredient is defined as harmonic components, and estimates the corresponding frequency of each harmonic wave, amplitude and phase value.
The harmonic modulation tables of data generated in step 26, foundation speaker system non-linear distortion and sound quality evaluation and test,
The harmonic components obtained to above-mentioned steps 25 carry out corresponding Parameter Modulation, thus obtain harmonic wave after harmonic modulation at
Divide modal data.
Step 27, by the harmonic components frequency spectrum data and the obtained transient state of step 23 after modulation that step 26 obtains
Ingredient frequency spectrum is added, and obtains modulated total frequency spectrum data.
Step 28 carries out inverse Fourier transform (ISTFT) in short-term to the modulated total frequency spectrum data that step 27 obtains, from
And modulated time-domain signal is obtained, it is identical with step 21 that the short time-window length and frame of inverse Fourier transform move length.
Step 29, the time-domain signal for obtaining above-mentioned steps 27 carry out the synthesis of time domain overlap-add, to obtain final
Time-domain signal after modulation, then it is input to speaker system.Synthesis window length is 256,512 and 1024 sampled points are optional, is closed
It is that 128 and 256 sampled points are optional that framing, which moves length,.
This method passes through the just/inverse transformation of Short Time Fourier Transform (STFT), carries out more in short time-window to audio signal
Add the detection of fine harmonic frequency, amplitude and phase information, and can be according to practical application request, to these harmonic informations
Parameter carries out arbitrary modification and synthesizes again, therefore has very big flexibility.But this method is based on audio signal stream
Framing operation and processing, each frame audio signal are intended to repair by discrete Fourier transform (DFT), harmonic detecting, frequency spectrum parameter
Change the processes such as synthesize with inverse Fourier transform.
Be provided for the embodiments of the invention above a kind of speaker system nonlinear measurement and sound quality tuning system and
Method is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, with
The explanation of upper embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general of this field
Technical staff, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion
The contents of this specification are not to be construed as limiting the invention.
Claims (6)
1. a kind of nonlinear measurement of speaker system and sound quality tune system, it is characterised in that: including non-linear distortion and sound
Matter evaluation and test module and non-linear sound quality tuner module;
The transmission that the non-linear distortion and sound quality evaluation and test module are used for the generation to non-linear distortion test signal, test signal
With reception, the spectrum analysis of test signal and non-linear distortion evaluation result analysis shows that being stored with data;
The non-linear sound quality tuner module carries out the configuration of sound quality tuning mode, reality according to the non-linear distortion evaluation result
Audio signal input, non-linear sound quality tuning processing in real time, speaker system output.
2. the nonlinear measurement of speaker system according to claim 1 and sound quality tune system, it is characterised in that: described
Speaker system non-linear distortion and sound quality evaluation and test module include test signal generation unit and harmonic spectrum computing unit;It is described
Test signal generation unit gradually sends harmonic complex tones signal to the speaker system, and multiple to the harmonic wave of microphone pick
Synaeresis carries out harmonic spectrum calculating by the harmonic spectrum computing unit, generates corresponding harmonic modulation tables of data and is sent to institute
State non-linear sound quality tuner module.
3. the nonlinear measurement of speaker system according to claim 2 and sound quality tune system, it is characterised in that: described
Fundamental frequency, harmonic wave number, phase distribution mode and the duration that harmonic complex tones test signal can be customized;Alternatively, described humorous
Wave complex tone tests signal overall spectral characteristic very close to actual music and voice class sound, and from fine harmonic structure
On it is also similar with musical instrument sound.
4. the nonlinear measurement of speaker system according to claim 2 and sound quality tune system, it is characterised in that: described
The overall frequency range of harmonic complex tones signal is 22Hz-20kHz, and fundamental frequency value is set according to the pitch range of common musical instrument
7 groups, every group includes 12 different fundamental frequency values, 12 semitone sounds within the scope of an octave in frequency values and music
High corresponding, the pitch name in music indicates and as shown in table 1 for fundamental frequency value:
The fundamental frequency value of the harmonic complex tones signal of 1 nonlinear distortion measurement of table;
Relative phase relation between each harmonic components has three kinds of zero phase, random phase and cosine phase forms;Harmonic wave is compound
The multi harmonics of sound are adjustable within the scope of 6-13;Harmonic complex tones duration is adjustable within the scope of 1s-10s.
5. the nonlinear measurement of speaker system described in -4 and sound quality tune system according to claim 1, it is characterised in that: institute
Stating non-linear sound quality tuner module includes Short Time Fourier Transform analytical unit, harmonic spectrum amending unit and inverse Fourier transform
Unit;
After input audio signal enters the non-linear sound quality tuner module, modulation is exported after corresponding real-time processing calculates
Audio signal afterwards;Wherein processing calculating process includes that input audio signal is successively analyzed through the Short Time Fourier Transform in real time
The sound quality tuning mode that unit, the harmonic spectrum amending unit are synthesized with the inverse Fourier transform unit;It is described non-linear
Distortion is corrected with the harmonic modulation tables of data of sound quality evaluation and test module output and the input audio signal in the harmonic spectrum single
Member carries out harmonic modulation.
6. a kind of nonlinear measurement of speaker system and sound quality tuning methods, comprising the following steps:
According to speaker system to be measured to the harmonic spectrum response modes of input harmonics complex tone, loudspeaker system to be measured is constructed in advance
The harmonic modulation tables of data of system, then before the input terminal of speaker system, the harmonic components in audio signal are detected,
By harmonic modulation tables of data to being input in speaker system again after harmonic wave premodulated, to eliminate or inhibit loudspeaker defeated
Non- harmonious property ingredient in signal out, to promote the harmonious property that speaker system resets sound.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910409241.4A CN110213708B (en) | 2019-05-16 | 2019-05-16 | Nonlinear measurement and tone quality tuning system of loudspeaker system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910409241.4A CN110213708B (en) | 2019-05-16 | 2019-05-16 | Nonlinear measurement and tone quality tuning system of loudspeaker system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110213708A true CN110213708A (en) | 2019-09-06 |
CN110213708B CN110213708B (en) | 2021-01-08 |
Family
ID=67787486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910409241.4A Active CN110213708B (en) | 2019-05-16 | 2019-05-16 | Nonlinear measurement and tone quality tuning system of loudspeaker system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213708B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021052110A1 (en) * | 2019-09-18 | 2021-03-25 | 华为技术有限公司 | Method and device for improving sound quality of speaker |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1592491A (en) * | 2003-09-03 | 2005-03-09 | 三星电子株式会社 | Method and apparatus for compensating for nonlinear distortion of speaker system |
CN102866296A (en) * | 2011-07-08 | 2013-01-09 | 杜比实验室特许公司 | Method and system for evaluating non-linear distortion, method and system for adjusting parameters |
CN104980877A (en) * | 2014-04-11 | 2015-10-14 | 沃尔夫冈·克利佩尔 | Apparatus and method for converting non-linear vibration of an electro-mechanical transducer |
US20170328939A1 (en) * | 2005-09-27 | 2017-11-16 | Ronald Quan | Method and apparatus to evaluate audio equipment via at least one filter for dynamic distortions and or differential phase and or frequency modulation effects |
CN109379678A (en) * | 2018-10-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Non-linear compensation method, device, storage medium and terminal device |
CN109425786A (en) * | 2017-08-30 | 2019-03-05 | 是德科技股份有限公司 | Non-linear distortion detection |
-
2019
- 2019-05-16 CN CN201910409241.4A patent/CN110213708B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1592491A (en) * | 2003-09-03 | 2005-03-09 | 三星电子株式会社 | Method and apparatus for compensating for nonlinear distortion of speaker system |
US20170328939A1 (en) * | 2005-09-27 | 2017-11-16 | Ronald Quan | Method and apparatus to evaluate audio equipment via at least one filter for dynamic distortions and or differential phase and or frequency modulation effects |
CN102866296A (en) * | 2011-07-08 | 2013-01-09 | 杜比实验室特许公司 | Method and system for evaluating non-linear distortion, method and system for adjusting parameters |
CN104980877A (en) * | 2014-04-11 | 2015-10-14 | 沃尔夫冈·克利佩尔 | Apparatus and method for converting non-linear vibration of an electro-mechanical transducer |
CN109425786A (en) * | 2017-08-30 | 2019-03-05 | 是德科技股份有限公司 | Non-linear distortion detection |
CN109379678A (en) * | 2018-10-30 | 2019-02-22 | Oppo广东移动通信有限公司 | Non-linear compensation method, device, storage medium and terminal device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021052110A1 (en) * | 2019-09-18 | 2021-03-25 | 华为技术有限公司 | Method and device for improving sound quality of speaker |
US11956607B2 (en) | 2019-09-18 | 2024-04-09 | Huawei Technologies Co., Ltd. | Method and apparatus for improving sound quality of speaker |
Also Published As
Publication number | Publication date |
---|---|
CN110213708B (en) | 2021-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Harker et al. | The HISSTools impulse response toolbox: Convolution for the masses | |
Czerwinski et al. | Multitone Testing of Sound System Components' Some Results and Conclusions, Part 1: History and Theory | |
Perez-Gonzalez et al. | Automatic equalization of multichannel audio using cross-adaptive methods | |
JP6552462B2 (en) | How to model musical instrument characteristics | |
JP6452653B2 (en) | A system for modeling the characteristics of musical instruments | |
Dong et al. | Speech intelligibility improvement in noisy reverberant environments based on speech enhancement and inverse filtering | |
Giampiccolo et al. | A time-domain virtual bass enhancement circuital model for real-time music applications | |
US6453253B1 (en) | Impulse response measuring method | |
Välimäki et al. | Spectral delay filters | |
Zhu et al. | Influence of sound source characteristics in determining objective speech intelligibility metrics | |
CN110213708A (en) | A kind of nonlinear measurement of speaker system and sound quality tune system | |
CN110225433A (en) | A kind of nonlinear measurement of speaker system and sound quality tuning methods | |
Clifford et al. | Using delay estimation to reduce comb filtering of arbitrary musical sources | |
Haeussler et al. | Crispness, speech intelligibility, and coloration of reverberant recordings played back in another reverberant room (Room-In-Room) | |
Temme et al. | Measurement of harmonic distortion audibility using a simplified psychoacoustic model | |
Osses Vecchi et al. | Assessing the perceived reverberation in different rooms for a set of musical instrument sounds | |
Lavandier et al. | Identification of some perceptual dimensions underlying loudspeaker dissimilarities | |
Rauhala et al. | Dispersion modeling in waveguide piano synthesis using tunable allpass filters | |
Hill et al. | Wide-area psychoacoustic correction for problematic room-modes using nonlinear bass synthesis | |
Zhang et al. | Parametric audio equalizer based on short-time Fourier transform | |
Woszczyk | Bessel filters as loudspeaker crossovers | |
Lee et al. | Development of a clarity parameter using a time-varying loudness model | |
Temme | Why and how to measure distortion in electroacoustic transducers | |
Temme et al. | Measurement of Harmonic Distortion Audibility Using a Simplified Psychoacoustic Model-Updated | |
Mohlin | Blind estimation of sound coloration in rooms |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |