CN111988722B - Test audio generation method and analysis method - Google Patents

Test audio generation method and analysis method Download PDF

Info

Publication number
CN111988722B
CN111988722B CN202010441187.4A CN202010441187A CN111988722B CN 111988722 B CN111988722 B CN 111988722B CN 202010441187 A CN202010441187 A CN 202010441187A CN 111988722 B CN111988722 B CN 111988722B
Authority
CN
China
Prior art keywords
test
signal
audio
frequency
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010441187.4A
Other languages
Chinese (zh)
Other versions
CN111988722A (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.)
Pegatron Corp
Original Assignee
Pegatron 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 Pegatron Corp filed Critical Pegatron Corp
Publication of CN111988722A publication Critical patent/CN111988722A/en
Application granted granted Critical
Publication of CN111988722B publication Critical patent/CN111988722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Abstract

A test audio generating method and an analysis method are provided, the test audio generating method is used for a test device, wherein the test device is used for generating a test audio and providing the test audio to a device to be tested for testing, and the test audio generating method comprises the following steps: generating a marking signal, wherein the marking signal comprises a marking frequency, and the device to be tested can judge an analysis starting point of the test audio according to the marking frequency; and generating a first test signal, the position of the first test signal is behind the mark signal, wherein the first test signal comprises a first frequency, and the first frequency is different from the mark frequency.

Description

