CN111613248A - Pickup testing method, device and system - Google Patents

Pickup testing method, device and system Download PDF

Info

Publication number
CN111613248A
CN111613248A CN202010376774.XA CN202010376774A CN111613248A CN 111613248 A CN111613248 A CN 111613248A CN 202010376774 A CN202010376774 A CN 202010376774A CN 111613248 A CN111613248 A CN 111613248A
Authority
CN
China
Prior art keywords
voice
test
playing
equipment
tested
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.)
Pending
Application number
CN202010376774.XA
Other languages
Chinese (zh)
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.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202010376774.XA priority Critical patent/CN111613248A/en
Publication of CN111613248A publication Critical patent/CN111613248A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination

Abstract

The invention provides a pickup test method, equipment and a system, wherein the method comprises the following steps: acquiring first test voice collected by equipment to be tested, wherein the first test voice is voice of a first playing device collected by the equipment to be tested playing a test audio file; acquiring voice characteristic parameters of the first test voice; comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result; under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device; and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment. The embodiment of the invention can improve the accuracy of the test result.

Description

Pickup testing method, device and system
Technical Field
The invention relates to the technical field of testing, in particular to a pickup testing method, equipment and system.
Background
Along with the development of artificial intelligence, intelligent sound control equipment is developed more rapidly. The intelligent sound control device, for example, an intelligent sound box, can perform corresponding functions according to recognized voice after collecting sound signals and performing voice recognition. In order to detect whether the intelligent sound control equipment is qualified, the sound pickup test is required to be carried out on the intelligent sound control equipment. The sound pickup test is to play test sound in a test environment, detect whether the intelligent sound control device performs voice recognition according to the collected test sound and executes corresponding functions according to the recognized voice after collecting the played test sound.
Pickup test needs to carry out many times of tests, and the test environment of test at every turn is not necessarily the same, and different test environment can influence the test result to make the accuracy of test result poor.
Disclosure of Invention
The embodiment of the invention provides a pickup testing method, equipment and a system, which aim to solve the problem of poor accuracy of a testing result caused by different testing environments in the pickup testing process in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a pickup testing method, where the method includes:
acquiring first test voice collected by equipment to be tested, wherein the first test voice is voice of a first playing device collected by the equipment to be tested playing a test audio file;
acquiring voice characteristic parameters of the first test voice;
comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result;
under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
In a second aspect, an embodiment of the present invention provides a sound pickup testing apparatus, including:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first test voice acquired by equipment to be tested, and the first test voice is voice of a first playing equipment playing test audio file acquired by the equipment to be tested;
the second acquisition module is used for acquiring the voice characteristic parameters of the first test voice;
the comparison module is used for comparing the voice characteristic parameters of the first test voice with the reference voice characteristic parameters to obtain comparison results;
the processing module is used for adjusting the playing setting parameters of the first playing device based on the comparison result or outputting prompt information under the condition that the comparison result does not meet a preset condition, wherein the prompt information is used for prompting a user to adjust the playing setting parameters of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps in the pickup testing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a sound pickup test system, where the sound pickup test system includes a device to be tested and a sound pickup test device, the device to be tested is in communication connection with the sound pickup test device, and the sound pickup test device is the sound pickup test device according to the second aspect.
In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the pickup testing method according to the first aspect.
In the embodiment of the invention, first test voice collected by equipment to be tested is obtained, wherein the first test voice is voice of a first playing equipment playing test audio file collected by the equipment to be tested; acquiring voice characteristic parameters of the first test voice; comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result; under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device; and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment. Therefore, the playing setting parameters of the first playing device can be adjusted based on the comparison result, or prompt information is output, so that the influence of different testing environments on the testing result can be avoided, and the accuracy of the testing result can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a pickup testing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a testing environment provided by an embodiment of the invention;
fig. 3 is a schematic structural diagram of a pickup testing apparatus according to an embodiment of the present invention;
fig. 4 is a second schematic structural diagram of a sound pickup testing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a pickup testing method according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step 101, acquiring a first test voice collected by a device to be tested, wherein the first test voice is a voice of a first playing device collected by the device to be tested playing a test audio file.
The sound pickup test method can be applied to sound pickup test equipment. The first playing device may be a device with a playing function, such as a computer or a sound box, and the first playing device may be a part of the sound pickup testing device, for example, the sound pickup testing device may be a computer, and the first playing device may be an external sound box of the sound pickup testing device; alternatively, the first playback device may be a separate device, such as a computer. The test audio file may be a preset audio file, and in order to adjust the playing setting parameters of the first playing device better, so as to improve the accuracy of the test result, the test audio file may include a preset signal, for example, the test audio file may include a chrip signal (chirp signal), and the chrip signal may be a signal whose instantaneous frequency changes with time within a certain range. In practical application, the test audio file may be a fixed-duration audio file, and the chrip signal is added to the beginning and the end of the audio file.
And 102, acquiring the voice characteristic parameters of the first test voice.
Wherein the voice feature parameter of the first test voice may be obtained based on the amplitude of the first test voice. Taking the first playing device as an example of a sound box, the sound box plays a test audio file, the device to be tested records, and collects a first test voice, for example, the first test voice may be an a.pcm audio file. The voice characteristic parameter of the first test voice may include a magnitude of each sampling point in the a.pcm audio file, or the voice characteristic parameter of the first test voice may be calculated based on the magnitude of each sampling point in the a.pcm audio file.
Step 103, comparing the voice characteristic parameter of the first test voice with a reference voice characteristic parameter to obtain a comparison result.
The reference voice characteristic parameter may be a voice characteristic parameter of a preset audio file, for example, the reference voice characteristic parameter may include a magnitude of each sampling point in the preset audio file, or the reference voice characteristic parameter may be obtained by calculation based on the magnitude of each sampling point in the preset audio file; or, a second test voice collected by the device to be tested can be obtained, the second test voice is the voice of the test audio file played by the second playing device collected by the device to be tested, and the voice characteristic parameter of the second test voice is obtained, wherein the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
In addition, in the case that the voice feature parameter of the first test voice includes the amplitude of each sampling point of the first test voice, and the reference voice feature parameter includes the amplitude of each sampling point in the preset audio file, the comparison result may be a curve comparison graph of the voice feature parameter of the first test voice and the reference voice feature parameter, for example, a first curve of the voice feature parameter of the first test voice with respect to time and a second curve of the reference voice feature parameter with respect to time may be drawn on the curve comparison graph; or, in the case that the voice feature parameter of the first test voice is a value calculated based on the amplitude of each sampling point in the first test voice, and the reference voice feature parameter is a value calculated based on the amplitude of each sampling point in a preset audio file, the comparison result may include a ratio of the voice feature parameter of the first test voice to the reference voice feature parameter.
Step 104, under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
The playing setting parameter may include a playing volume, or may also include a reverberation value, or may also include superimposed noise, or the like. When the comparison result is a curve comparison graph of the voice characteristic parameter of the first test voice and the reference voice characteristic parameter, the comparison result does not satisfy a preset condition, where an amplitude difference corresponding to a certain time point between the first curve and the second curve is greater than a third preset value, and the third preset value may be 0.5dB, 2dB, or 3dB, and so on; when the comparison result includes a ratio of the speech feature parameter of the first test speech to the reference speech feature parameter, the comparison result does not satisfy a preset condition, which may be that the ratio is greater than a first preset value or the ratio is smaller than a second preset value, the first preset value is a positive number greater than or equal to 1, and the second preset value is a positive number less than or equal to 1. The first test voice collected by the equipment to be tested can be obtained for multiple times, and the playing setting parameters of the first playing equipment are adjusted for multiple times until the comparison result meets the preset condition. After the comparison result meets the preset condition, the device to be tested can perform pickup test based on the adjusted play setting parameter of the first playing device.
In addition, the comparison result may include a ratio of the voice feature parameter of the first test voice to the reference voice feature parameter, the playing setting parameter may include a playing volume, and adjusting the playing setting parameter of the first playing device based on the comparison result may include: if the ratio is larger than a first preset value, reducing the playing volume of the first playing device; and if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device. The playing setting parameters of the first playing device can be adjusted for multiple times, and the first test voice collected by the device to be tested is obtained for multiple times until the comparison result is less than or equal to a first preset value and greater than or equal to a second preset value. The prompt message may include the comparison result, or the prompt message may include: and reducing the playing volume of the first playing device or increasing the playing volume of the first playing device.
Further, the acquiring of the first test voice collected by the device to be tested may be acquiring the first test voice collected by the device to be tested in the first test environment. The reference voice characteristic parameter may be a voice characteristic parameter of a second test voice collected by the device under test in a second test environment. The first playing device can be placed at a preset position under a first test environment. Before acquiring a first test voice collected by a device to be tested, the first test environment and the second test environment can be aligned, and the first test environment and the second test environment can be aligned by measuring a measurable value under the test environment, so that the basic environments of the first test environment and the second test environment are consistent. The measurable values may include a reverberation value, a distance, a decibel value, and the like, for example, the reverberation value of the room of the first test environment may be the same as the reverberation value of the room of the second test environment, the distance between the device under test and the playing device in the first test environment is the same as the distance between the device under test and the playing device in the second test environment, and the like. And aligning the first test environment and the second test environment by taking the second test environment as a standard, thereby realizing the alignment of the two test environments.
In practical applications, taking the test of the wake-up rate in a quiet scene with a distance of 3 meters as an example, as shown in fig. 2, the straight-line distance between the device under test 201 and the playback device 202 may be set to 3 meters. To align the first and second test environments, when arranging the first and second test environments, each may be arranged as follows: in order to test the effect of far-field equipment and avoid strong interference of reverberation, the selected room can be a room which is larger than 30 square meters, has a length of more than 6 meters and has no obvious strong reflecting surface, and the reverberation value of the room can be smaller than or equal to 0.4; the distance between the equipment to be tested and the playing equipment for playing the test audio file and the placing angle between the equipment to be tested and the playing equipment can be determined through measuring by a tape measure and a protractor, the table and the chair in a room can be placed at a fixed position, no shielding object is placed between the equipment to be tested and the playing equipment, and the equipment to be tested can be arranged to be far away from the wall surface by more than 0.5 m; the test audio file can be played by adopting a playing device, and the decibel value measured by the sound level meter at the microphone of the device to be tested is an expected value by adjusting the volume of the playing device. The sound level meter may be a calibrated sound level meter that may be tuned to dBA weighted mode FAST (FAST) sampling state.
It should be noted that, taking the device to be tested as the smart device as an example, the user may control the smart device through the voice instruction, for example, the smart device may be a smart speaker. Before the product is sold, the intelligent device needs to be tested, and the product test can identify the correctness, integrity, safety and quality of the product. Before the smart device comes to the market, the pickup test needs to be performed. Testing is required each time a product software version is updated, and multiple tests are required for each software version. The test environment of each test is not necessarily the same, and different test environments may affect the test result. For example, even if the test is performed in the same room, the environmental parameters may change due to the increase and decrease of the home in the room or the movement of the placement direction, for example, resulting in different reverberation values. In addition, in each test, even if the device under test is a mass production device of the same batch, the sound pickup parameters such as the sensitivity of the microphone are different, which results in a large difference in the test result. In the embodiment of the invention, the first test voice collected by the equipment to be tested is obtained, and the play setting parameter of the first play equipment is adjusted by using the voice signal entering the equipment to be tested, so that the influence of different test environments on the test result can be avoided, and the condition that whether the external environments of multiple tests are the same is not simply checked.
In the embodiment of the invention, first test voice collected by equipment to be tested is obtained, wherein the first test voice is voice of a first playing equipment playing test audio file collected by the equipment to be tested; acquiring voice characteristic parameters of the first test voice; comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result; under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device; and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment. Therefore, the playing setting parameters of the first playing device can be adjusted based on the comparison result, or prompt information is output, so that the influence of different testing environments on the testing result can be avoided, and the accuracy of the testing result can be improved.
Optionally, before the obtaining of the first test voice collected by the device to be tested, the method further includes:
acquiring second test voice collected by equipment to be tested, wherein the second test voice is voice of playing the test audio file by second playing equipment collected by the equipment to be tested;
acquiring voice characteristic parameters of the second test voice;
and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
The second playing device may be a device with a playing function, such as a computer or a sound box, and the second playing device may be the same as the first playing device or different from the first playing device. The voice feature parameter of the second test voice may be obtained based on the magnitude of the second test voice. The position of the first playing device relative to the device under test may be the same as the position of the second playing device relative to the device under test. For example, the first playback device may be placed 1m directly in front of the device under test, and the second playback device may be placed 1m directly in front of the device under test.
In practical application, taking the second playing device as an example of a sound box, the sound box plays the test audio file, the device to be tested records, and collects the second test voice, for example, the second test voice may be a b.pcm audio file. The voice characteristic parameter of the second test voice may include a magnitude of each sampling point in the b.pcm audio file, or the voice characteristic parameter of the second test voice may be calculated based on the magnitude of each sampling point in the b.pcm audio file.
In this embodiment, a second test voice collected by a device to be tested is obtained, where the second test voice is a voice of the second playing device collected by the device to be tested playing the test audio file; acquiring voice characteristic parameters of the second test voice; and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice. Like this, through comparing the pronunciation characteristic parameter of first test pronunciation and the pronunciation characteristic parameter of second test pronunciation to the adjustment the broadcast setting parameter of first playback devices can make the test environment of twice tests unanimous, avoids the different influence to the test result of test environment, thereby can improve the accuracy of test result.
Optionally, the play setting parameter includes a play volume.
In this embodiment, the playing setting parameter includes a playing volume, and the playing volume of the first playing device may be adjusted based on the comparison result, or the prompt information may be output, so that the user may adjust the playing volume of the first playing device based on the prompt information, thereby avoiding the influence of different testing environments on the testing result, and improving the accuracy of the testing result.
Optionally, the comparison result includes a ratio of the voice feature parameter of the first test voice to the reference voice feature parameter, and the adjusting the play setting parameter of the first playing device based on the comparison result includes:
if the ratio is larger than a first preset value, reducing the playing volume of the first playing device;
if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device;
the first preset value is a positive number greater than or equal to 1, and the second preset value is a positive number less than or equal to 1.
The first test voice collected by the equipment to be tested for multiple times can be obtained. Taking the example that the device to be tested collects the first test voice a1.pcm audio file for the first time, if the ratio of the voice characteristic parameter of the a1.pcm audio file to the reference voice characteristic parameter is greater than a first preset value, the playing volume of the first playing device can be reduced; the device to be tested can acquire the first test voice for the second time, can acquire the first test voice A2.pcm audio file acquired by the device to be tested for the second time, and can increase the playing volume of the first playing device if the ratio of the voice characteristic parameter of the A2.pcm audio file to the reference voice characteristic parameter is smaller than a second preset value; the equipment to be tested can acquire the first test voice for the third time, and can acquire the first test voice A3.pcm audio file acquired by the equipment to be tested for the third time and compare the first test voice with the pcm audio file again. The comparison can be performed for multiple times until the ratio is less than or equal to a first preset value and greater than or equal to a second preset value.
In practical application, in order to improve the accuracy of the test result, the first preset value and the second preset value may be both 1, and the playing setting parameter of the first playing device is not adjusted until the voice characteristic parameter of the first test voice is the same as the reference voice characteristic parameter.
In this embodiment, if the ratio is greater than a first preset value, the playing volume of the first playing device is decreased; and if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device. In this way, the ratio can be determined within a certain range by reducing or increasing the playing volume of the first playing device, so that the test environments of multiple tests can be consistent.
Optionally, the voice feature parameter of the first test voice is obtained based on the amplitude of the first test voice.
The first test voice may include a plurality of sampling points, the amplitude of each sampling point may be calculated, the amplitudes of each sampling point are added and averaged, and the average of the obtained amplitudes of the plurality of sampling points may be used as a voice characteristic parameter of the first test voice; or, the absolute value of the amplitude of each sampling point may be calculated, the absolute values of the amplitudes of each sampling point are added and then averaged, and the average of the obtained absolute values of the amplitudes of the plurality of sampling points may be used as the voice characteristic parameter of the first test voice; or, the squares of the amplitudes of each of the plurality of sampling points may be calculated, the squares of the amplitudes of each of the plurality of sampling points may be added and then divided by the number of the sampling points to obtain the mean of the squares of the amplitudes of the plurality of sampling points, the calculated mean may be squared to obtain the speech characteristic parameter of the first test speech, and the like. Taking n samples with amplitudes x1, x2, …, xn as an example, where n is a positive integer, the speech characteristic parameter of the first test speech may be:
Figure BDA0002480232860000091
in this embodiment, the speech characteristic parameter of the first test speech is obtained based on the amplitude of the first test speech. Therefore, the amplitude of the test voice collected by the equipment to be tested, which is caused by different test environments, can be prevented from generating large difference, and errors caused by the test environments in the test results can be eliminated.
Optionally, the device under test includes a plurality of microphone channels, and the first test voice includes voice collected by each of the plurality of microphone channels;
the acquiring of the voice feature parameters of the first test voice comprises:
respectively calculating the energy value of the voice collected by each microphone channel based on the amplitude value of the voice collected by each microphone channel;
calculating an average energy value of the voices collected by the plurality of microphone channels based on the energy value of the voice collected by each microphone channel;
the voice characteristic parameters of the first test voice comprise average energy values of voices collected by the plurality of microphone channels.
The energy value of the voice collected by each microphone channel is calculated based on the amplitude of the voice collected by each microphone channel, the square of the amplitude of each sampling point in the multiple sampling points of the voice collected by each microphone channel can be calculated, the square of the amplitude of each sampling point in the multiple sampling points of the voice collected by each sampling point can be added and then divided by the number of the sampling points to obtain the average value of the squares of the amplitudes of the multiple sampling points, and the calculated average value can be squared to obtain the energy value of the voice collected by each microphone channel. Taking the microphone channel 1 as an example, the microphone channel 1 may include m sampling points, and the amplitudes of the m sampling points are y1, y2, …, and ym, respectively, where m is a positive integer, and the energy value of the speech collected by the microphone channel 1 may be:
Figure BDA0002480232860000101
in addition, the average energy value of the voices collected by the plurality of microphone channels is calculated based on the energy value of the voice collected by each microphone channel, and the average value may be obtained by adding the energy values of the voices collected by each microphone channel and averaging the added energy values, and the obtained average value is used as the average energy value of the voices collected by the plurality of microphone channels. Taking k microphone channels as an example, where k is a positive integer, the energy values of the voices collected by the k microphone channels are E1, E2, …, and Ek, respectively, then the average energy value of the voices collected by the k microphone channels may be: (E1+ E2+ … + Ek)/k.
In this embodiment, the voice characteristic parameter of the first test voice is calculated by using the amplitude of the voice collected by each of the plurality of microphone channels, so that the influence of the microphone difference on the test result can be avoided, and the accuracy of the test result can be further improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a sound pickup testing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the sound pickup testing apparatus 300 includes:
the first obtaining module 301 is configured to obtain a first test voice collected by a device to be tested, where the first test voice is a voice of a first playing device collected by the device to be tested playing a test audio file;
a second obtaining module 302, configured to obtain a voice feature parameter of the first test voice;
a comparison module 303, configured to compare the voice feature parameter of the first test voice with a reference voice feature parameter to obtain a comparison result;
a processing module 304, configured to, when the comparison result does not satisfy a preset condition, adjust the play setting parameter of the first playing device based on the comparison result, or output a prompt message, where the prompt message is used to prompt a user to adjust the play setting parameter of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
Optionally, as shown in fig. 4, the pickup testing apparatus 300 further includes:
a third obtaining module 305, configured to obtain a second test voice collected by a device to be tested, where the second test voice is a voice of playing the test audio file by a second playing device collected by the device to be tested;
a fourth obtaining module 306, configured to obtain a voice feature parameter of the second test voice;
and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
Optionally, the play setting parameter includes a play volume.
Optionally, the comparison result includes a ratio of the speech feature parameter of the first test speech to the reference speech feature parameter, and the processing module 304 is specifically configured to:
if the ratio is larger than a first preset value, reducing the playing volume of the first playing device;
if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device;
the first preset value is a positive number greater than or equal to 1, and the second preset value is a positive number less than or equal to 1.
Optionally, the voice feature parameter of the first test voice is obtained based on the amplitude of the first test voice.
Optionally, the device under test includes a plurality of microphone channels, and the first test voice includes voice collected by each of the plurality of microphone channels;
the second obtaining module 302 is specifically configured to:
respectively calculating the energy value of the voice collected by each microphone channel based on the amplitude value of the voice collected by each microphone channel;
calculating an average energy value of the voices collected by the plurality of microphone channels based on the energy value of the voice collected by each microphone channel;
wherein the voice feature parameters of the first test voice comprise average energy values of voices collected by the plurality of microphone channels.
The pickup testing apparatus can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
The embodiment of the invention also provides a pickup test system which comprises equipment to be tested and pickup test equipment, wherein the equipment to be tested is in communication connection with the pickup test equipment, and the pickup test equipment is the pickup test equipment provided by the embodiment of the invention.
In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, and the like.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device 400 includes: a memory 402, a processor 401, and a program stored on the memory 402 and executable on the processor 401, wherein:
the processor 401 reads the program in the memory 402 for executing:
acquiring first test voice collected by equipment to be tested, wherein the first test voice is voice of a first playing device collected by the equipment to be tested playing a test audio file;
acquiring voice characteristic parameters of the first test voice;
comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result;
under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
Optionally, the processor 401 is further configured to perform:
acquiring second test voice collected by equipment to be tested, wherein the second test voice is voice of playing the test audio file by second playing equipment collected by the equipment to be tested;
acquiring voice characteristic parameters of the second test voice;
and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
Optionally, the play setting parameter includes a play volume.
Optionally, the comparison result includes a ratio of the voice feature parameter of the first test voice to the reference voice feature parameter, and the adjusting, performed by the processor 401, the play setting parameter of the first playing device based on the comparison result includes:
if the ratio is larger than a first preset value, reducing the playing volume of the first playing device;
if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device;
the first preset value is a positive number greater than or equal to 1, and the second preset value is a positive number less than or equal to 1.
Optionally, the voice feature parameter of the first test voice is obtained based on the amplitude of the first test voice.
Optionally, the device under test includes a plurality of microphone channels, and the first test voice includes voice collected by each of the plurality of microphone channels;
the obtaining of the voice feature parameters of the first test voice executed by the processor 401 includes:
respectively calculating the energy value of the voice collected by each microphone channel based on the amplitude value of the voice collected by each microphone channel;
calculating an average energy value of the voices collected by the plurality of microphone channels based on the energy value of the voice collected by each microphone channel;
wherein the voice feature parameters of the first test voice comprise average energy values of voices collected by the plurality of microphone channels.
In FIG. 5, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 401, and various circuits, represented by memory 402, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface.
The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 may store data used by the processor 401 in performing operations.
It should be noted that any implementation manner in the method embodiment of the present invention may be implemented by the electronic device in this embodiment, and achieve the same beneficial effects, and details are not described here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing pickup testing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method for testing a pickup, the method comprising:
acquiring first test voice collected by equipment to be tested, wherein the first test voice is voice of a first playing device collected by the equipment to be tested playing a test audio file;
acquiring voice characteristic parameters of the first test voice;
comparing the voice characteristic parameters of the first test voice with reference voice characteristic parameters to obtain a comparison result;
under the condition that the comparison result does not meet a preset condition, adjusting the playing setting parameter of the first playing device based on the comparison result, or outputting prompt information, wherein the prompt information is used for prompting a user to adjust the playing setting parameter of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
2. The method of claim 1, wherein before obtaining the first test voice collected by the device under test, the method further comprises:
acquiring second test voice collected by equipment to be tested, wherein the second test voice is voice of playing the test audio file by second playing equipment collected by the equipment to be tested;
acquiring voice characteristic parameters of the second test voice;
and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
3. The method of claim 1, wherein the playback setting parameter comprises playback volume.
4. The method according to claim 3, wherein the comparison result includes a ratio of the voice feature parameter of the first test voice to the reference voice feature parameter, and the adjusting the playing setting parameter of the first playing device based on the comparison result includes:
if the ratio is larger than a first preset value, reducing the playing volume of the first playing device;
if the ratio is smaller than a second preset value, increasing the playing volume of the first playing device;
the first preset value is a positive number greater than or equal to 1, and the second preset value is a positive number less than or equal to 1.
5. The method according to claim 1, wherein the speech characteristic parameter of the first test speech is obtained based on a magnitude of the first test speech.
6. The method of claim 1, wherein the device under test comprises a plurality of microphone channels, and wherein the first test voice comprises voice collected by each of the plurality of microphone channels;
the acquiring of the voice feature parameters of the first test voice comprises:
respectively calculating the energy value of the voice collected by each microphone channel based on the amplitude value of the voice collected by each microphone channel;
calculating an average energy value of the voices collected by the plurality of microphone channels based on the energy value of the voice collected by each microphone channel;
wherein the voice feature parameters of the first test voice comprise average energy values of voices collected by the plurality of microphone channels.
7. A tone test apparatus, comprising:
the device comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring first test voice acquired by equipment to be tested, and the first test voice is voice of a first playing equipment playing test audio file acquired by the equipment to be tested;
the second acquisition module is used for acquiring the voice characteristic parameters of the first test voice;
the comparison module is used for comparing the voice characteristic parameters of the first test voice with the reference voice characteristic parameters to obtain comparison results;
the processing module is used for adjusting the playing setting parameters of the first playing device based on the comparison result or outputting prompt information under the condition that the comparison result does not meet a preset condition, wherein the prompt information is used for prompting a user to adjust the playing setting parameters of the first playing device;
and the equipment to be tested performs sound pickup test based on the adjusted playing setting parameters of the first playing equipment.
8. The tone testing apparatus of claim 7, further comprising:
the third obtaining module is used for obtaining a second test voice collected by the equipment to be tested, wherein the second test voice is a voice of the second playing equipment collected by the equipment to be tested for playing the test audio file;
the fourth obtaining module is used for obtaining the voice characteristic parameters of the second test voice;
and the reference voice characteristic parameter is the voice characteristic parameter of the second test voice.
9. An electronic device, comprising: memory, a processor and a program stored on the memory and executable on the processor, which when executed by the processor implements the steps in the pickup testing method of any of claims 1 to 6.
10. A sound pickup test system, characterized in that, the sound pickup test system includes a device to be tested and a sound pickup test device, the device to be tested is connected with the sound pickup test device in communication, the sound pickup test device is the sound pickup test device of any one of claims 7 to 8.
CN202010376774.XA 2020-05-07 2020-05-07 Pickup testing method, device and system Pending CN111613248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010376774.XA CN111613248A (en) 2020-05-07 2020-05-07 Pickup testing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010376774.XA CN111613248A (en) 2020-05-07 2020-05-07 Pickup testing method, device and system

