主权项 |
1. A method for audio testing, adapted to test an electronic device with a first audio receiving device and a second audio receiving device and a first audio sending device and a second audio sending device, the method for audio testing comprising:
sending a first audio testing signal and a second audio testing signal to the first audio receiving device and the second audio receiving device of the electronic device, wherein the electronic device has a first loop formed by electrically connecting the first audio receiving device and the first audio sending device, and has a second loop formed by electrically connecting the second audio receiving device and the second audio sending device, wherein the first audio testing signal and the second audio testing signal respectively have a specific frequency; respectively sending a first response signal and a second response signal by the first audio sending device and the second audio sending device, wherein the first response signal and the second response signal are generated in response to the first audio testing signal and the second audio testing signal respectively passing through the first loop and the second loop; and receiving and analyzing the first response signal and the second response signal to test functions of the first audio receiving device, the second audio receiving device, the first audio sending device and the second audio sending device, wherein the step of receiving and analyzing the first response signal and the second response signal comprises:
respectively calculating a first difference value and a second difference value by respectively subtracting an environment reference signal from the first response signal and the second response signal;when the first difference value and the second difference value are greater than a threshold, it represents that the functions of the first audio receiving device, the second audio receiving devices, the first audio sending device and the second audio sending device are normal; andrespectively changing the specific frequency of the first audio testing signal and the second audio testing signal and repeating the method for audio testing when the first difference value and the second difference value are smaller than the threshold. |