Test audio generation method and analysis method
Technical Field
The present invention relates to an audio testing system and method, and more particularly, to an audio testing system and method for marking a start point by setting a mark region.
Background
In the existing audio test system, the condition of asynchronous playing and recording occurs no matter the test is performed on the pronunciation end or the reception end of the device to be tested. For example, when testing the sound receiving end, the sound receiving end is first started to record sound and then the standard sound generating device is started, or when testing the sound generating end, the standard sound recording device is first started and then the sound generating end is started to generate sound. After the recording is completed, the testing device analyzes the recording file to detect audio parameters of the device under test, such as Total Harmonic Distortion (THD), Sound Pressure Level (SPL), signal-to-noise ratio (SNR), and the like.
However, due to the time difference caused by the above-mentioned asynchronism, the testing apparatus usually analyzes the non-testing sound source at the same time or misjudges the starting point of the analysis. Whether the analysis is performed on the whole waveform or the analysis is started when the trigger point is reached, the analysis is interfered by the recorded external noise, so that the error of an analysis value or the misjudgment of an analysis starting point is caused.
Moreover, the test audio used in the conventional audio test system includes a plurality of frequencies, however, the user needs to set the lengths corresponding to the plurality of frequencies in advance, and therefore, the audio test program needs to be modified accordingly.
Therefore, how to eliminate the noise and time difference interval when the test audio is not played by improving the audio test system and method has become one of the important issues to be solved by the industry.
Disclosure of Invention
The present invention is directed to an audio testing system and method for marking a start point by setting a mark area, which is not enough in the prior art.
In order to solve the above technical problem, one technical solution of the present invention is to provide a method for generating a test audio for a test apparatus, wherein the test apparatus is configured to generate the test audio and provide the test audio to a device under test for testing, and the method for generating the test audio includes the following steps: generating a marking signal, wherein the marking signal comprises a marking frequency, and the device to be tested can judge an analysis starting point of the test audio according to the marking frequency; and generating a first test signal, the position of the first test signal is behind the mark signal, wherein the first test signal comprises a first frequency, and the first frequency is different from the mark frequency.
In order to solve the foregoing technical problem, another technical solution of the present invention is to provide a method for analyzing a test audio, which is used for a device under test, where the device under test is configured to receive the test audio, where the test audio includes a mark signal and a first test signal, a position of the first test signal is located behind the mark signal, and the mark signal includes a mark frequency, and the method for analyzing the test audio includes the following steps: receiving a test audio; setting an analysis starting point when the marking frequency is identified in the self-test audio; and adding a specific time length from the analysis starting point as a starting point for analyzing the first test signal.
For a better understanding of the features and technical content of the present invention, reference should be made to the following detailed description of the invention and accompanying drawings, which are provided for purposes of illustration and description only and are not intended to limit the invention.
Drawings
Fig. 1 is a block diagram of an audio test system according to a first embodiment of the present invention.
Fig. 2 is a waveform diagram of a test audio according to a first embodiment of the invention.
Fig. 3 is a flowchart of a test audio generating method according to a first embodiment of the invention.
Fig. 4 is a waveform diagram of a first audio under test according to a first embodiment of the invention.
FIG. 5 is another waveform diagram of the test audio according to the first embodiment of the present invention.
FIG. 6 is a flowchart of a sound reception test procedure according to a first embodiment of the present invention.
Fig. 7 is a flowchart of an analysis method of test audio according to a second embodiment of the present invention.
FIG. 8 is a flowchart illustrating a pronunciation test procedure according to a second embodiment of the present invention.
Fig. 9 is a block diagram of an audio test system according to a third embodiment of the present invention.
FIG. 10 is a partial flowchart of a sound reception test procedure according to a third embodiment of the present invention.
Fig. 11 is a block diagram of an audio test system according to a fourth embodiment of the present invention.
Fig. 12 is a flowchart of an audio testing method according to a fifth embodiment of the invention.
Description of reference numerals:
the audio test system comprises: 1. 2, 3
The testing device comprises: TD
The device to be tested: DUT
Testing the host computer: TM
Testing a pronunciation end: TS (transport stream)
Testing a radio receiving end: TR (transmitter-receiver)
A radio receiving end: RUT
A pronunciation end: SUT
Testing audio frequency: TA, TA1, TA2
First audio to be tested: AUT1
The second audio frequency to be tested: AUT2
Marking the area: MK (MK)
First test signal: r1
The second test signal: r2
Marking frequency: fm
Mark length: tm is
The first frequency: f1
The first time length is as follows: t1
The second frequency: f2
The second time length is as follows: t2
First analysis starting point: tstart1
Second analysis starting point: tstart2
The specific time length: tm'
First predetermined sample length: ta
First test length: tb
Second predetermined sample length: tc
Second test length: td
First data signal: info1
The second data signal: info2
And (3) sub-region: fb1, fb2, fb3, fb4, fb5 and fb6
Bit length: b2, b1, b0, c2, c1 and c0
Unvoiced area: tq
Time: t0
Detailed Description
The following is a description of the embodiments of the audio test method disclosed in the present invention by specific embodiments, and those skilled in the art can understand the advantages and effects of the present invention from the disclosure in the present specification. The invention is capable of other and different embodiments and its several details are capable of modification and various other changes, which can be made in various details within the specification and without departing from the spirit and scope of the invention. The drawings of the present invention are for illustrative purposes only and are not intended to be drawn to scale. The following embodiments will further explain the related art of the present invention in detail, but the disclosure is not intended to limit the scope of the present invention.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements or signals, these elements or signals should not be limited by these terms. These terms are used primarily to distinguish one element from another element or from one signal to another signal. In addition, the term "or" as used herein should be taken to include any one or combination of more of the associated listed items as the case may be.
[ first embodiment ]
Referring to fig. 1, a first embodiment of the invention provides an audio test system 1, which includes a test device TD and a device under test DUT. The test device TD comprises a test host TM, a test pronunciation end TS and a test sound receiving end TR, and the device to be tested DUT is connected with the test device TD and comprises a sound receiving end RUT and a pronunciation end SUT.
In the implementation process, the audio testing system 1 of the embodiment is mainly used for testing whether the sound terminal SUT and the sound receiving terminal RUT of the device under test DUT are normal. A software program can be written on an operation platform of a test host TM to detect a sound end SUT and a sound receiving end RUT of a device to be tested DUT, wherein the test host TM can be a tablet computer, a smart phone or a notebook computer. In contrast, since the audio test method according to the present embodiment must be executed on the test host TM, the test host TM may be a general-purpose operating platform, such as a computer device of a windows operating system, a LINUX operating system, or the like.
Referring to fig. 2 and fig. 3, the present embodiment provides a method for generating a test audio for an audio test system 1, fig. 2 is a schematic waveform diagram of the test audio according to the first embodiment of the present invention, and fig. 3 is a flowchart of the method for generating the test audio according to the first embodiment of the present invention. The test audio generating method is suitable for the test device TF in the first embodiment, and the test device TD can be used to generate the test audio and provide the test audio to the device under test DUT for testing, but is not limited thereto.
As shown in the figure, the test audio generating method of the present embodiment includes the following steps:
step S100: a marking signal is generated. For example, as shown in fig. 2, marker signal MK is located after time T0, and marker signal MK includes marker frequency fm.
Step S101: a first test signal is generated.
After the mark signal and the first test signal are generated, the process proceeds to step S101-1: the marking signal and the first test signal are formed into a test audio. For example, as shown in FIG. 3, the position of first test signal R1 is after marker signal MK and includes first frequency f 1. Furthermore, the mark frequency fm is different from the first frequency f1, the mark frequency fm may not be a multiple of the first frequency f1, and the time length of the mark signal MK, e.g., the mark length Tm, may be less than or equal to the time length of the first test signal R1, e.g., half of the first time length T1. Here, the marker frequency fm is mainly used to enable the device under test DUT to determine the analysis starting point of the test audio. The generation sequence of the marker signal MK and the first test signal R1 may be sequential, non-sequential or simultaneous.
Step S102: a second test signal is generated.
After the mark signal, the first test signal and the second test signal are generated, the process proceeds to step S102-1: the marking signal, the first test signal and the second test signal are formed into a test audio. For example, as shown in FIG. 2, the second test signal R2 is located after the first test signal R1 and includes a second frequency f2, the second frequency f2 is different from the mark frequency fm or the first frequency f1, and the mark frequency fm may not be a multiple of the first frequency f1 or the second frequency f 2. The mark frequency fm, the first frequency f1 and the second frequency f2 may all be different, for example, the mark signal MK uses the mark frequency fm of 2500Hz, the first test signal R1 uses the first frequency f1 of 1000Hz, and the second test signal R2 uses the second frequency f2 of 2000 Hz. The generation order of the marker signal MK, the first test signal R1 and the second test signal R2 may be sequential, non-sequential or simultaneous.
Reference is further made to fig. 4, which is a waveform diagram of the first audio under test according to the first embodiment of the present invention. As shown in fig. 4, due to the time difference caused by the non-synchronization between the sound emission end TR and the test sound reception end RUT, the conventional testing apparatus usually analyzes the non-test sound source or misjudges the starting point of the analysis. Whether the entire waveform is analyzed or the analysis is started when the trigger point is reached, the waveform is interfered by the recorded external noise. For example, in the unvoiced region Tq, noise is recorded, thereby causing an error in the analysis value or a misjudgment of the analysis starting point. Therefore, the invention adds the mark region Tm to the test audio, so that the test host TM can know the exact starting point of the test audio to improve the accuracy of analysis.
Step S103: a first data signal is generated.
After the mark signal, the first test signal, the second test signal and the first data signal are generated, step S103-1 may be performed: the marking signal, the first test signal, the second test signal and the first data signal are formed into a test audio. Please further refer to fig. 5, which is a schematic waveform diagram of a test audio according to the first embodiment of the present invention. Fig. 5 is different from fig. 2 and 4 in that the test audio TA further includes a first data signal Info1, which is disposed between the marker signal MK and the first test signal R1, and has first length information indicating the first time length T1. The generation sequence of the mark signal MK, the first test signal R1, the second test signal R2 and the first data signal Info1 can be sequential, non-sequential or simultaneous.
As further shown in fig. 5, the first data signal Info1 may include information on the time length of the first test signal R1, such as the first time length T1. In addition, the first data signal Info1 may represent the first time duration T1 of the first test signal R1 by a plurality of bits, for example, the plurality of sub-regions fb1, fb2 and fb3 of FIG. 7 represent the first time duration T1 of the first test signal R1 by 3 bits.
In more detail, the first data signal Info1 may represent the first time duration T1 of the first test signal R1 by a plurality of bits. For example, the first data signal Info1 has a plurality of sub-regions fb1, fb2 and fb3, the number of the sub-regions corresponds to a bit number, for example, 3 sub-regions fb1, fb2 and fb3 correspond to 3 bits, each of the sub-regions fb1, fb2 and fb3 has a bit length b2, b1 and b0, and each of the sub-regions fb1, fb2 and fb3 represents the bit number at a bit frequency, for example, the sub-region fb1 represents at 9.5KHz, the sub-region fb2 represents at 10.5KHz, the sub-region fb3 represents at 11.5KHz, and the bit frequencies are different from the mark frequency fm, the first frequency f1 and the second frequency f2, but the present embodiment is not limited thereto. Sub-regions fb1, fb2 and fb3 may also be the same frequency less than 20KHz and not a multiple of the first frequency f1 and the second frequency f2, for example, sub-regions fb1, fb2 and fb3 may all be 10.5 KHz.
Step S104: a second data signal is generated.
After the mark signal, the first test signal, the second test signal, the first data signal and the second data signal are generated, step S104-1 may be performed: and forming the marking signal, the first test signal, the second test signal, the first data signal and the second data signal into a test audio. The generation sequence of the mark signal MK, the first test signal R1, the second test signal R2, the first data signal Info1 and the second data signal Info2 can be sequential, non-sequential or simultaneous.
Similarly, referring to fig. 5, the test audio TA further includes a second data signal Info2, disposed between the first test signal R1 and the second test region R1, having second length information indicating a second time length T2. For example, the second data signal Info2 has a plurality of sub-regions fb4, fb5 and fb6, the number of the sub-regions corresponds to one bit number, each of the sub-regions fb4, fb5 and fb6 has a bit length c2, c1 and c0, for example, 3 sub-regions fb4, fb5 and fb6 correspond to 3 bits, and each of the sub-regions fb4, fb5 and fb6 represents the bit number at one bit frequency, and the same format as the first data signal Info1 can be adopted. For example, the sub-region fb4 is represented by 9.5KHz, the sub-region fb5 is represented by 10.5KHz, the sub-region fb6 is represented by 11.5KHz, and the bit frequencies are different from the mark frequency fm, the first frequency f1, and the second frequency f 2.
In this embodiment, the number of bits is 3 bits to represent the time length of the subsequent waveform to be analyzed, wherein the first time length T1 is 5 unit length, the second time length T2 is 1 unit length, and when 3 bits are used for representation, the first length information is 101, and the second length information is 001. Since the time required for analysis and testing is proportional to the signal length and related to the number of waveform cycles required, a shorter time is required for the high frequency waveform to complete the analysis.
For example, when the audio test system 2 needs to use 10 cycles for data analysis, 10ms is needed for the first frequency f1 of 1KHz, and only 2ms is needed for the second frequency f2 of 5 KHz. Therefore, the time for testing the audio TA is only 2 × 0.5ms +10ms +2ms, which saves considerable time compared to the conventional fixed-length analysis method. Moreover, if the test audio TA includes more high frequencies, more analysis time can be saved.
As shown in fig. 5, the second data signal Info2 includes information on the time length of the second test signal R2, for example, information on the second time length T2. In addition, the second data signal Info2 may represent the second time length T2 of the second test signal R2 by a plurality of bits, for example, the plurality of sub-regions fb4, fb5 and fb6 of FIG. 7 represent the second time length T2 of the second test signal R2 by 3 bits.
By adopting the method for generating the test audio, the relevant time length information is added in front of each test area in the test audio, compared with the traditional analysis mode with fixed length, the method saves considerable time, when the test audio comprises a plurality of frequencies, a user does not need to set the lengths corresponding to the frequencies in advance, the program can be automatically detected, and the convenience of audio analysis is improved.
Next, referring to fig. 2 and fig. 6 together, fig. 6 is a flowchart of a sound reception test procedure according to a first embodiment of the present invention. In order to test the sound reception terminal RUT of the device under test DUT, the test device DT is configured to execute a sound reception test program stored in its built-in memory. Moreover, the test pronunciation terminal TS and the test reception terminal TR can be respectively a standard pronunciation device and a standard recording device after calibration, so as to ensure the accuracy of the test.
As shown in fig. 6, the sound reception procedure includes the following steps:
step S200: the test audio TA1 is sent through the test pronunciation terminal TS, and the DUT is controlled to receive the test audio TA1 through the radio receiving terminal RUT to generate a first audio AUT1 to be tested.
As shown in FIG. 2, the test audio TA1 includes a marker signal MK, a first test signal R1 and a second test signal R2. The marker signal MK is set at the start point of the test audio TA1 and has a marker frequency fm and a marker length Tm. The first test signal R1 is disposed behind the mark signal MK and has a first frequency f1 and a first time duration T1, and the second test signal R2 is disposed behind the first test signal R1 and has a second frequency f2 and a second time duration T2.
Step S202: the first audio to be detected AUT1 is analyzed to find a region of the first audio to be detected AUT1 where the frequency is within a predetermined range, and a first analysis start Tstart1 is marked based on the region.
For example, the test host TM may execute audio analysis software to identify the marker signal MK using 2500Hz as the marker frequency fm. Therefore, a predetermined range to be detected, for example, a range of 2400Hz to 2600Hz, may be set in advance, and after sampling a plurality of cycles in the marker signal MK, a position where a start point is to be set may be determined.
Furthermore, to avoid background noise with the same mark frequency fm as the mark signal MK, a digital signal processing algorithm may be used to detect the background noise. For example, the Goertzel algorithm, which was introduced by Gerald Goertzel in 1958, for digital signal processing, is used in the context of discrete Fourier transforms, in order to extract the energy of a signal of a particular frequency from a given sample, which can be used to evaluate the effectiveness. Since the energy of the background noise is much smaller than the energy of the test audio, the energy of the first audio to be tested AUT1 corresponding to the mark frequency fm is detected by a digital signal processing algorithm, and the time point when this predetermined energy is detected can be set as the first analysis start point Tstart 1.
Step S204: the first audio to be tested AUT1 is analyzed in the region after the first analysis start Tstart1 based on the mark length Tm, the first frequency f1 and the first time length T1 to generate a sound pickup test result. In this step, the testing device TD analyzes the first audio to be tested AUT1 to detect audio parameters of the device to be tested, such as Total Harmonic Distortion (THD), Sound Pressure Level (SPL), signal-to-noise ratio (SNR), etc.
In detail, after the first analysis start Tstart1 is set, the first audio AUT1 may be sampled after a specific time length Tm', which may be the time length of the mark signal MK, i.e., the mark length Tm. In addition, since the first frequency f1 is known, the audio parameters at the first frequency f1 of the sound receiving end can be analyzed by sampling the first predetermined sampling length Ta at the first frequency f1, for example, ten cycles. The first test length Tb of the first test signal R1 can be half of the first time length T1 of the first test signal R1.
On the other hand, since the first audio AUT1 to be tested further includes the second test signal R2 having the second frequency f2 and the second time length T2, after the first analysis start Tstart1 is set, the first audio AUT1 to be tested can be sampled at the second frequency f2 as a start point for analyzing the second test signal after the specific time length Tm' and the first test length Tb have elapsed, and the first test length Tb can be the known first time length T1. In addition, since the second frequency f2 is known, the audio parameters at the second frequency f2 of the sound receiving end can be analyzed by sampling the second predetermined sampling length Tc with the second frequency f2, for example, ten cycles. In analogy, if the test audio TA1 further includes other test regions, after the specific time length Tm', the first test length Tb, and the second test length Td elapses from the first analysis start point Tstart1, the first audio AUT1 starts to be sampled at other test frequencies, and the second test length Td may be a known second time length T2. Preferably, the mark length Tm may be less than or equal to half of the first time length T1 to save the test time, but the present invention is not limited thereto.
[ second embodiment ]
Referring to fig. 7, a second embodiment of the invention provides a method for analyzing a test audio, and fig. 7 is a flowchart of the method for analyzing a test audio according to the second embodiment of the invention. The method for generating test audio according to the present invention is suitable for a device under test in a first embodiment, for example, as shown in fig. 1, the device under test DUT is configured to receive the test audio TA2, the test audio TA2 includes a marker signal MK and a first test signal R1, the position of the first test signal R1 is behind the marker signal MK, and the marker signal MK includes a marker frequency fm.
As shown in the figure, the method for analyzing the test audio of the present embodiment includes the following steps:
step S300: a test audio is received.
Step S301: the analysis start point is set when the marker frequency is identified in the self-test audio.
Furthermore, if the test audio further includes a first data signal located between the mark signal and the first test signal, for example, as shown in fig. 5, the first data signal Info1 includes information of the first time length T1 of the first test signal R1, then step S302 is proceeded: the first data signal is identified and information of the time length of the first test signal is obtained.
Step S303: a specific time length is added from the analysis starting point as a starting point for analyzing the first test signal. For example, the specific time length may be a time length of the marker signal MK, such as the marker length Tm shown in fig. 3. Optionally, in step S303, analyzing the first test signal by half of the time length of the first test signal is further included.
Similarly, if the test audio further includes a second data signal located between the first test signal and the second test signal, for example, as shown in fig. 5, the second data signal Info2 includes information of the second time length T2 of the second test signal R2, then step S304 is entered: the second data signal is identified and information of the time length of the second test signal is obtained.
On the other hand, if the test audio includes a second test signal whose position is after the first test signal, the method for analyzing the test audio of this embodiment further includes step S305: adding a specific time length and the time length of the first test signal from the analysis starting point to serve as a starting point for analyzing the second test signal. For example, the specific time length and the time length of the first test signal can be the time length of the marker signal MK, such as the marker length Tm shown in FIG. 4, and the first time length T1 of the first test signal R1, respectively. Optionally, in step S305, analyzing the second test signal by half of the time length of the second test signal is further included.
By adopting the analysis method of the test audio of the embodiment, the time length information related to the front of the test signal can be judged in advance to set the analysis time for different test signals, and compared with the traditional analysis mode with fixed length, the method saves considerable time.
On the other hand, in order to test the pronunciation terminal SUT of the device-under-test DUT, a pronunciation test program may be further executed. Referring to fig. 1, 4 and 8, fig. 8 is a flowchart of a pronunciation test procedure according to a second embodiment of the invention. As shown, the testing device TD may be configured to perform a pronunciation testing procedure, comprising the following steps:
step S400: and controlling the device to be tested TD to send a test audio TA2 through the pronunciation end SUT and receive a test audio TA2 through the test reception end TR to generate a second audio AUT2 to be tested.
Step S402: the second audio AUT under test 2 is analyzed to find out the region of the second audio AUT under test 2 with the frequency within the predetermined range, and the region is marked as the second analysis Start 2.
Similarly, the test host TM may execute audio analysis software to find the marker signal MK using 2500Hz as the marker frequency fm. Therefore, a predetermined range to be detected, for example, a range of 2400Hz to 2600Hz, may be set in advance, and after sampling a plurality of cycles in the marker signal MK, a position where a start point is to be set may be determined. In addition, the energy of the second audio AUT2 to be tested corresponding to the marker frequency fm can be detected by a digital signal processing algorithm, and the time point when the energy is detected to be greater than the predetermined energy can be set as the second analysis starting point Tstart 2.
Step S404: and analyzing the region of the second audio AUT2 to be tested after the second analysis starting point Tstart2 based on the mark length Tm, the first time length T1, the second frequency f2 and the second time length T2 to generate a pronunciation test result. In this step, the second time length T2 of the second test signal R2 may be half of the second time length T2 of the second test signal R2. The testing device TD analyzes the second audio under test AUT2 to detect audio parameters of the device under test, such as Total Harmonic Distortion (THD), Sound Pressure Level (SPL), signal-to-noise ratio (SNR), and the like. The method for analyzing the second audio AUT2 to be tested by the testing device TD is the same as the method for analyzing the first audio AUT1 to be tested, and therefore, the description thereof is omitted here.
Therefore, the audio test system of the invention adds the mark area to the test audio, so that the test host can know the exact starting point of the test audio to improve the accuracy of analysis, and can eliminate the interval of noise and time difference when the test audio is not played. Moreover, the energy of the corresponding marking frequency in the audio frequency to be detected is detected by the digital signal processing algorithm, so that the background noise with the marking frequency same as that of the marking area can be avoided, and the analysis accuracy is improved.
[ third embodiment ]
Referring to fig. 9, a third embodiment of the invention provides an audio test system 2, which includes a test device TD and a device under test DUT. The test device DT comprises a test host TM and a test pronunciation terminal TS, and the device to be tested DUT is connected with the test device TD and comprises a sound receiving terminal RUT. Here, the configurations of the test device TD and the DUT are similar to those of the previous embodiments, and therefore are not described herein.
In order to test the sound receiving terminal RUT of the device under test DUT, the test host TM is configured to execute the sound receiving test program stored in the built-in memory. Moreover, the test pronunciation terminal TS can be a standard pronunciation device with calibration to ensure the accuracy of the test. The sound receiving test procedure is similar to the previous embodiment, and sends the test audio TA through the test sound terminal TS, and controls the DUT to record through the sound receiving terminal RUT to generate the first audio AUT 1.
Therefore, please refer to fig. 10, which is a partial flowchart of a radio reception testing procedure according to a third embodiment of the present invention. As shown, the radio reception test procedure further includes the following steps:
step S500: the first length information of the first data signal is analyzed to obtain a first time length.
Step S502: and analyzing the area of the first to-be-detected audio from the first analysis starting point to the mark length based on the first frequency and the first time length to generate a radio reception test result.
Step S504: the second length information of the second data signal is analyzed to obtain a second time length.
Step S506: and analyzing the area of the first to-be-detected audio from the first analysis starting point to the mark length and after the first time length based on the second frequency and the second time length to generate another radio reception test result.
In this embodiment, by adding the relevant time length information in front of each test area in the test audio, compared with the traditional analysis mode with fixed length, considerable time is saved, when the test audio comprises a plurality of frequencies, a user does not need to set the lengths corresponding to the frequencies in advance, the program can be automatically detected, and the convenience of audio analysis is improved.
[ fourth embodiment ]
Referring to fig. 11, a fourth embodiment of the invention provides an audio test system 3, which includes a test device TD and a device under test DUT. The test device TD comprises a test host TM and a test reception end TR, and the device to be tested DUT is connected with the test device TD and comprises a pronunciation end SUT. Here, the configurations of the test device TD and the DUT are similar to those of the previous embodiments, and therefore are not described herein.
In order to test the pronunciation terminal SUT of the device under test DUT, the test host TM is configured to execute a pronunciation test program stored in its built-in memory. Moreover, the test sound receiving end TR can be a standard sound recording device which is corrected so as to ensure the accuracy of the test. The articulation test procedure is similar to the previous embodiment, and controls the DUT to send a test audio TA through the articulation terminal SUT and record through the test sound reception terminal TR to generate a second test audio AUT 2.
Similarly, the pronunciation test procedure can also be performed by using the test audio TA of the second embodiment. The analyzing may also include analyzing the first length information of the first data signal to obtain a first time length, and analyzing a region of the second audio to be tested from the first analyzing start point to the mark length based on the first frequency and the first time length to generate a pronunciation test result.
[ fifth embodiment ]
Please refer to fig. 12, which is a flowchart illustrating an audio testing method according to a fifth embodiment of the present invention. The audio test method of the present invention is applicable to the audio test systems in the first to fourth embodiments, but is not limited thereto. In addition, the detailed test procedures are all described in the above embodiments, and thus are not described again.
As shown in the figure, the audio testing method of the present embodiment includes the following steps:
step S600: the testing device is connected to the device to be tested.
Step S601: the testing device is configured to execute the radio receiving testing program.
Step S602: and sending a test audio through the test pronunciation end, and controlling the device to be tested to record through the reception end so as to generate a first audio to be tested.
Step S603: and analyzing the first audio to be detected to find out a region of the first audio to be detected, wherein the frequency of the first audio to be detected is within a preset range, and marking a first analysis starting point based on the region.
Step S604: and analyzing the area of the first to-be-detected audio after the first analysis starting point based on the mark length, the first frequency and the first time length to generate a radio reception test result.
Step S605: the testing device is configured to execute a pronunciation test program.
Step S606: and controlling the device to be tested to send a test audio through the pronunciation end and recording through the test reception end so as to generate a second audio to be tested.
Step S607: and analyzing the second audio to be detected to find out the area of the second audio to be detected, wherein the frequency of the second audio to be detected is within the preset range, and marking the area as a second analysis starting point.
Step S608: and analyzing the area of the second audio to be tested after the second analysis starting point based on the mark length, the second frequency and the second time length to generate a pronunciation test result.
[ advantageous effects of the embodiments ]
The method for generating and analyzing the test audio has the advantages that the mark area is added into the test audio, so that the exact starting point of the test audio can be known to improve the accuracy of analysis, and meanwhile, the noise and the time difference interval when the test audio is not played can be eliminated.
Furthermore, the energy of the corresponding marking frequency in the audio frequency to be detected is detected by the digital signal processing algorithm, so that the background noise with the marking frequency same as that of the marking area can be avoided, and the analysis accuracy is improved.
In addition, relevant time length information is added in front of each test area in the test audio, compared with the traditional analysis mode with fixed length, considerable time is saved, when the test audio comprises a plurality of frequencies, a user does not need to set the lengths corresponding to the frequencies in advance, the program can be automatically detected, and the convenience of audio analysis is improved.
The disclosure is only a preferred embodiment of the invention and should not be taken as limiting the scope of the invention, which is defined by the appended claims.

