CN101089641B - Method, system for implementing audio-frequency equipment test - Google Patents

Method, system for implementing audio-frequency equipment test Download PDF

Info

Publication number
CN101089641B
CN101089641B CN2007101187299A CN200710118729A CN101089641B CN 101089641 B CN101089641 B CN 101089641B CN 2007101187299 A CN2007101187299 A CN 2007101187299A CN 200710118729 A CN200710118729 A CN 200710118729A CN 101089641 B CN101089641 B CN 101089641B
Authority
CN
China
Prior art keywords
test pattern
audio signal
frequency apparatus
tested
test
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.)
Expired - Fee Related
Application number
CN2007101187299A
Other languages
Chinese (zh)
Other versions
CN101089641A (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN2007101187299A priority Critical patent/CN101089641B/en
Publication of CN101089641A publication Critical patent/CN101089641A/en
Application granted granted Critical
Publication of CN101089641B publication Critical patent/CN101089641B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

A method for testing audio device includes setting at least one test mode according to test mode supported by tested audio device, controlling tested audio device to make ergodic on each test mode, processing input audio signal of tested audio device to obtain output audio signal under each test mode, carrying out waveform comparison on input and output audio signals under each test mode and obtaining test result of tested audio device at each test mode according to waveform comparison result. The system and audio device both being used for realizing said method is also disclosed.

Description

A kind of method, system that realizes the audio frequency apparatus test
Technical field
The present invention relates to audio area, particularly relate to the method, the system that realize the audio frequency apparatus test a kind of.
Background technology
Audio frequency apparatus is the general name to audio frequency input-output device, can comprise the multiple product type, as power amplifier, player, phonographic recorder, microphone, sound card in the personal computer, earphone etc., before these audio frequency apparatuses formally put goods on the market, usually need carry out the test of aspects such as sound quality, acoustics, such as, the audition that MP3 (MPEGAudioLayer3) player carries out is tested, be exactly by the whether distortion of the sound of tester's artificial judgment after the MP3 player plays, whether the test of sound quality aspects such as noise is arranged.
Because audio frequency apparatus can be supported multiple test parameter, and for each test parameter, can be set to one or more concrete parameter values again, therefore, when audio frequency apparatus is tested, need to the multiple test pattern of the concrete parameter value combination results of multiple test parameter down the audio frequency apparatus of work test.Such as, certain audio frequency apparatus is supported sampling rate, sampling precision, three test parameters of sound channel.Here, sampling rate is meant number of samples in the unit interval, and usually, the unit of sampling rate adopts individual/second; The precision of sampling precision reflection voice metric wave-shape amplitude can be used the shared recording storage space representation of sample sound.For example, when each sample sound took 16 (2 byte) storage spaces, the sample sound value that records was in 0~65536 scope, and its sampling precision is exactly 1/65536 of a sample sound value.As seen, the size of sample figure place has influence on the quality of sound, and figure place is many more, and the quality of sound is high more, and the storage space that needs is also many more; Figure place is few more, and the quality of sound is low more, and the storage space that needs is few more.Sound channel comprises monophony, left and right two-channel etc.The sampling rate of supposing this audio frequency apparatus can be set to 9 concrete sample rates values, just supports 9 kinds of sampling rates, is respectively (" 8000 ", " 11025 ", " 12000 ", " 16000 ", " 22050 ", " 24000 ", " 32000 ", " 44100 ", " 48000 "), and unit is/second; Support 2 kinds of sampling precisions (8,16) simultaneously, unit is position (bit); Also support (monophony left and right sides two-channel) 2 kinds of sound channels.Therefore, when this audio frequency apparatus is tested, sampling rate, sampling precision, the set concrete parameter value of three kinds of parameters of sound channel to be made up usually, be obtained 9*2*2 kind test pattern.
At present, the method that realizes the audio frequency apparatus test is also based on the manual testing, need manually tested audio frequency apparatus to be arranged on work under the different test patterns, for every kind of test pattern, need carry out artificial audition test respectively, just whether artificial cognition distortion occurs playing, is example below with the player, explanation is to the process of audio frequency apparatus test, and this process specifically may further comprise the steps:
Step 101: obtain the information source audio file.
The sound signal of player input according to the information source audio file that this step is obtained, can obtain the sound signal of player input with the form storage of information source audio file.Such as, the sound signal of a first MP3 song.
Step 102: determine the test pattern that test is this time adopted.
In this step, according to the test request of formulating, determine the test pattern that test is this time adopted, such as, the test request of formulating is: it is that 8000/second, sampling precision are the sound quality that 16bit and sound channel are play during for two-channel that the test player is operated in sampling rate, so, determine test pattern that test is this time adopted be (sampling rate " 8000 " is individual/second, sampling precision 16bit, two-channel), and by artificial selection or sampling rate, the sampling precision of player, the concrete parameter value of sound channel test parameter are set.
Step 103: generate the testing audio file under the current test mode.
In this step, player is worked under the test pattern of setting, and just plays the input audio signal that obtains according to the information source audio file, by relevant conversion process such as recording, number convert the output sound after playing to testing audio file, the testing audio file under the storage current test mode.
Step 104: judge whether each test pattern is all produced corresponding testing audio file, if, execution in step 105, otherwise, execution in step 102.
This step is used for judging whether player obtains the output audio signal under each test pattern.
For the testing audio file of each generation, equal execution in step 105.
Step 105: tester's artificial cognition relatively obtains the test result under each test pattern.
In this step, the testing audio file of each generation is carried out artificial audition compare test, obtain test result by the tester.Usually, under the tester thinks no noise or distortionless situation, obtain the test result of " approval ".
As can be seen, in to the audio frequency apparatus test process, all to manually set concrete parameter value for each test parameter, and, all to manually differentiate comparison for each testing audio file, therefore, realize the method for audio frequency apparatus test at present, have the big problem of testing audio testing of equipment workload.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method that realizes the audio frequency apparatus test, and this method can reduce the workload of testing audio equipment.
Second fundamental purpose of the present invention is to provide a kind of system that realizes the audio frequency apparatus test, and this system can reduce the workload of testing audio equipment.
In order to reach above-mentioned first purpose, the technical scheme that the present invention proposes is: a kind of method that realizes the audio frequency apparatus test, and this method is:
Produce the input audio signal of tested audio frequency apparatus according to the information source audio file of setting that carries input audio signal data sampling value information;
Survey the test pattern that tested audio frequency apparatus is supported;
Test pattern according to tested audio frequency apparatus is supported is provided with at least a test pattern;
Control every kind of test pattern of tested audio frequency apparatus traversal and the input audio signal of tested audio frequency apparatus is handled, obtain the output audio signal under every kind of test pattern;
Output audio signal under every kind of test pattern is converted to the testing audio file that carries every kind of output audio signal data sampling value information under the test pattern;
Testing audio file under described information source audio file and the every kind of test pattern is carried out to the normalized of data sampled value and to the interpolation processing of data sampling rate;
Utilize described information source audio file after normalized and the interpolation processing, and normalized and interpolation processing after every kind of test pattern testing audio file down, input audio signal under every kind of test pattern and output audio signal are carried out the waveform comparison;
Waveform comparative result and the waveform comparative result threshold values that sets in advance are compared, obtain the test result of tested audio frequency apparatus under every kind of test pattern.
Described test pattern is during by the concrete parameter value combination results of at least two kinds of test parameters that are provided with,
The tested audio frequency apparatus traversal of described control test pattern, the input audio signal of tested audio frequency apparatus handled comprise: select a not test pattern of traversal, as the current test pattern of tested audio frequency apparatus, controlling tested audio frequency apparatus handles input audio signal under current test pattern, re-execute the described not step of the test pattern of traversal of selecting, up to having traveled through all test patterns.
Described test pattern is during by the concrete parameter value combination results of at least two kinds of test parameters that are provided with,
Described select one not the test pattern of traversal comprise: by the mode of loop nesting, select a not combination of concrete parameter value of the test parameter of traversal;
The tested audio frequency apparatus of described control is handled input audio signal under current test pattern and is comprised:, according to the audio standard that tested audio frequency apparatus is supported, the concrete parameter value of the test parameter that produces the current test pattern of described tested audio frequency is set.
Described output audio signal under every kind of test pattern is converted to after the testing audio file that carries every kind of output audio signal data sampling value information under the test pattern, further comprise:, store described testing audio file according to the storage mode that is provided with.
Described waveform relatively comprises: correlativity relative method or envelope amplitude and frequency relative method.
In order to reach above-mentioned second purpose, the technical scheme that the present invention proposes is: a kind of system that realizes the audio frequency apparatus test, and this system comprises:
The input audio signal acquisition module is used for producing input audio signal according to the information source audio file of the input audio signal information of setting of carrying, and the input audio signal that produces is input to tested audio frequency apparatus;
Detecting module is used to survey the test pattern that tested audio frequency apparatus is supported;
Control module is used for the test pattern according to tested audio frequency apparatus support, and at least a test pattern is set, and controls every kind of test pattern of tested audio frequency apparatus traversal;
Tested audio frequency apparatus is used for every kind of test pattern of traversal under control module control, and the input audio signal of tested audio frequency apparatus is handled, and obtains the output audio signal under every kind of test pattern;
The output audio signal logging modle is used for converting the output audio signal under every kind of test pattern to every kind of testing audio file under the test pattern according to the conversion parameter that is provided with;
Pretreatment module relatively is used for the testing audio file of tested audio frequency apparatus under every kind of test pattern and information source audio file are carried out to the normalized of data sampled value and to the interpolation processing of data sampling rate;
Comparison module, be used to utilize described information source audio file after normalized and the interpolation processing, and normalized and interpolation processing after every kind of test pattern testing audio file down, the input audio signal and the output audio signal of tested audio frequency apparatus under every kind of test pattern carried out the waveform comparison; Waveform comparative result and the waveform comparative result threshold values that sets in advance are compared, obtain the test result of tested audio frequency apparatus under every kind of test pattern.
Described output audio signal logging modle is stored the testing audio file under the every kind of test pattern that is converted to further according to the storage mode that is provided with.
In sum, a kind of method, system that realizes the audio frequency apparatus test that the present invention proposes has the following advantages:
The first, the present invention can control tested audio frequency apparatus at least a test pattern of traversal automatically, obtains every kind of test result under the test pattern, thereby can reduce the workload of testing audio equipment.
The second, the present invention can be according to tested audio frequency apparatus input signal and signal output waveform comparative result, draw the audio-frequency test result, avoided the different manual testing's deviation that produces to the sound sensitive degree, thereby can improve the accuracy of testing audio equipment owing to different testers.
Three, the present invention's concrete parameter value combination results that at least two kinds of test parameters can be set goes out the test pattern of audio frequency apparatus test, thereby the dirigibility that can improve testing audio equipment.
Therefore, a kind of method, system that realizes audio frequency apparatus test provided by the invention can reduce the workload of testing audio equipment.
Description of drawings
Fig. 1 is a method flow synoptic diagram of realizing the audio frequency apparatus test in the prior art;
Fig. 2 realizes the structural representation of the preferred embodiment of the system that audio frequency apparatus is tested for the present invention;
Fig. 3 realizes the schematic flow sheet of the preferred embodiment of the method that audio frequency apparatus is tested for the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Technical scheme of the present invention is: at least a test pattern is set; Control every kind of test pattern of tested audio frequency apparatus traversal, the input audio signal of tested audio frequency apparatus is handled, obtain the output audio signal under every kind of test pattern; Input audio signal under every kind of test pattern and output audio signal are carried out waveform relatively; According to the waveform comparative result, obtain the test result of tested audio frequency apparatus under every kind of test pattern.
Fig. 2 is a system architecture synoptic diagram of the present invention, and this system comprises: control module 210, tested audio frequency apparatus 220, comparison module 230;
Control module 210 is provided with at least a test pattern; Control every kind of test pattern of tested audio frequency apparatus 220 traversals;
Tested audio frequency apparatus 220, be used for every kind of test pattern of traversal under control module 210 controls, input audio signal to tested audio frequency apparatus is handled, obtain the output audio signal under every kind of test pattern, the output audio signal under the every kind of test pattern that obtains is input to comparison module 230;
Comparison module 230 is used for input audio signal and the output audio signal of tested audio frequency apparatus 220 under every kind of test pattern carried out waveform relatively; According to the waveform comparative result, obtain the test result of tested audio frequency apparatus 220 under every kind of test pattern.
Wherein, tested audio frequency apparatus 220 comprises: control interface 221, execution module 222 and output module 223;
Control interface 221 is used to receive the control information that control module is sent, and described control information is sent to execution module 222;
Execution module 222 is used for every kind of test pattern of traversal under the control of described control information, and the input audio signal of tested audio frequency apparatus is handled, and the output audio signal under the every kind of test pattern that obtains is sent to output module 223;
Output module 223, the output audio signal under the every kind of test pattern that is used for obtaining is input to comparison module 230.
System can also comprise: detecting module 240;
Detecting module 240 is used to survey the test pattern that tested audio frequency apparatus is supported, the result of detection that obtains is input to control module 210.
System can also comprise: input audio signal acquisition module 250;
Input audio signal acquisition module 250 is used for producing input audio signal according to the information source audio file of the input audio signal information of setting of carrying, and the input audio signal that produces is input to tested audio frequency apparatus 250;
System can also comprise: output audio signal logging modle 260;
Output audio signal logging modle 260, be used for according to the conversion parameter that is provided with, convert the output audio signal under every kind of test pattern to every kind of testing audio file under the test pattern, according to the storage mode that is provided with, the testing audio file under every kind of test pattern that storage is converted to.
System can also comprise: compare pretreatment module 270;
Compare pretreatment module 270, be used for input audio signal and output audio signal under tested audio frequency apparatus 220 every kind of test pattern are compared pre-service, input audio signal and output audio signal under pretreated every kind of test pattern are input to comparison module.
270 pairs of comparison pretreatment module in the present embodiment compare pre-service from the information source audio file of input audio signal acquisition module 250 and/or from the testing audio file under every kind of test pattern of output audio signal logging modle 260, and the testing audio file under pretreated information source audio file and the every kind of test pattern is input to comparison module 230.Comparison module 230 is according to the testing audio file under pretreated information source audio file and the every kind of test pattern, after obtaining the input audio signal and output audio signal under every kind of test pattern, again input audio signal and output audio signal under every kind of test pattern are compared.
When the tested audio frequency apparatus 220 in the present embodiment is specially player, then input audio signal acquisition module 250 can be the information source that produces the sound signal before playing, sound signal before the broadcast that information source produces can obtain by the information source audio file of setting, during sound signal after need playing with audio file form storage, output audio signal logging modle 260 can be recorded into the phonographic recorder of audio file and will be recorded the register that the testing audio file that obtains stores and form by the sound signal after will playing, when needs carried out normalization and interpolation processing to information source audio file and testing audio file, relatively pretreatment module 270 can be made up of normalization unit and interpolating unit.
Fig. 3 below in conjunction with process flow diagram, provides a specific embodiment of the present invention for the method flow synoptic diagram that the present invention realizes the audio frequency apparatus test.
In the present embodiment, for making things convenient for Computer Storage or processing, the input audio signal of tested audio frequency apparatus is stored with the form of information source audio file, can obtain the input audio signal of tested audio frequency apparatus according to the information source audio file, after the input audio signal of tested audio frequency apparatus handled, obtain corresponding output audio signal, and then convert output audio signal to the testing audio file and store.Present embodiment specifically may further comprise the steps as shown in Figure 3:
Step 301: obtain the information source audio file.
In the present embodiment, the input audio signal of tested audio frequency apparatus is to produce according to the information source audio file of setting that carries input audio signal data sampling value information, here, the information source audio file not only comprises information source audio file of the prior art, but also comprises the information source audio file that comprises single frequency sinusoidal Boeing frequency signal message.The information source audio signal information is the data sampling value of the input audio signal of tested audio frequency apparatus, and in like manner, sinusoidal wave information is the data sampling value of the input single frequency sinusoidal Boeing frequency signal of tested audio frequency apparatus.Thereby, can produce the input audio signal of tested audio frequency apparatus by the information source audio file that obtains.And for satisfying the frequency requirement of tested audio frequency apparatus, the information source sound signal that is produced by the information source audio file or the frequency of single frequency sinusoidal ripple signal be height enough.
Because the waveform of single frequency sinusoidal ripple signal is single, thereby the output audio signal of being convenient to comprise with the testing audio file in the step 311 in the back carries out wave form analysis relatively, so obtain correctly, test result intuitively.Certainly, in order to test the processing power of tested audio frequency apparatus, also need to adopt the information source audio file that will comprise different input audio signals during test to various different audio signals.The method that present embodiment obtains the information source audio file can be directly to produce the information source audio file, also can select one from a plurality of information source audio files, the information source audio file that adopts during as test.
Step 302: survey the test pattern that tested audio frequency apparatus is supported.
In the present embodiment, before testing audio equipment, the concrete parameter value of the test parameter that elder generation's tested audio frequency apparatus of detection is supported, present embodiment hypothesis test parameter is sampling rate, sampling precision, sound channel, and goes out the test pattern that audio frequency apparatus is supported by the combination results of the one or more arbitrarily concrete parameter values in these three kinds of parameters.
Step 303: the test pattern that tested audio frequency apparatus is set.
In the present embodiment, the pattern that the tested audio frequency apparatus that obtains according to detection is supported, the test pattern of tested audio frequency apparatus is set, once multiple test pattern can be set, just set out sampling rate, sampling precision, the adoptable concrete parameter value of three kinds of parameters of sound channel, each the combination correspondence that is produced by the concrete parameter value of these three parameter settings goes out a kind of test pattern, such as, be provided with simultaneously test pattern for (sampling rate " 8000 " is individual/second, sampling precision 8bit, monophony), (sampling rate " 8000 " is individual/second, sampling precision 16bit, monophony) etc.
If present embodiment is execution in step 301 not, when not obtaining result of detection after perhaps surveying, think that then tested audio frequency apparatus supports general sampling rate, sampling precision, sound channel, by these three values that parameter is the most frequently used, combination results goes out the pattern that one or more audio frequency apparatuses are supported, according to the pattern of tested audio frequency apparatus support, the test pattern of tested audio frequency apparatus is set again.
Step 304~step 310 is handled the input audio signal of tested audio frequency apparatus for every kind of test pattern of the tested audio frequency apparatus traversal of control, obtains the process of the output audio signal under every kind of test pattern.
In the present embodiment, because the test pattern that is provided with is the combination of three kinds of test parameters, thereby need the combination of these three kinds of test parameters of traversal, so that generate the testing audio file of corresponding each combination.Present embodiment realizes that the method for traversal is: the mode that adopts three layers of loop nesting, the corresponding test parameter of each layer circulation, all judge whether to realize traversal at each layer, when having traveled through all concrete parameter values of a test parameter, the circulation of just jumping out this test parameter respective layer, otherwise, the audio standard that control module is supported according to tested audio frequency apparatus, such as the I2C standard,, and then generate new testing audio file for this test parameter is provided with a new concrete parameter value.
Specifically, step 308~step 310 is an innermost loop, mainly finish the sound channel ergodic process under sampling rate, sampling precision are determined, when judge traveled through every kind of sound channel after, jump out this layer circulation, otherwise determine a not sound channel occurrence of traversal, and then generate an audio-frequency test file by the occurrence of sampling rate, sampling precision and the channel parameters determined.Step 306~step 310 is the middle layer circulation, mainly finishes the traversal to the occurrence combination of sound channel and sampling precision, after the occurrence combination that has traveled through all sound channels and sampling precision, jumps out this layer circulation.Step 304~~step 310 is an outermost loop, mainly finishes the ergodic process of the occurrence combination of sampling rate, sound channel and sampling precision.
Step 304: judge tested audio frequency apparatus under all test patterns, whether all generate the testing audio file, if, execution in step 311, otherwise, execution in step 305.
In the present embodiment, step 304 is used for judging whether tested audio frequency apparatus obtains the output audio signal under each test pattern.In the present embodiment, convert the output audio signal after the tested audio frequency apparatus processing to carry output audio signal information testing audio file and store, be convenient to the comparison of back.
What adopt in the present embodiment is many master bus standard I 2C standard, and any one equipment can both be worked as primary controller, and control bus.Each equipment all has a unique address on the bus, according to the ability of equipment, can be used as transmitter or receiver operation.The multichannel microcontroller can coexist on same I2C bus.Certainly adopt different audio standards according to different audio frequency apparatuses.
Present embodiment places outermost loop with sampling rate, sampling precision is placed the middle level circulation, sound channel places innermost layer, certainly, the order of loop nesting can be any permutation and combination of these three kinds of test parameters, such as sampling rate, sound channel and sampling precision, perhaps sampling precision, sampling rate and sound channel etc.
If the test pattern that is provided with in the present embodiment is the combination of other test parameter, also can adopt similar methods to realize traversal, generate the testing audio file of each combination.
Step 305: determine the sampling rate occurrence that test is this time adopted.
Step 306: judge whether all sampling precision occurrences have all generated the testing audio file for the sampling rate occurrence of determining, if, execution in step 304, otherwise, execution in step 307.
Step 307: determine the sampling precision occurrence that test is this time adopted.
Step 308: judge for sampling precision, the sampling rate occurrence determined, whether all sound channel occurrences have all been generated the testing audio file, if, execution in step 306, otherwise, execution in step 309.
Step 309: determine this time to record the sound channel occurrence of employing.
Step 310: tested audio frequency apparatus is handled the input audio signal of tested audio frequency apparatus under this pattern.
In the present embodiment, tested audio frequency apparatus is handled the input audio signal of tested audio frequency apparatus under the test pattern of the sampling precision of determining, sampling rate harmony road occurrence combination results, obtains the output audio signal under the current test mode.
If the tested audio frequency apparatus in the present embodiment is a player, the implication of " processing " just is meant broadcast so, and input audio signal is the sound signal before the player plays, and output audio signal is the sound signal after the player plays.If phonographic recorder, then the implication of " processing " is recording, and input audio signal is the sound signal before the phonographic recorder recording, and output audio signal is the sound signal after the phonographic recorder recording.The implication of " processing " of dissimilar by that analogy tested audio frequency apparatuses and input, output audio signal.
Step 311: generate the testing audio file under the current test mode, execution in step 308.
In the present embodiment, be output audio signal to be converted to the testing audio file by the mode of recording, concrete grammar is: record sampling rate, sampling precision and conversion parameters such as sound channel and recording time according to what be provided with, convert the output audio signal under every kind of test pattern to every kind of testing audio file under the test pattern, according to storage modes such as the path of the testing audio file that is provided with, mark test pattern signs, store the testing audio file under every kind of test pattern.
Step 312 and step 313 are for comparing preprocessing process.
Step 312: information source audio file and testing audio file are carried out normalized.
Information source audio file in the present embodiment has carried the data sampling value information of input audio signal, and the testing audio file has carried the data sampling value information of output audio signal, to input audio signal and output audio signal relatively before, earlier to information source audio file and testing audio file are carried out normalized, mainly comprise: the data volume to the data sampling value of input audio signal and output audio signal is unified, such as, be unified in [0,1) interval, unit is volt.The null position of the data sampling value of alignment input audio signal and output audio signal etc.
Step 313: the testing audio file is carried out interpolation processing.
In the present embodiment, suppose in the information source audio file different in the testing audio file under the data sampling rate of input audio signal and the every kind of test pattern the data sampling rate of input audio signal, thereby, for convenience relatively, should the uniform data sampling rate, present embodiment has adopted the method for the testing audio file under every kind of test pattern being carried out interpolation processing, also can carry out respective handling to the information source audio file, makes that the data sampling rate of input audio signal and output audio signal is identical.Data sampling rate and sampling precision according to input audio signal and output audio signal can obtain input audio signal and output audio signal.
To input audio signal under every kind of test pattern and output audio signal, equal execution in step 310-312
Step 314: input audio signal under every kind of test pattern and output audio signal are carried out waveform relatively.
Present embodiment adopts input audio signal under every kind of test pattern and output audio signal is carried out waveform method relatively, obtains test result.
The method that present embodiment carries out the waveform comparison comprises: correlativity waveform commonly used method relatively, the perhaps frequency of envelope and amplitude wave-shape method relatively.
If present embodiment adopts the correlativity waveform relatively, then a shilling input audio signal is that x (t), output audio signal are y (t), and the related coefficient that defines x (t) and y (t) again is:
Figure GA20191832200710118729901D00121
The molecule of related coefficient is the integration of x (t) * y (t) in time domain; Denominator is x (t) and y (t) square long-pending square root in time-domain integration separately.
If two its amplitude values of complete dissimilar waveform are separate, irrelevant each other with going out now, x (t) * y (t)=0, its integral result also are 0, and be so similarity is the poorest when related coefficient is 0, promptly uncorrelated.When related coefficient is 1, then error energy is 0, illustrates that this two signal similars degree is fine, is linear relevant.
If present embodiment adopts the frequency of envelope and amplitude wave-shape to compare, then find out the amplitude maximal value and the minimum value of envelope earlier, be example with the sine wave, can obtain sinusoidal wave period by the peaked interval of two amplitudes, and then obtain sinusoidal wave frequency values.
Step 314: obtain the test result under every kind of test pattern.
Present embodiment is according to the threshold values that is provided with, obtain test result, such as, when the frequency of employing comparing audio signal envelope and the method for amplitude, the threshold values of frequency comparative result is set to 0.2HZ, and the threshold values of amplitude comparative result is set to 0.1V, the frequency and the amplitude comparative result that obtain in threshold values and the step 313 are compared, when frequency and amplitude comparative result during, obtain the test result of " approval ", otherwise obtain the test result of " not approving " less than threshold values.
Input audio signal in the present embodiment and output audio signal are except the form storage with audio file, to the information source audio file of storage with after the testing audio file compares pre-service, obtain input, output audio signal according to more pretreated information source audio file and testing audio file again, carry out audition or waveform relatively outside, also can be directly input, the output audio signal of tested audio frequency apparatus be directly carried out audition or waveform relatively, perhaps after comparing pre-service, carry out audition or waveform more relatively.
Being preferred embodiment of the present invention only below, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. method that realizes audio frequency apparatus test is characterized in that this method comprises:
Produce the input audio signal of tested audio frequency apparatus according to the information source audio file of setting that carries input audio signal data sampling value information;
Survey the test pattern that tested audio frequency apparatus is supported;
Test pattern according to tested audio frequency apparatus is supported is provided with at least a test pattern;
Control every kind of test pattern of tested audio frequency apparatus traversal and the input audio signal of tested audio frequency apparatus is handled, obtain the output audio signal under every kind of test pattern;
Output audio signal under every kind of test pattern is converted to the testing audio file that carries every kind of output audio signal data sampling value information under the test pattern;
Testing audio file under described information source audio file and the every kind of test pattern is carried out to the normalized of data sampled value and to the interpolation processing of data sampling rate;
Utilize described information source audio file after normalized and the interpolation processing, and normalized and interpolation processing after every kind of test pattern testing audio file down, input audio signal under every kind of test pattern and output audio signal are carried out the waveform comparison;
Waveform comparative result and the waveform comparative result threshold values that sets in advance are compared, obtain the test result of tested audio frequency apparatus under every kind of test pattern.
2. method according to claim 1 is characterized in that, described test pattern is during by the concrete parameter value combination results of at least two kinds of test parameters that are provided with,
The tested audio frequency apparatus traversal of described control test pattern, the input audio signal of tested audio frequency apparatus handled comprise: select a not test pattern of traversal, as the current test pattern of tested audio frequency apparatus, controlling tested audio frequency apparatus handles input audio signal under current test pattern, re-execute the described not step of the test pattern of traversal of selecting, up to having traveled through all test patterns.
3. method according to claim 2 is characterized in that, described test pattern is during by the concrete parameter value combination results of at least two kinds of test parameters that are provided with,
Described select one not the test pattern of traversal comprise: by the mode of loop nesting, select a not combination of concrete parameter value of the test parameter of traversal;
The tested audio frequency apparatus of described control is handled input audio signal under current test pattern and is comprised:, according to the audio standard that tested audio frequency apparatus is supported, the concrete parameter value of the test parameter that produces the current test pattern of described tested audio frequency is set.
4. according to claim 1 or 2 or 3 described methods, it is characterized in that, describedly output audio signal under every kind of test pattern is converted to after the testing audio file that carries every kind of output audio signal data sampling value information under the test pattern, further comprise:, store described testing audio file according to the storage mode that is provided with.
5. according to claim 1 or 2 or 3 described methods, it is characterized in that described waveform relatively comprises: correlativity relative method or envelope amplitude and frequency relative method.
6. system that realizes audio frequency apparatus test is characterized in that this system comprises:
The input audio signal acquisition module is used for producing input audio signal according to the information source audio file of the input audio signal information of setting of carrying, and the input audio signal that produces is input to tested audio frequency apparatus;
Detecting module is used to survey the test pattern that tested audio frequency apparatus is supported;
Control module is used for the test pattern according to tested audio frequency apparatus support, and at least a test pattern is set, and controls every kind of test pattern of tested audio frequency apparatus traversal;
Tested audio frequency apparatus is used for every kind of test pattern of traversal under control module control, and the input audio signal of tested audio frequency apparatus is handled, and obtains the output audio signal under every kind of test pattern;
The output audio signal logging modle is used for converting the output audio signal under every kind of test pattern to every kind of testing audio file under the test pattern according to the conversion parameter that is provided with;
Pretreatment module relatively is used for the testing audio file of tested audio frequency apparatus under every kind of test pattern and information source audio file are carried out to the normalized of data sampled value and to the interpolation processing of data sampling rate;
Comparison module, be used to utilize described information source audio file after normalized and the interpolation processing, and normalized and interpolation processing after every kind of test pattern testing audio file down, the input audio signal and the output audio signal of tested audio frequency apparatus under every kind of test pattern carried out the waveform comparison; Waveform comparative result and the waveform comparative result threshold values that sets in advance are compared, obtain the test result of tested audio frequency apparatus under every kind of test pattern.
7. system according to claim 6 is characterized in that, described output audio signal logging modle is stored the testing audio file under the every kind of test pattern that is converted to further according to the storage mode that is provided with.
CN2007101187299A 2007-07-12 2007-07-12 Method, system for implementing audio-frequency equipment test Expired - Fee Related CN101089641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101187299A CN101089641B (en) 2007-07-12 2007-07-12 Method, system for implementing audio-frequency equipment test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101187299A CN101089641B (en) 2007-07-12 2007-07-12 Method, system for implementing audio-frequency equipment test

Publications (2)

Publication Number Publication Date
CN101089641A CN101089641A (en) 2007-12-19
CN101089641B true CN101089641B (en) 2010-09-08

Family

ID=38943069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101187299A Expired - Fee Related CN101089641B (en) 2007-07-12 2007-07-12 Method, system for implementing audio-frequency equipment test

Country Status (1)

Country Link
CN (1) CN101089641B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109633A (en) * 2017-12-20 2018-06-01 北京声智科技有限公司 The System and method for of unattended high in the clouds sound bank acquisition and intellectual product test
CN110719461A (en) * 2019-10-24 2020-01-21 深圳创维-Rgb电子有限公司 Audio and video equipment testing method and device and computer readable storage medium

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014333A (en) * 2009-09-04 2011-04-13 鸿富锦精密工业(深圳)有限公司 Test method for sound system of computer
CN102385032B (en) * 2010-08-25 2016-03-23 上海贝尔股份有限公司 Signal monitoring apparatus and method
CN102523325B (en) * 2011-12-01 2014-08-20 无锡中星微电子有限公司 Testing system and method for bluetooth equipment
CN103413558B (en) * 2013-08-08 2016-05-04 南京邮电大学 A kind of audio frequency apparatus method of testing
CN103747407B (en) * 2013-12-27 2017-04-12 深圳英飞拓科技股份有限公司 Audio module automatic test method based on FFT frequency sweep
CN103686580B (en) * 2013-12-30 2016-06-15 福建星网视易信息系统有限公司 A kind of multi-path audio output interface automatic test approach and equipment
CN103905277B (en) * 2014-03-28 2017-10-17 华为技术有限公司 A kind of system detecting method and device
CN106154096B (en) * 2015-04-27 2019-12-10 中兴通讯股份有限公司 audio connecting line detection method and device
CN105979462A (en) * 2015-11-16 2016-09-28 乐视致新电子科技(天津)有限公司 Test processing method and device based on microphone
CN107205205A (en) * 2016-03-17 2017-09-26 北京卓锐微技术有限公司 Microphone apparatus for evaluating and appraisal procedure
CN107205206A (en) * 2016-03-17 2017-09-26 北京卓锐微技术有限公司 Microphone test device, system and method for testing
CN106534980B (en) * 2016-11-15 2019-12-06 广州华多网络科技有限公司 abnormity detection method of audio processing system, log recording method and device
CN108877837B (en) * 2018-06-12 2021-01-15 北京小米移动软件有限公司 Audio signal abnormality identification method, device and storage medium
DE102018121123B4 (en) * 2018-08-29 2022-08-11 Airbus Operations Gmbh Automated self-test of cabin speakers
CN109600697A (en) * 2018-10-15 2019-04-09 珠海格力电器股份有限公司 Method and device for determining terminal play quality
CN111291213A (en) * 2018-12-07 2020-06-16 北京小米移动软件有限公司 Audio recognition method and device
CN109474394B (en) * 2018-12-28 2021-08-17 思必驰科技股份有限公司 Detection method, system and detection device for sound card communication data
EP3694230A1 (en) * 2019-02-08 2020-08-12 Ningbo Geely Automobile Research & Development Co. Ltd. Audio diagnostics in a vehicle
CN110099350A (en) * 2019-05-24 2019-08-06 晶晨半导体(上海)股份有限公司 The test method of power amplifier
CN110234059B (en) * 2019-05-31 2021-02-05 华讯方舟科技有限公司 Audio device testing method, system, testing frame and storage medium
CN113096694B (en) * 2019-12-23 2023-02-21 北京声智科技有限公司 Electronic terminal and play quality detection method thereof
CN111163310B (en) * 2019-12-31 2022-07-08 深圳Tcl新技术有限公司 Television audio test method, device, equipment and computer readable storage medium
CN114339575A (en) * 2021-12-29 2022-04-12 深圳德威音响有限公司 Audio tester based on DSP technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696720A (en) * 2004-05-11 2005-11-16 建兴电子科技股份有限公司 Method and device for testing audio player through audio analyzer
CN1760684A (en) * 2004-10-12 2006-04-19 英保达股份有限公司 Method for testing sound quantity of portable audio player
CN1812349A (en) * 2005-01-26 2006-08-02 华为技术有限公司 Automatic testing device for audio-frequency index
CN1901040A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Precision audiofrequency analyzer audiofrequency verifying and analyzing method
CN1979440A (en) * 2005-12-02 2007-06-13 鸿富锦精密工业(深圳)有限公司 Plate-carried audio-frequency module testing system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696720A (en) * 2004-05-11 2005-11-16 建兴电子科技股份有限公司 Method and device for testing audio player through audio analyzer
CN1760684A (en) * 2004-10-12 2006-04-19 英保达股份有限公司 Method for testing sound quantity of portable audio player
CN1812349A (en) * 2005-01-26 2006-08-02 华为技术有限公司 Automatic testing device for audio-frequency index
CN1901040A (en) * 2005-07-22 2007-01-24 鸿富锦精密工业(深圳)有限公司 Precision audiofrequency analyzer audiofrequency verifying and analyzing method
CN1979440A (en) * 2005-12-02 2007-06-13 鸿富锦精密工业(深圳)有限公司 Plate-carried audio-frequency module testing system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Alexey Lukin et al..RMAA 6.0 User's Guide.Rightmark,2007,1-10. *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109633A (en) * 2017-12-20 2018-06-01 北京声智科技有限公司 The System and method for of unattended high in the clouds sound bank acquisition and intellectual product test
CN110719461A (en) * 2019-10-24 2020-01-21 深圳创维-Rgb电子有限公司 Audio and video equipment testing method and device and computer readable storage medium
CN110719461B (en) * 2019-10-24 2021-06-15 深圳创维-Rgb电子有限公司 Audio and video equipment testing method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN101089641A (en) 2007-12-19

Similar Documents

Publication Publication Date Title
CN101089641B (en) Method, system for implementing audio-frequency equipment test
CN101729969A (en) Method and system for testing microphone of electronic device
KR102158514B1 (en) Multi-orientation playback device microphone
Mauch et al. The audio degradation toolbox and its application to robustness evaluation
CN102903375A (en) Music player and play method
US20070129951A1 (en) System and method for testing a motherboard audio module
CN1664921A (en) Sound reproducing method and apparatus
CN107591167B (en) Method and system for realizing automatic detection of vehicle-mounted multimedia audio compatibility
CN102348150A (en) Audio signal processing apparatus, audio signal processing method, and program
CN1959629A (en) Method and device for controlling computer user interface with sound
CN102103855A (en) Method and device for detecting audio clip
CN109510636A (en) Receive test method, device, medium and the equipment of FM signal function
CN1758226A (en) The method of the automatic detection computations machine of loop-type audio frequency apparatus playing function
JP2023071787A (en) Method and apparatus for extracting pitch-independent timbre attribute from medium signal
TWI698650B (en) Test audio generation method and analysis method
CN103686580B (en) A kind of multi-path audio output interface automatic test approach and equipment
US8321211B2 (en) System and method for multi-channel pitch detection
CN1617182A (en) Method of recording and playing compact disk quality sound signals for a doorbell system, and a receiver
CN112566005B (en) Audio chip testing method and device, electronic equipment and storage medium
CN112995882B (en) Intelligent equipment audio open loop test method
KR20210042851A (en) audio recognition method, audio recognition apparatus, electronic equipment, computer readable storage medium and computer program
CN209822276U (en) Automatic metrological verification system of audio analysis instrument
CN107801057A (en) One kind plays code check and determines method and device
CN105739850A (en) Multimedia progress processing method and device
US10356540B2 (en) Lifetime of an audio playback device with changed signal processing settings

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100908

Termination date: 20120712