Publications (1)

Publication Number Publication Date
CN111613248A true CN111613248A (en) 2020-09-01

Family

ID=72201863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010376774.XA Pending CN111613248A (en) 2020-05-07 2020-05-07 Pickup testing method, device and system

Country Status (1)

Country Link
CN (1) CN111613248A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860065A (en) * 2021-02-05 2021-05-28 Oppo广东移动通信有限公司 Sound pickup control method, sound pickup control device, storage medium, and electronic apparatus
CN113744765A (en) * 2021-08-19 2021-12-03 深圳市新国都股份有限公司 POS machine voice broadcast detection method, device and storage medium
CN114446326A (en) * 2022-01-27 2022-05-06 四川大学华西医院 Swallowing disorder patient identification method and device based on time-frequency resolution

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006324849A (en) * 2005-05-18 2006-11-30 Sony Corp Forming method for test tone signal and forming circuit therefor
CN102157147A (en) * 2011-03-08 2011-08-17 公安部第一研究所 Test method for objectively evaluating voice quality of pickup system
JP2013078010A (en) * 2011-09-30 2013-04-25 Brother Ind Ltd Device, method, and program for voice processing
CN107403627A (en) * 2017-08-16 2017-11-28 歌尔科技有限公司 Sound source calibration system and method
CN107910014A (en) * 2017-11-23 2018-04-13 苏州科达科技股份有限公司 Test method, device and the test equipment of echo cancellor
CN108206981A (en) * 2017-12-29 2018-06-26 歌尔科技有限公司 Pickup test method and equipment
CN109192193A (en) * 2018-08-14 2019-01-11 四川虹美智能科技有限公司 A kind of speech recognition product test method and test device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006324849A (en) * 2005-05-18 2006-11-30 Sony Corp Forming method for test tone signal and forming circuit therefor
CN102157147A (en) * 2011-03-08 2011-08-17 公安部第一研究所 Test method for objectively evaluating voice quality of pickup system
JP2013078010A (en) * 2011-09-30 2013-04-25 Brother Ind Ltd Device, method, and program for voice processing
CN107403627A (en) * 2017-08-16 2017-11-28 歌尔科技有限公司 Sound source calibration system and method
CN107910014A (en) * 2017-11-23 2018-04-13 苏州科达科技股份有限公司 Test method, device and the test equipment of echo cancellor
CN108206981A (en) * 2017-12-29 2018-06-26 歌尔科技有限公司 Pickup test method and equipment
CN109192193A (en) * 2018-08-14 2019-01-11 四川虹美智能科技有限公司 A kind of speech recognition product test method and test device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860065A (en) * 2021-02-05 2021-05-28 Oppo广东移动通信有限公司 Sound pickup control method, sound pickup control device, storage medium, and electronic apparatus
CN113744765A (en) * 2021-08-19 2021-12-03 深圳市新国都股份有限公司 POS machine voice broadcast detection method, device and storage medium
CN113744765B (en) * 2021-08-19 2023-12-29 深圳市新国都股份有限公司 POS machine voice broadcast detection method, POS machine voice broadcast detection device and storage medium
CN114446326A (en) * 2022-01-27 2022-05-06 四川大学华西医院 Swallowing disorder patient identification method and device based on time-frequency resolution