Claims (12)

1. A test audio generating method is used for a testing device, and is characterized in that the testing device is used for generating the test audio and providing the test audio to a device to be tested for testing, and the test audio generating method comprises the following steps:
generating a mark signal, wherein the mark signal comprises a mark frequency, and the device to be tested can judge the analysis starting point of the test audio frequency according to the mark frequency;
generating a first test signal, wherein the first test signal comprises a first frequency, and the first frequency is different from the mark frequency;
forming a test audio by the mark signal and the first test signal, wherein the position of the first test signal is behind the mark signal;
generating a second test signal, wherein the second test signal comprises a second frequency different from the mark frequency or the first frequency;
wherein, in the step of forming the marking signal and the first test signal into the test audio, the method further comprises: forming the marking signal, the first test signal and the second test signal into the test audio, wherein the second test signal is positioned behind the first test signal; and
generating a first data signal, wherein the first data signal includes information of a time length of the first test signal;
wherein, in the step of forming the marking signal, the first test signal and the second test signal into the test audio, the method further comprises: the mark signal, the first test signal, the second test signal and the first data signal are formed into the test audio, wherein the position of the first data signal is between the mark signal and the first test signal.
2. The method of claim 1, wherein the mark frequency is not a multiple of the first frequency or the second frequency.
3. The method of claim 1, wherein the time length of the mark signal is less than or equal to half of the time length of the first test signal.
4. The method of claim 3, wherein the mark frequency is not a multiple of the first frequency.
5. The method of claim 1, wherein the first data signal represents the time duration of the first test signal with a plurality of bits.
6. The test audio generating method according to claim 1, further comprising the steps of:
generating a second data signal, wherein the second data signal includes information of the time length of the second test signal:
wherein, in the step of forming the mark signal, the first test signal, the second test signal and the first data signal into the test audio, the method further comprises: and forming the mark signal, the first test signal, the second test signal, the first data signal and the second data signal into the test audio, wherein the position of the second data signal is between the first test signal and the second test signal.
7. The method of claim 6, wherein the second data signal represents the time duration of the second test signal with a plurality of bits.
8. A method for analyzing a test audio for a device under test, the method comprising:
receiving the test audio, wherein the test audio comprises a mark signal and a first test signal, the position of the first test signal is behind the mark signal, and the mark signal comprises a mark frequency;
setting an analysis starting point when the marking frequency is identified from the test audio; and
adding a specific time length from the analysis starting point to serve as a starting point for analyzing the first test signal;
wherein the test audio further comprises a second test signal, the position of the second test signal is behind the first test signal, and the method for analyzing the test audio further comprises: adding the specific time length and the time length of the first test signal from the analysis starting point to serve as a starting point for analyzing the second test signal;
wherein in the step of adding the time length of the first test signal from the analysis start point as the start point of analyzing the second test signal, and wherein the time length of analyzing the second test signal is half of the time length of the second test signal.
9. The method of claim 8, wherein the specific time duration is a time duration of the flag signal.
10. The method of claim 8, wherein the step of adding the specific time duration from the analysis start point as the start point of the analysis of the first test signal is further included, wherein
The time length of analyzing the first test signal is half of the time length of the first test signal.
11. The method of claim 9, wherein the test audio further comprises a first data signal, the position of the first data signal is between the mark signal and the first test signal, wherein the first data signal comprises information about the time length of the first test signal, and the method of analyzing the test audio further comprises the following steps after the step of setting the analysis start point when the mark signal is recognized from the test audio:
the first data signal is identified and information of the time length of the first test signal is obtained.
12. The method according to claim 11, wherein the test audio further comprises a second data signal, the location of the second data signal is between the first test signal and the second test signal, wherein the second data signal comprises information about the time duration of the second test signal, and the method for analyzing the test audio further comprises the following steps after the step of setting the analysis start point when the marker signal is identified from the test audio:
the second data signal is identified and information of the time length of the second test signal is obtained.
CN202010441187.4A 2019-05-22 2020-05-22 Test audio generation method and analysis method Active CN111988722B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW108117673A TWI698650B (en) 2019-05-22 2019-05-22 Test audio generation method and analysis method
TW108117673 2019-05-22

