Headphone sound quality testing method, device, test terminal and storage medium
By setting a standard microphone in the headphone sound quality test terminal and obtaining and comparing the microphone sensitivity difference of the headphone devices to be tested, the problem of inaccurate sensitivity judgment in the headphone sound quality test in the existing technology is solved, and the quality control efficiency and testing efficiency of the headphone sound quality are improved.
Patent Information
- Application Number
- CN202211178293.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-09-26
AI Technical Summary
In existing headphone sound quality testing solutions, it is impossible to effectively determine whether the sensitivity of the microphone in the headphone device is within the standard tolerance range, resulting in errors in the calculated compensation value, which reduces the efficiency of quality control of the headphone sound quality.
By setting up several standard microphones on the test terminal, the test sensitivity of each microphone in the headphone device to be tested is obtained, and the sensitivity difference is calculated with the matching standard microphone to determine whether the difference is within the judgment range. If it is not within the range, the judgment information that the sound quality does not meet the target sound quality conditions is output to avoid incorrect compensation value calculation.
It improves the efficiency of quality control of headphone sound quality, avoids headphone devices that do not meet sound quality standards from entering the market, and saves testing resources and manpower costs.
Smart Images

Figure CN115529520B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of earphone technology, and in particular to an earphone sound quality testing method, device, test terminal and storage medium. Background Art
[0002] In the current test scheme for testing the sound quality of headphone devices, after the sound quality performance of the headphone device to be tested is tested in a pre-cal (previous-calculate) test without adding any compensation value for improving the sound quality of the headphone device to be tested, the compensation value of the headphone device to be tested is calculated according to the frequency response curve corresponding to the sound quality performance, and then the post-cal (postpone-calculate) test process is entered. In the post-cal test process, the sound quality performance of the headphone device to be tested after the compensation value is written is tested.
[0003] However, during the pre-cal test, it is impossible to effectively determine whether the sensitivity of the microphone in the headphone device is within the standard tolerance range based on the frequency response curve of the connected headphone device. As a result, in the process of calculating the compensation value, an erroneous compensation value is calculated based on the frequency response curve that does not meet the standard tolerance range. The sound quality test of the headphone device is performed based on the erroneous compensation value, resulting in errors in the sound quality test results of the headphone device. This situation will cause headphone devices that do not meet the sound quality test standards to enter the market, reducing the efficiency of quality control of the headphone sound quality.
[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of the present invention is to provide a method for testing the sound quality of headphones, which aims to solve the technical problem that in the pre-cal test process of the existing headphone sound quality testing scheme, it is impossible to effectively judge whether the sensitivity of the microphone in the headphone device is within the standard tolerance range based on the frequency response curve of the connected headphone device, which leads to errors in the sound quality test results of the headphone device to be tested, thereby reducing the quality control efficiency of the headphone sound quality.
[0006] To achieve the above objectives, the present invention provides a method for testing headphone sound quality. The method is applied to a test terminal, which is provided with a plurality of standard microphones and is externally connected to a headphone device to be tested. The method comprises the following steps:
[0007] Obtain the test sensitivity of each microphone under test in the headphone device under test;
[0008] Calculating a difference between the test sensitivity of a first target microphone and the standard sensitivity of a target standard microphone that matches the first target microphone to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone;
[0009] Determining whether the first sensitivity difference values corresponding to each microphone to be tested are all within a determination range;
[0010] If all first sensitivity differences are within the judgment range, it is determined that the sound quality of the headphone device to be tested meets the target sound quality condition;
[0011] If any of the first sensitivity differences is outside the determination range, determination information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition is output.
[0012] Optionally, the test terminal is further connected to a sample headphone device, and before the step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested, the method further includes:
[0013] Obtain the sample sensitivity of each sample microphone in the sample headphone device;
[0014] Calculating a difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone to obtain a second sensitivity difference corresponding to the second target microphone, wherein the second target microphone is any one of the sample microphones, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the second target microphone;
[0015] The determination range is determined based on a second sensitivity difference value group consisting of second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device.
[0016] Optionally, the step of obtaining the sample sensitivity of each sample microphone in the sample headphone device includes:
[0017] Acquire the sample audio analog signal of each sample microphone, and perform analog-to-digital conversion sampling on the sample audio analog signal to obtain the sample audio digital signal;
[0018] Performing fast Fourier transform on the sample audio digital signal to obtain a sample audio spectrum signal;
[0019] A sample sensitivity of a sample microphone corresponding to the sample audio spectrum signal is determined based on the sample audio spectrum signal.
[0020] Optionally, before the step of calculating the difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone, the method includes:
[0021] The target audio signal emitted by the target sound source is picked up by each standard microphone to obtain the audio signal to be calibrated;
[0022] determining a calibration difference between the audio signal to be calibrated and the target audio signal;
[0023] Calibrate the corresponding audio signal to be calibrated based on the calibration difference to obtain a standard audio signal;
[0024] A standard sensitivity of a standard microphone corresponding to the standard audio signal is determined based on the standard audio signal.
[0025] Optionally, after the step of obtaining the second sensitivity difference corresponding to the second target microphone, the method further includes:
[0026] Perform pairwise subtraction on each second sensitivity difference value to obtain a subtraction difference value group;
[0027] Determine whether each difference value in the difference value group is less than or equal to a preset difference value;
[0028] If all the difference values are less than or equal to the preset difference value, a step of determining a judgment range based on a second sensitivity difference value group consisting of the second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device is performed.
[0029] Optionally, the step of determining the judgment range based on a second sensitivity difference value group consisting of second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device includes:
[0030] Obtain any second sensitivity difference value in the second sensitivity difference value group or obtain the average value of the second sensitivity difference value group;
[0031] Adding the lower limit of the preset deviation range to the second sensitivity difference to form the lower limit of the judgment range, and adding the upper limit of the preset deviation range to the second sensitivity difference to form the upper limit of the judgment range; or,
[0032] The lower limit value of the preset deviation range is added to the mean value to form the lower limit value of the judgment range, and the upper limit value of the preset deviation range is added to the mean value to form the upper limit value of the judgment range.
[0033] Optionally, the step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested includes:
[0034] Acquire the audio analog signal to be tested from each microphone to be tested, and perform analog-to-digital conversion sampling on the audio analog signal to be tested to obtain the audio digital signal to be tested;
[0035] Perform fast Fourier transform on the audio digital signal to be tested to obtain the audio spectrum signal to be tested;
[0036] The test sensitivity of the microphone to be tested corresponding to the audio spectrum signal to be tested is determined based on the audio spectrum signal to be tested.
[0037] To achieve the above-mentioned object, the present invention further provides a headphone sound quality testing device, which is applied to a test terminal. The test terminal is provided with several standard microphones, and the test terminal is externally connected to a headphone device to be tested. The headphone sound quality testing device includes:
[0038] An acquisition module is used to obtain the test sensitivity of each microphone under test in the headphone device under test;
[0039] a comparison module, configured to calculate a difference between a test sensitivity of a first target microphone and a standard sensitivity of a target standard microphone that matches the first target microphone, to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone;
[0040] A judgment module, configured to judge whether the first sensitivity difference values corresponding to the microphones to be tested are all within a judgment range;
[0041] The judgment module is further configured to determine that the sound quality of the headphone device to be tested meets the target sound quality condition if all first sensitivity differences are within the judgment range;
[0042] The information output module is configured to output determination information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition if any of the first sensitivity differences is outside the determination range.
[0043] To achieve the above objectives, the present invention also provides a test terminal, which includes: a memory, a processor, and a headphone sound quality test program stored in the memory and runnable on the processor. When the headphone sound quality test program is executed by the processor, the steps of the headphone sound quality test method as described above are implemented.
[0044] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, which stores a headphone sound quality test program. When the headphone sound quality test program is executed by a processor, the steps of the headphone sound quality test method as described above are implemented.
[0045] In the present invention, the test terminal obtains the test sensitivity of each microphone to be tested in the headphone device to be tested, calculates the difference between the test sensitivity of the first target microphone and the standard sensitivity of the target standard microphone that matches the first target microphone, and obtains a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone, and determines whether the first sensitivity difference corresponding to each microphone to be tested is within a judgment range. If the first sensitivity difference is within the judgment range, it is determined that the sound quality of the headphone device to be tested meets the target sound quality conditions. If any first sensitivity difference is outside the judgment range, judgment information is output indicating that the sound quality of the headphone device to be tested does not meet the target sound quality conditions. The present invention compares the test sensitivity of each microphone under test in the headphone device under test with the standard sensitivity of each standard microphone in the test terminal one by one, obtains a first sensitivity difference between the microphone under test and the standard microphone, and then determines whether the first sensitivity difference is within a judgment range, that is, a standard tolerance range. For the headphone device under test corresponding to the microphone under test whose first sensitivity difference is not within the judgment range, the present invention directly outputs judgment information indicating that the sound quality of the headphone device under test does not meet the target sound quality conditions, thereby avoiding the situation where headphone devices that do not meet the target sound quality conditions enter the market, and improving the quality control efficiency of the headphone sound quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 1 is a flow chart of a first embodiment of a method for testing headphone sound quality according to the present invention;
[0047] Figure 2 2 is a flow chart of a second embodiment of a method for testing headphone sound quality according to the present invention;
[0048] Figure 3 Schematic diagram of the functional modules of an embodiment of a device for testing the sound quality of headphones according to the present invention.
[0049] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0051] The embodiment of the present invention provides a method for testing the sound quality of headphones. Figure 1 , Figure 1This is a flow chart of a first embodiment of a method for testing headphone sound quality according to the present invention. It should be noted that although a logical sequence is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than shown. In this embodiment, the headphone sound quality testing method is applied to an adaptive active noise reduction headphone device, and the headphone sound quality testing method includes:
[0052] Step S10, obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested;
[0053] Headphone devices include Bluetooth headphones, wired headphones, wireless headphones, in-ear headphones, and headphones. This embodiment takes wireless headphones as an example.
[0054] The test terminal consists of test hardware (such as a standard microphone set) and test software, and is a tool used to test the sound quality of headphone devices.
[0055] Specifically, Figure 1 Steps S10 to S40 / S50 shown occur before the calculation of the compensation value in the pre-cal test, and effectively determine whether the sensitivity corresponding to the frequency response curve of the headphone device under test is within the standard tolerance range during the pre-cal test. That is, during the pre-cal test, a determination is made as to whether the difference between the test sensitivity corresponding to the frequency response curve of the headphone device under test and the standard sensitivity (i.e., the first sensitivity difference) is within the determination range. Only for the headphone device under test with a correct determination result will the compensation value be calculated, while for the headphone device under test with an incorrect determination result, an error message will be directly output and the test process will be suspended.
[0056] Specifically, in this embodiment, the test terminal will obtain the test sensitivity of the connected headphone device to be tested. Since there is more than one microphone to be tested inside the headphone device to be tested, the test sensitivity is the test sensitivity of each microphone to be tested inside the headphone device to be tested, so as to avoid the situation where a single microphone to be tested does not meet the product specification requirements but is missed.
[0057] Optionally, in one embodiment, step S10 includes:
[0058] Step S101, obtaining an analog audio signal to be tested from each of the microphones to be tested, and performing analog-to-digital conversion sampling on the analog audio signal to be tested to obtain a digital audio signal to be tested;
[0059] Step S102, performing fast Fourier transform on the audio digital signal to be measured to obtain an audio spectrum signal to be measured;
[0060] Step S103 : determining the test sensitivity of the microphone to be tested corresponding to the audio spectrum signal to be tested based on the audio spectrum signal to be tested.
[0061] In this embodiment, during the pre-cal test process, when the test terminal detects the access of the headphone device to be tested, the test terminal plays a piece of audio through the internal audio playback hardware to obtain the analog audio signal to be tested picked up by the microphone to be tested inside the headphone device to be tested based on the audio, and then converts the obtained analog audio signal to be tested into a digital audio signal to be tested through the internal analog-to-digital conversion module.
[0062] It should be noted that during the pre-cal test process, the microphone to be tested in the headphone device to be tested is connected to the test terminal according to the corresponding interface. For example, the microphone to be tested with serial number Mic1 is connected to the standard microphone with serial number Mic1, the microphone to be tested with serial number Mic2 is connected to the standard microphone with serial number Mic2, and so on, so that corresponding comparisons can be made based on the corresponding serial numbers.
[0063] After the test terminal obtains the digital audio signals to be tested of each microphone to be tested, it will save the corresponding audio files to be tested according to the test serial number of the microphone to be tested, such as the audio files to be tested in the wav format, and then parse the audio spectrum signals to be tested in the audio files to be tested using the fast Fourier algorithm. In this embodiment, the audio spectrum signals to be tested in the audio files to be tested are parsed using the fast Fourier algorithm. Specifically, the audio spectrum signals to be tested with a target frequency are first extracted from each audio file to be tested using the fast Fourier algorithm. Because the parsing method for each audio file to be tested is the same, taking the audio spectrum signals to be tested corresponding to the microphone to be tested with the serial number Mic1 as an example, after the audio spectrum signals to be tested with a frequency of 1 kHz are extracted from the audio file to be tested using the fast Fourier algorithm, the audio spectrum signals to be tested are then parsed using the fast Fourier algorithm to obtain the test sensitivity with the test serial number Mic1_test sen. The parsing process of the audio files to be tested of other microphones to be tested is the same and will not be described in detail here.
[0064] This process is to obtain the test sensitivity of the sound quality of the headphone device under test without any compensation, wherein the audio spectrum signal to be tested whose spectrum is the target frequency in the audio file to be tested is extracted, and only the audio spectrum signal to be tested is analyzed to obtain the test sensitivity. This is to avoid the problem of inaccurate test sensitivity obtained by analysis caused by mixing in audio spectrum signals of other frequencies, because the test sensitivity corresponds to the standard sensitivity of the standard microphone in the test terminal, and the standard sensitivity is obtained after the test terminal calibrates the standard microphone through the target sound source (that is, the existing standard sound source). The frequency of the target sound source is at a fixed frequency. Therefore, in order to make the corresponding result more accurate, the target frequency is the frequency of the target sound source, thereby improving the quality control efficiency of the headphone sound quality.
[0065] Step S20, calculating a difference between the test sensitivity of the first target microphone and the standard sensitivity of a target standard microphone that matches the first target microphone, to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone;
[0066] Specifically, a preset repository is provided in the software of the test terminal for storing data such as the standard sensitivity of each standard microphone, wherein the standard sensitivity of each standard microphone stored in the preset repository is acquired and stored in the preparation stage.
[0067] In this embodiment, after obtaining the test sensitivity of each microphone to be tested of the connected headphone device to be tested, the test terminal will extract the corresponding standard sensitivity from the preset storage library according to the serial number of the test sensitivity. For example, at this time, the serial number of the test sensitivity of any one of the microphones to be tested is Mic1_test sen, then the serial number of the standard sensitivity corresponding to the microphone to be tested extracted by the test terminal in the preset storage library is Mic1_cal sen, and the serial number of the test sensitivity of any one of the microphones to be tested is Mic2_test sen, then the serial number of the standard sensitivity corresponding to the microphone to be tested extracted by the test terminal in the preset storage library is Mic2_cal sen, and so on, until the standard sensitivity corresponding to the test sensitivity of each microphone to be tested is extracted, the test sensitivity corresponding to the serial number is compared with the standard sensitivity to obtain their respective first sensitivity difference values (the set of each first sensitivity difference value is the first sensitivity difference value group), for example, there are test sensitivities with serial numbers Mic1_test sen, Mic2_test sen and Mic3_test sen, and test sensitivities with serial numbers Mic1_cal sen, Mic2_cal The standard sensitivities of sen and Mic3_cal sen are compared with Mic1_test sen and Mic1_cal sen, Mic2_test sen and Mic2_cal sen, and Mic3_test sen and Mic3_cal sen as groups, and the first sensitivity difference with a difference number of Diff1 (Diff1=Mic1_cal sen-Mic1_test sen), the first sensitivity difference with a difference number of Diff2 (Diff2=Mic2_cal sen-Mic2_test sen), and the first sensitivity difference with a difference number of Diff3 (Diff3=Mic3_cal sen-Mic3_test sen) are obtained. The set composed of Diff1, Diff2, and Diff3 is the first sensitivity difference group.
[0068] Step S30, determining whether the first sensitivity difference corresponding to each of the microphones to be tested is within a determination range;
[0069] In this embodiment, after each first sensitivity difference between the microphone group to be tested and the standard microphone group is calculated, it is determined whether each first sensitivity difference is within a determination range.
[0070] It should be noted that the judgment range is obtained by the test terminal in the preparation stage by comparing the sample microphone group of the sample headphone device with the standard microphone group. By judging whether each first sensitivity difference is within the judgment range, it can detect whether the difference between the sound quality of the headphone device to be tested and the target sound quality is within the product specification requirements, thereby realizing effective judgment of the sound quality of the headphone device to be tested.
[0071] Step S40: If all of the first sensitivity differences are within the judgment range, it is determined that the sound quality of the headphone device to be tested meets the target sound quality condition;
[0072] Step S50: If any of the first sensitivity differences is outside the judgment range, outputting judgment information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition.
[0073] In this embodiment, there are two judgment results, namely step S40 and step S50, wherein, in step S40, the calculated first sensitivity differences are all within the judgment range, and only the headphone device under test with a correct judgment result (i.e., the headphone device under test in step S40) is used to calculate the compensation value, while the headphone device under test with an incorrect judgment result (i.e., the headphone device under test in step S50) directly outputs the judgment information indicating that the sound quality of the headphone device under test does not meet the target sound quality conditions and suspends its testing process, and the compensation value is calculated for the frequency response curve of the headphone device under test whose first sensitivity differences are all within the judgment range. Because the first sensitivity differences corresponding to the headphone device under test are all within the judgment range, the performance of the headphone device under test is compensated based on the compensation value, and there is no error in writing the compensation value, which causes the performance parameters of the headphone device under test to not meet the product specification requirements (i.e., the target sound quality requirements). quality conditions); and for the headphone device under test with any sensitivity difference value outside the judgment range, the test terminal directly outputs the judgment information indicating that the sound quality of the headphone device under test does not meet the target sound quality conditions, and at the same time suspends the test of the headphone device under test in the pre-cal test process. Because when any first sensitivity difference value corresponding to the headphone device under test is outside the judgment range, it means that the compensation value calculated based on the frequency response curve of the headphone device under test cannot effectively compensate the headphone device under test. Therefore, there is no need for the headphone device under test to continue testing and calculating the compensation value in the pre-cal test. In order to avoid waste of test resources and improve test efficiency, the test terminal will directly output the judgment information indicating that the sound quality of the headphone device under test does not meet the target sound quality conditions and suspend the test for the headphone device under test with any first sensitivity difference value outside the judgment range.
[0074] It should be noted that in the judgment process of step S40 and step S50, the test terminal has judged the sound quality performance of the headphone device to be tested under the frequency response curve (that is, whether the sensitivity difference is within the judgment range), and the calculation of the compensation value based on the frequency response curve that meets the sound quality performance does not result in an incorrect compensation value. Therefore, the correct compensation value is written into the product register of the headphone device to be tested that meets the sound quality performance. The performance parameters of the headphone device to be tested do not fail to meet the sound quality test standards. Because the headphone device to be tested that does not meet the sound quality performance will directly output the judgment information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality conditions and stop the test. This judgment process can ensure that the sound quality of the headphone device to be tested with the compensation value meets the sound quality test standards, which conflicts with the role of the post-cal test process. Therefore, the test process of this embodiment only needs to be based on the pre-cal test process to realize the sound quality test of the headphone device, that is, it realizes the improvement of the quality control efficiency of the sound quality test, and also saves the test equipment and manpower costs required for the post-cal test process.
[0075] In this embodiment, the test sensitivity of each microphone to be tested in the headphone device to be tested is compared one by one with the standard sensitivity of each standard microphone in the test terminal to obtain a first sensitivity difference between the microphone to be tested and the standard microphone. It is then determined whether the first sensitivity difference is within a judgment range, that is, within a standard tolerance range. The headphone device to be tested corresponding to the microphone to be tested whose first sensitivity is not within the judgment range is output with respect to the headphone device to be tested, indicating that the sound quality of the headphone device to be tested does not meet the target sound quality conditions. This avoids the situation where headphone devices that do not meet the target sound quality conditions enter the market, thereby improving the efficiency of quality control of the headphone sound quality.
[0076] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the headphone sound quality testing method of the present invention is proposed. In this embodiment, before step S10, the method further includes:
[0077] Step A, obtaining the sample sensitivity of each sample microphone in the sample headphone device;
[0078] This embodiment is a preparation stage. In the preparation stage, the sample sensitivity of each sample microphone in the connected sample headphone device needs to be obtained first, so as to calculate the sample sensitivity and obtain the judgment range in the test process, as described in detail below.
[0079] Optionally, in one embodiment, step A includes:
[0080] Step A1, obtaining a sample audio analog signal from each of the sample microphones, and performing analog-to-digital conversion sampling on the sample audio analog signal to obtain a sample audio digital signal;
[0081] Step A2, performing fast Fourier transform on the sample audio digital signal to obtain a sample audio spectrum signal;
[0082] Step A3: determining the sample sensitivity of the sample microphone corresponding to the sample audio spectrum signal based on the sample audio spectrum signal.
[0083] In this embodiment, when the test terminal detects the access of the sample headphone device, the test terminal plays a piece of audio through the internal audio playback hardware to obtain the sample audio analog signal picked up by the sample microphone inside the sample headphone device based on the audio, and then converts the obtained sample audio analog signal into a sample audio digital signal through the internal analog-to-digital conversion module.
[0084] It should be noted that the sample microphone access test terminal in the sample headphone device is accessed according to the corresponding interface. For example, the sample microphone with serial number Mic1 corresponds to the standard microphone with serial number Mic1, the sample microphone with serial number Mic2 corresponds to the standard microphone with serial number Mic2, and so on, so that corresponding comparisons can be made based on the corresponding serial numbers.
[0085] After the test terminal obtains the sample audio digital signal of each sample microphone, it will save it into a corresponding sample audio file according to the sample serial number of the sample microphone, such as a sample audio file in wav format, and then analyze the sample audio spectrum signal in the sample audio file through the fast Fourier algorithm. In this embodiment, the sample audio spectrum signal in the sample audio file is analyzed by the fast Fourier algorithm. Specifically, the sample audio spectrum signal with a frequency of the target frequency is first extracted from each sample audio file through the fast Fourier algorithm. Because the parsing method of each sample audio file is the same, taking the sample audio file corresponding to the sample microphone with serial number Mic1 as an example, after the sample audio spectrum signal with a frequency of 1kHz is extracted from the sample audio file through the fast Fourier algorithm, the sample audio spectrum signal is analyzed by the fast Fourier algorithm to obtain the sample sensitivity with the sample serial number Mic1_test sen. The parsing process of the sample audio files of other sample microphones is the same, and will not be repeated here.
[0086] Step B: calculating a difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone to obtain a second sensitivity difference corresponding to the second target microphone, wherein the second target microphone is any one of the sample microphones, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the second target microphone;
[0087] In this embodiment, the sample sensitivities corresponding to the serial numbers are compared with the standard sensitivities to obtain respective second sensitivity differences (a set of the second sensitivity difference values is a second sensitivity difference group). For example, the serial numbers of the sample sensitivities corresponding to the second target microphone are Mic1_spl sen, Mic2_spl sen, and Mic3_spl sen, and the serial numbers of the standard sensitivities matching the second target microphone are Mic1_cal sen, Mic2_cal sen, and Mic3_cal sen. Mic1_spl sen and Mic1_cal sen, Mic2_spl sen and Mic2_cal sen, and Mic3_splsen and Mic3_cal sen are grouped for comparison to obtain second sensitivity differences with a difference number of J1 (J1=Mic1_cal sen-Mic1_splsen), a second sensitivity difference with a difference number of J2 (J2=Mic2_cal sen-Mic2_spl sen). sen) and the second sensitivity difference with a difference number of J3 (J3=Mic3_cal sen-Mic3_spl sen), then the set composed of J1, J2 and J3 is the second sensitivity difference group.
[0088] Optionally, in one embodiment, before step B, the method further includes:
[0089] Step B1, respectively picking up a target audio signal emitted by a target sound source through each of the standard microphones to obtain an audio signal to be calibrated;
[0090] Step B2, determining a calibration difference between the audio signal to be calibrated and the target audio signal;
[0091] Step B3, calibrating the corresponding audio signal to be calibrated based on the calibration difference to obtain a standard audio signal;
[0092] Step B4: determining the standard sensitivity of the standard microphone corresponding to the standard audio signal based on the standard audio signal.
[0093] Specifically, in the preparation stage, it is necessary to first obtain the standard sensitivity of each standard microphone in the test terminal.
[0094] In the process of obtaining the standard sensitivity of each standard microphone, first, the test terminal will play the target sound source through the internal audio playback hardware, and then the standard microphone will pick up the target audio signal emitted by the target sound source to obtain the audio signal to be calibrated. In this embodiment, the target sound source is a sound source with a frequency of 1kHz and a sound pressure level of 94dbSPL. In the actual preparation stage, it can also be a sound source of other specifications.
[0095] The audio signal to be calibrated is picked up by a standard microphone, and the audio signal to be calibrated is compared with the target audio signal to obtain the difference between them, that is, the calibration difference. Then, the audio signal to be calibrated is calibrated based on the calibration difference to convert the audio signal to be calibrated into a standard audio signal, and the standard sensitivity is directly obtained based on the standard audio signal.
[0096] Specifically, after the test terminal obtains the standard sensitivity corresponding to the standard microphone, the standard sensitivity corresponding to the standard microphone is stored in a preset storage repository according to the serial number of the standard microphone. For example, if the serial number of the standard microphone is Mic1, the standard sensitivity corresponding to the standard microphone is Mic1_cal sen; if the serial number of the standard microphone is Mic2, the standard sensitivity corresponding to the standard microphone is Mic2_cal sen, and so on. They will not be elaborated here.
[0097] Optionally, in one embodiment, after step B, the method further includes:
[0098] Step B5, performing pairwise subtraction on each of the second sensitivity differences to obtain a subtraction difference value group;
[0099] Step B6, determining whether each difference value in the difference value group is less than or equal to a preset difference value;
[0100] Step B7: If each of the difference values is less than or equal to the preset difference value, executing the step of determining the judgment range based on the second sensitivity difference value group consisting of the second sensitivity difference values corresponding to each of the sample microphones and the preset deviation range of the sample headphone device.
[0101] In this embodiment, the second sensitivity differences of J1, J2 and J3 are taken as an example to perform pairwise differences, that is, J1 and J2, J1 and J3, and the grouping of J2 and J3 are subtracted. Assume that J1 is 2, J2 is 1.7, and J3 is 1.8. Therefore, the difference values after pairwise difference are 0.3, 0.2 and 0.1. Because in this embodiment, both the standard sensitivity and the sample sensitivity are obtained based on the analysis of the spectrum with a frequency of 1kHz, the preset difference value is set to 0.3 according to the 1kHz standard in this embodiment, and the difference values obtained by pairwise difference are less than or equal to 0.3. Based on this, it is determined that the sound quality performance parameters of the sample headphone devices corresponding to each second sensitivity difference meet the judgment standard, that is, the setting of the judgment range based on the second sensitivity difference group can provide a judgment condition for improving the quality control efficiency of the headphone sound quality for the subsequent pre-cal test process.
[0102] However, if any differential difference in the second sensitivity difference group is greater than the preset differential difference, assuming that J1 is 2, J2 is 1.1, and J3 is 1.8, the differential differences after pairwise difference are 0.9, 0.2, and 0.7, and still taking the preset differential difference of 0.3 as an example, in this case, there are two differential differences in the second sensitivity difference group that are greater than 0.3. Based on this, it is determined that the sound quality performance parameters of the sample headphone device corresponding to the second sensitivity difference group do not meet the judgment criteria, that is, the judgment range setting based on the second sensitivity difference group cannot effectively determine whether the headphone sound quality of the connected headphone device to be tested meets the target sound quality conditions during the subsequent pre-cal test process. Therefore, it is necessary to re-obtain the judgment value of the second sensitivity difference group, and re-judge whether each differential difference in the re-obtained second sensitivity difference group meets the preset differential difference until each differential difference in the judgment value group is less than or equal to the preset differential difference.
[0103] The reacquired second sensitivity difference value group may be acquired through a newly connected sample earphone device, or may be reacquired based on a previously connected sample earphone device, which is not limited in this embodiment.
[0104] Step C: determining the judgment range based on a second sensitivity difference value group consisting of the second sensitivity difference values corresponding to the sample microphones and a preset deviation range of the sample headphone device.
[0105] Optionally, in one embodiment, step C includes:
[0106] Step C1, obtaining any second sensitivity difference in the second sensitivity difference group or obtaining the average of the second sensitivity difference group;
[0107] Step C2, adding the lower limit value of the preset deviation range to the second sensitivity difference value to form the lower limit value of the judgment range, and adding the upper limit value of the preset deviation range to the second sensitivity difference value to form the upper limit value of the judgment range; or,
[0108] Step C3: adding the lower limit value of the preset deviation range to the mean value to form the lower limit value of the judgment range, and adding the upper limit value of the preset deviation range to the mean value to form the upper limit value of the judgment range.
[0109] In this embodiment, the judgment range is determined based on any second sensitivity difference in the second sensitivity difference group and the preset deviation range of the connected sample headphone device. Specifically, assuming that any second sensitivity difference extracted from the second sensitivity difference group is 2, the preset deviation range of the connected sample headphone device is the highest specification requirement in the existing market, with a tolerance of ±0.3dB. The judgment range determined based on this is 1.7-2.3, and the judgment range is stored in the preset repository, so that in the subsequent pre-cal test process, each sensitivity difference can be directly extracted from the pre-repository and then judged.
[0110] In another embodiment, the judgment range is determined based on the mean of all second sensitivity differences in the second sensitivity group and the preset deviation range of the connected sample headphone device. Specifically, assuming that the mean of the second sensitivity difference group is 4, the preset deviation range of the connected sample headphone device is the general specification requirement in the existing market, with a tolerance of ±3dB. The judgment range determined based on this is 1-7, and the judgment range is stored in a preset repository, so that each sensitivity difference can be directly extracted from the pre-repository during the subsequent pre-cal test process to make a judgment on it.
[0111] It should be noted that the test headphone device connected during the pre-cal test process must be the same type of headphone device as the sample headphone device connected during the preparation process, so as to avoid errors in the judgment results caused by different types of headphone devices, and thus low efficiency in controlling the quality of the headphone sound.
[0112] In this embodiment, the standard sensitivity of each standard microphone in the test terminal is obtained in the preparation stage, and the sample sensitivity of each sample microphone in the connected sample headphone device is obtained. The judgment range in the test process is obtained by calculating the standard sensitivity and the sample sensitivity, so as to provide judgment conditions for improving the quality control efficiency of the headphone sound quality in the subsequent pre-cal test process.
[0113] The present invention also provides a headphone sound quality testing device, which is applied to an adaptive active noise reduction headphone device. Figure 3 , the test equipment for headphone sound quality includes:
[0114] An acquisition module 10 is configured to obtain the test sensitivity of each microphone under test in the headphone device under test;
[0115] a comparison module 20 for calculating a difference between a test sensitivity of a first target microphone and a standard sensitivity of a target standard microphone that matches the first target microphone, to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number matches the serial number of the first target microphone;
[0116] A judgment module 30 is used to judge whether the first sensitivity difference corresponding to each microphone to be tested is within a judgment range;
[0117] The judgment module 30 is further configured to determine that the sound quality of the headphone device to be tested meets the target sound quality condition if all first sensitivity differences are within the judgment range;
[0118] The information output module 40 is configured to output determination information indicating that the sound quality of the headphone device under test does not meet the target sound quality condition if any of the first sensitivity differences is outside the determination range.
[0119] Furthermore, the acquisition module 10 is used to:
[0120] Obtain the sample sensitivity of each sample microphone in the sample headphone device;
[0121] Calculating a difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone to obtain a second sensitivity difference corresponding to the second target microphone, wherein the second target microphone is any one of the sample microphones, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the second target microphone;
[0122] The determination range is determined based on a second sensitivity difference value group consisting of second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device.
[0123] Furthermore, the acquisition module 10 is used to:
[0124] Acquire the sample audio analog signal of each sample microphone, and perform analog-to-digital conversion sampling on the sample audio analog signal to obtain the sample audio digital signal;
[0125] Performing fast Fourier transform on the sample audio digital signal to obtain a sample audio spectrum signal;
[0126] A sample sensitivity of a sample microphone corresponding to the sample audio spectrum signal is determined based on the sample audio spectrum signal.
[0127] Furthermore, the acquisition module 10 is used to:
[0128] The target audio signal emitted by the target sound source is picked up by each standard microphone to obtain the audio signal to be calibrated;
[0129] determining a calibration difference between the audio signal to be calibrated and the target audio signal;
[0130] Calibrate the corresponding audio signal to be calibrated based on the calibration difference to obtain a standard audio signal;
[0131] A standard sensitivity of a standard microphone corresponding to the standard audio signal is determined based on the standard audio signal.
[0132] Furthermore, the judgment module 30 is used to:
[0133] Perform pairwise subtraction on each second sensitivity difference value to obtain a subtraction difference value group;
[0134] Determine whether each difference value in the difference value group is less than or equal to a preset difference value;
[0135] If all the difference values are less than or equal to the preset difference value, a step of determining a judgment range based on a second sensitivity difference value group consisting of the second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device is performed.
[0136] Furthermore, the acquisition module 10 is used to:
[0137] Obtain any second sensitivity difference value in the second sensitivity difference value group or obtain the average value of the second sensitivity difference value group;
[0138] Adding the lower limit of the preset deviation range to the second sensitivity difference to form the lower limit of the judgment range, and adding the upper limit of the preset deviation range to the second sensitivity difference to form the upper limit of the judgment range; or,
[0139] The lower limit value of the preset deviation range is added to the mean value to form the lower limit value of the judgment range, and the upper limit value of the preset deviation range is added to the mean value to form the upper limit value of the judgment range.
[0140] Furthermore, the acquisition module 10 is used to:
[0141] Acquire the audio analog signal to be tested from each microphone to be tested, and perform analog-to-digital conversion sampling on the audio analog signal to be tested to obtain the audio digital signal to be tested;
[0142] Perform fast Fourier transform on the audio digital signal to be tested to obtain the audio spectrum signal to be tested;
[0143] The test sensitivity of the microphone to be tested corresponding to the audio spectrum signal to be tested is determined based on the audio spectrum signal to be tested.
[0144] In addition, an embodiment of the present invention also proposes a test terminal, which includes a structural shell, a communication module, a main control module (such as a microcontroller unit MCU), a speaker, a microphone, a memory, etc. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive devices (which can be replaced, deleted or added according to actual functions) to realize the audio reception and playback functions. The test terminal can establish a communication connection with the user terminal through the communication module. The memory of the test terminal can store a headphone sound quality test program, and the microprocessor can be used to call the headphone sound quality test program stored in the memory and perform the following operations:
[0145] Obtain the test sensitivity of each microphone under test in the headphone device under test;
[0146] Calculating a difference between the test sensitivity of a first target microphone and the standard sensitivity of a target standard microphone that matches the first target microphone to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone;
[0147] Determining whether the first sensitivity difference values corresponding to each microphone to be tested are all within a determination range;
[0148] If all first sensitivity differences are within the judgment range, it is determined that the sound quality of the headphone device to be tested meets the target sound quality condition;
[0149] If any of the first sensitivity differences is outside the determination range, determination information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition is output.
[0150] Furthermore, before the step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested, the method further includes:
[0151] Obtain the sample sensitivity of each sample microphone in the sample headphone device;
[0152] Calculating a difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone to obtain a second sensitivity difference corresponding to the second target microphone, wherein the second target microphone is any one of the sample microphones, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the second target microphone;
[0153] The determination range is determined based on a second sensitivity difference value group consisting of second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device.
[0154] Furthermore, the step of obtaining the sample sensitivity of each sample microphone in the sample headphone device includes:
[0155] Acquire the sample audio analog signal of each sample microphone, and perform analog-to-digital conversion sampling on the sample audio analog signal to obtain the sample audio digital signal;
[0156] Performing fast Fourier transform on the sample audio digital signal to obtain a sample audio spectrum signal;
[0157] A sample sensitivity of a sample microphone corresponding to the sample audio spectrum signal is determined based on the sample audio spectrum signal.
[0158] Furthermore, before the step of calculating the difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone, the method includes:
[0159] The target audio signal emitted by the target sound source is picked up by each standard microphone to obtain the audio signal to be calibrated;
[0160] determining a calibration difference between the audio signal to be calibrated and the target audio signal;
[0161] Calibrate the corresponding audio signal to be calibrated based on the calibration difference to obtain a standard audio signal;
[0162] A standard sensitivity of a standard microphone corresponding to the standard audio signal is determined based on the standard audio signal.
[0163] Furthermore, after the step of obtaining the second sensitivity difference corresponding to the second target microphone, the method further includes:
[0164] Perform pairwise subtraction on each second sensitivity difference value to obtain a subtraction difference value group;
[0165] Determine whether each difference value in the difference value group is less than or equal to a preset difference value;
[0166] If all the difference values are less than or equal to the preset difference value, a step of determining a judgment range based on a second sensitivity difference value group consisting of the second sensitivity difference values corresponding to each sample microphone and a preset deviation range of the sample headphone device is performed.
[0167] Furthermore, the step of determining the judgment range based on the second sensitivity difference value group consisting of the second sensitivity difference values corresponding to the sample microphones and the preset deviation range of the sample headphone device includes:
[0168] Obtain any second sensitivity difference value in the second sensitivity difference value group or obtain the average value of the second sensitivity difference value group;
[0169] Adding the lower limit of the preset deviation range to the second sensitivity difference to form the lower limit of the judgment range, and adding the upper limit of the preset deviation range to the second sensitivity difference to form the upper limit of the judgment range; or,
[0170] The lower limit value of the preset deviation range is added to the mean value to form the lower limit value of the judgment range, and the upper limit value of the preset deviation range is added to the mean value to form the upper limit value of the judgment range.
[0171] Furthermore, the step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested includes:
[0172] Acquire the audio analog signal to be tested from each microphone to be tested, and perform analog-to-digital conversion sampling on the audio analog signal to be tested to obtain the audio digital signal to be tested;
[0173] Perform fast Fourier transform on the audio digital signal to be tested to obtain the audio spectrum signal to be tested;
[0174] The test sensitivity of the microphone to be tested corresponding to the audio spectrum signal to be tested is determined based on the audio spectrum signal to be tested.
[0175] The various embodiments of the headphone device of the present invention may refer to the various embodiments of the headphone sound quality testing method of the present invention, which will not be described in detail here.
[0176] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which stores a headphone sound quality test program. When the headphone sound quality test program is executed by a processor, the steps of the headphone sound quality test method described above are implemented.
[0177] The various embodiments of the computer-readable storage medium of the present invention may refer to the various embodiments of the headphone sound quality testing method of the present invention, and will not be described in detail here.
[0178] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.
[0179] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0180] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0181] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for testing the sound quality of headphones, characterized in that: The headphone sound quality testing method is applied to a test terminal, which is provided with a plurality of standard microphones and is externally connected to a headphone device to be tested. The headphone sound quality testing method includes the following steps: Obtaining the test sensitivity of each microphone under test in the headphone device under test during a pre-test of the headphone device under test; Calculating a difference between the test sensitivity of a first target microphone and the standard sensitivity of a target standard microphone that matches the first target microphone to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone; Determining whether the first sensitivity difference corresponding to each of the microphones to be tested is within a determination range; If all of the first sensitivity differences are within the judgment range, it is determined that the sound quality of the headphone device under test meets the target sound quality condition, and a compensation value is calculated based on the frequency response curve of the headphone device under test, thereby completing the preliminary test of the headphone device under test; If any of the first sensitivity differences is outside the judgment range, determination information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition is output.
2. The headphone sound quality testing method according to claim 1, wherein: The test terminal is further externally connected to a sample headphone device. Before the step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested, the method further includes: Obtaining a sample sensitivity of each sample microphone in the sample headphone device; Calculating a difference between the sample sensitivity of a second target microphone and the standard sensitivity of a target standard microphone that matches the second target microphone to obtain a second sensitivity difference corresponding to the second target microphone, wherein the second target microphone is any one of the sample microphones, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the second target microphone; The determination range is determined based on a second sensitivity difference value group consisting of second sensitivity difference values corresponding to the sample microphones and a preset deviation range of the sample headphone device.
3. The headphone sound quality testing method according to claim 2, wherein: The step of obtaining the sample sensitivity of each sample microphone in the sample headphone device includes: Acquire a sample audio analog signal from each of the sample microphones, and perform analog-to-digital conversion sampling on the sample audio analog signal to obtain a sample audio digital signal; Performing fast Fourier transform on the sample audio digital signal to obtain a sample audio spectrum signal; The sample sensitivity of the sample microphone corresponding to the sample audio spectrum signal is determined based on the sample audio spectrum signal.
4. The headphone sound quality testing method according to claim 2, wherein: Before the step of calculating the difference between the sample sensitivity of the second target microphone and the standard sensitivity of the target standard microphone that matches the second target microphone, the method includes: The target audio signal emitted by the target sound source is picked up by each of the standard microphones to obtain an audio signal to be calibrated; determining a calibration difference between the audio signal to be calibrated and the target audio signal; Calibrate the corresponding audio signal to be calibrated based on the calibration difference to obtain a standard audio signal; The standard sensitivity of the standard microphone corresponding to the standard audio signal is determined based on the standard audio signal.
5. The headphone sound quality testing method according to claim 2, wherein: After the step of obtaining the second sensitivity difference corresponding to the second target microphone, the method further includes: performing pairwise subtraction on each of the second sensitivity differences to obtain a subtraction difference value group; Determining whether each of the difference values in the difference value group is less than or equal to a preset difference value; If each of the difference values is less than or equal to the preset difference value, the step of determining the judgment range based on the second sensitivity difference value group consisting of the second sensitivity difference values corresponding to each of the sample microphones and the preset deviation range of the sample headphone device is performed.
6. The headphone sound quality testing method according to claim 2, wherein: The step of determining the judgment range based on the second sensitivity difference value group consisting of the second sensitivity difference values corresponding to the sample microphones and the preset deviation range of the sample headphone device includes: Obtain any second sensitivity difference value in the second sensitivity difference value group or obtain an average value of the second sensitivity difference value group; adding the lower limit of the preset deviation range to the second sensitivity difference to form the lower limit of the judgment range, and adding the upper limit of the preset deviation range to the second sensitivity difference to form the upper limit of the judgment range; or The lower limit value of the preset deviation range is added to the mean value to form the lower limit value of the judgment range, and the upper limit value of the preset deviation range is added to the mean value to form the upper limit value of the judgment range.
7. The headphone sound quality testing method according to any one of claims 1 to 6, characterized in that: The step of obtaining the test sensitivity of each microphone to be tested in the headphone device to be tested comprises: Acquire the audio analog signal to be tested from each of the microphones to be tested, and perform analog-to-digital conversion sampling on the audio analog signal to be tested to obtain the audio digital signal to be tested; Performing a fast Fourier transform on the audio digital signal to be measured to obtain an audio spectrum signal to be measured; The test sensitivity of the microphone to be tested corresponding to the audio spectrum signal to be tested is determined based on the audio spectrum signal to be tested.
8. A headphone sound quality testing device, characterized in that the headphone sound quality testing device is applied to a test terminal, the test terminal is provided with a plurality of standard microphones, and the test terminal is externally connected to a headphone device to be tested, the headphone sound quality testing device comprising: an acquisition module, configured to acquire the test sensitivity of each microphone under test in the headphone device under test during a pre-test process of the headphone device under test; a comparison module, configured to calculate a difference between the test sensitivity of a first target microphone and a standard sensitivity of a target standard microphone that matches the first target microphone, to obtain a first sensitivity difference corresponding to the first target microphone, wherein the first target microphone is any one of the microphones to be tested, and the target standard microphone is a microphone among the standard microphones whose serial number is consistent with the serial number of the first target microphone; a judgment module, configured to judge whether the first sensitivity difference corresponding to each of the microphones to be tested is within a judgment range; The judgment module is further configured to determine that the sound quality of the headphone device under test meets the target sound quality condition if all of the first sensitivity differences are within the judgment range, and calculate a compensation value based on the frequency response curve of the headphone device under test to complete a preliminary test of the headphone device under test; The information output module is configured to output determination information indicating that the sound quality of the headphone device to be tested does not meet the target sound quality condition if any of the first sensitivity differences is outside the determination range.
9. A test terminal, characterized in that: The test terminal includes: a memory, a processor, and a headphone sound quality test program stored in the memory and executable on the processor. The headphone sound quality test program is configured to implement the steps of the headphone sound quality test method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a headphone sound quality test program, which, when executed by a processor, implements the steps of the headphone sound quality test method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Calibration method for audio MACSYM
CN101437191A
Device and method for testing sensitivity and frequency response curve of microphone
CN105516873A
Audio processing method and device, storage medium and terminal
CN111541981A
Microphone testing method and device
CN111866690A