Similar Documents

Publication Publication Date Title
CN111613248A (en) Pickup testing method, device and system
CN109313909B (en) Method, device, apparatus and system for evaluating consistency of microphone array
CN111798852A (en) Voice wake-up recognition performance test method, device and system and terminal equipment
CN111031463B (en) Microphone array performance evaluation method, device, equipment and medium
CN107403627B (en) Sound source calibration system and method
US20220051685A1 (en) Method for transforming audio signal, device, and storage medium
CN105979462A (en) Test processing method and device based on microphone
CN112017693B (en) Audio quality assessment method and device
CN110691314A (en) Linear microphone array performance test method and clamp
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN112116919A (en) Echo cancellation method and device and electronic equipment
CN111951833A (en) Voice test method and device, electronic equipment and storage medium
CN108900959B (en) Method, device, equipment and computer readable medium for testing voice interaction equipment
CN110475181A (en) Equipment configuration method, device, equipment and storage medium
US6453253B1 (en) Impulse response measuring method
CN112437391B (en) Microphone testing method and system for open environment
CN109741761B (en) Sound processing method and device
CN114302301B (en) Frequency response correction method and related product
CN113257247B (en) Test method and system
CN102096056A (en) Method for automatically correcting sound card oscilloscope
CN111354335A (en) Voice recognition testing method and device, storage medium and terminal equipment
CN209561002U (en) A kind of tone testing equipment
CN114420165A (en) Audio circuit testing method, device, equipment and storage medium
JP2016146576A (en) Measuring method and measuring tool and correction method of reproduction characteristics of earphone and application program of measurement and application program of correction
CN111613242B (en) Method and device for testing audio line of equipment and electronic equipment

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