Publications (2)

Publication Number Publication Date
CN111988722A CN111988722A (en) 2020-11-24
CN111988722B true CN111988722B (en) 2021-09-28

Family

ID=72601912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010441187.4A Active CN111988722B (en) 2019-05-22 2020-05-22 Test audio generation method and analysis method

Country Status (2)

Country Link
CN (1) CN111988722B (en)
TW (1) TWI698650B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473348B (en) * 2021-07-26 2023-03-24 深圳市冠旭电子股份有限公司 Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment
CN114071343A (en) * 2021-11-15 2022-02-18 苏州华兴源创科技股份有限公司 Testing method and testing device for audio equipment and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60131000A (en) * 1983-12-20 1985-07-12 Japan Radio Co Ltd Method for informing position of seat of talker in conference use public-address system to all participants
US7039201B1 (en) * 2000-10-31 2006-05-02 Leetronics Corporation Audio signal phase detection system and method
CN1855694A (en) * 2005-04-20 2006-11-01 索尼株式会社 Method of generating test tone signal and test-tone-signal generating circuit
CN101365261A (en) * 2008-09-26 2009-02-11 嘉兴中科声学科技有限公司 Method for speaker parameter fast detection analog synchronization signal and detection system
CN105517651A (en) * 2014-05-13 2016-04-20 华为技术有限公司 Audio data testing method and device
CN106161705A (en) * 2015-04-22 2016-11-23 小米科技有限责任公司 Audio frequency apparatus method of testing and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5625747A (en) * 1994-09-21 1997-04-29 Lucent Technologies Inc. Speaker verification, speech recognition and channel normalization through dynamic time/frequency warping
JP4189682B2 (en) * 2005-05-09 2008-12-03 ソニー株式会社 Speaker check device and check method
US7550977B2 (en) * 2005-09-27 2009-06-23 Ronald Quan Method and apparatus to measure differential phase and frequency modulation distortions for audio equipment
TWI469648B (en) * 2011-12-05 2015-01-11 Inventec Corp Audio testing system and audio testing method for under-testing device
CN103167391B (en) * 2011-12-12 2016-04-13 英业达股份有限公司 The audio testing method of audio test system and test system
EP3358857B1 (en) * 2016-11-04 2020-04-15 Dolby Laboratories Licensing Corporation Intrinsically safe audio system management for conference rooms
CN108810786A (en) * 2018-05-03 2018-11-13 华勤通讯技术有限公司 A kind of audio testing method, device and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60131000A (en) * 1983-12-20 1985-07-12 Japan Radio Co Ltd Method for informing position of seat of talker in conference use public-address system to all participants
US7039201B1 (en) * 2000-10-31 2006-05-02 Leetronics Corporation Audio signal phase detection system and method
CN1855694A (en) * 2005-04-20 2006-11-01 索尼株式会社 Method of generating test tone signal and test-tone-signal generating circuit
CN101365261A (en) * 2008-09-26 2009-02-11 嘉兴中科声学科技有限公司 Method for speaker parameter fast detection analog synchronization signal and detection system
CN105517651A (en) * 2014-05-13 2016-04-20 华为技术有限公司 Audio data testing method and device
CN106161705A (en) * 2015-04-22 2016-11-23 小米科技有限责任公司 Audio frequency apparatus method of testing and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
High quality digital audio experiments for a signal processing first course;Mark A. Wickert;《2011 Digital Signal Processing and Signal Processing Education Meeting (DSP/SPE)》;20110324;全文 *
扬声器电声参数自动测试系统的设计;郭庆;《科学技术与工程》;20151215;全文 *

Also Published As

Publication number Publication date
CN111988722A (en) 2020-11-24
TW202043785A (en) 2020-12-01
TWI698650B (en) 2020-07-11

Similar Documents

Publication Publication Date Title
CN109491902B (en) Interactive testing method, device and system
CN111988722B (en) Test audio generation method and analysis method
CN103167391B (en) The audio testing method of audio test system and test system
TWI469648B (en) Audio testing system and audio testing method for under-testing device
US8035506B2 (en) System and method for calibration of radio frequency location sensors
US20080144847A1 (en) Apparatus and method for playback test of an audio device
US20090316917A1 (en) Audio testing system and method
US20110057643A1 (en) Oscillograph and signal integrity test method using the oscillograph
CN104854635A (en) Safe audio playback in a human-machine interface
CN104105047A (en) Audio detection apparatus and method
CN101832813A (en) Noise and Vibration-Measuring System based on virtual instrument technique
US20080133036A1 (en) Apparatus and method for playback test
CN111276160A (en) Audio detection method and device
US20050046430A1 (en) RF testing method and arrangement
JP2007174176A (en) Unit and method for testing communication terminal
CN114614915A (en) Radio frequency transceiving test method, radio frequency transceiving test device, computer equipment and medium
CN101620005A (en) Mainboard sound test system and method therefor
US20120197583A1 (en) Electronic device and method for automatically testing printed circuit boards
CN110996244A (en) Microphone array performance test method, device and system
US8428424B2 (en) Apparatus and method for testing signal channels of digital video recorder
US20210357494A1 (en) User authentication method using ultrasonic waves
CN112506723A (en) Circuit board detection method and device, electronic equipment and storage medium
CN111148005A (en) Method and device for detecting mic sequence
CN113220517B (en) Operation time-consuming test system, signal processing equipment and signal processing method
US10643657B1 (en) Signal acquisition apparatus and signal acquisition method

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