1. Field of the Invention
The present invention is generally related to methods for testing an audio device, and more particularly, is related to a method for testing an audio device associated to a computer.
2. Background of the Invention
Nowadays, a computer not only can be used for data processing, that is, computers act as assistants for humans, but also can play a part as a multi-media player that brings music or multi-media presentation to people. A computer may be associated to many audio devices while the computer is assembled in a computer factory. Before the computer is shipped to a customer or a computer seller, the computer should pass a series of tests to make sure that the computer works normally.
One of the tests is audio test that test functions of audio devices associated to the computer. A conventional solution to audio test is to display an audio file or a multi-media disk on an audio device associated to the computer, while a test engineer listens to the audio device with an earphone to determine if the audio device works normally.
This conventional solution has disadvantages in some way. For example, each computer need be assigned with a test engineer to monitor the test, in this regard, costs of the test engineer is high for a computer factory. Additionally, quality judgment for the audio device is made by the test engineer according to what he or she has listened to. Thus, this is not a good solution to audio test.
Some other test methods may partially overcome the advantages described above. Recent patents or applications in the art include China patent application No. 02159937.8, entitled “Method for testing a compact disk player associated to a computer automatically” and published on Jul. 14, 2004. The patent application discloses a method for testing a compact disk player associated to a computer automatically other than utilizing a test engineer to listening to.
Although the method disclosed in the patent application described above is performed automatically, there is still room to make improvements to the method. Such as, the method should be performed only when the compact disk read only memory (CD-ROM) drive functions normally and a compact disk storing audio files is prepared. In addition, the method can not be used to test a connection of each input port and each output port of the audio device, i.e., test the input and output ports at the same time.
Accordingly, what is a need is a method for testing an audio device associated to a computer automatically, which can not only test play functions of the audio device, but also test a connection of each input port and each output port of the audio device.
Embodiments of the present invention provide methods for testing an audio device associated to a computer automatically, which can not only test play functions of the audio device, but also test a connection of each input port and each output port of the audio device.
Briefly described, one embodiment of such a method among others, can be implemented as described herein. The method includes the steps of: preparing an original audio file; connecting an input port with an output port of the audio device; playing the original audio file on the audio device; outputting audio signals from the output port; receiving the audio signals at the input port; recording the audio signals as a recorded audio file; comparing the original audio file with the recorded audio file; and reporting a test result indicating that the play functions of the audio device are normal if the two audio files are identical.
Another embodiment of such a method, among others, can be broadly summarized by the steps described hereinafter. The method includes the steps of: preparing an original audio file; connecting an input port with an output port of the audio device; playing the original audio file on the audio device; outputting audio signals from the output port; receiving the audio signals at the input port; recording the audio signals as a recorded audio file in the computer; comparing the original audio file with the recorded audio file; and reporting a test result indicating that the connection of the input port and the output is normal.
Other methods, features, and advantages of the present invention will be or become apparent to one with skill in the art upon examination of the following drawings and detailed description. It is intended that all such additional methods, features, and advantages be included within this description, be within the scope of the present invention, and be protected by the accompanying claims.
The computer 10 is installed music player software (hereinafter, “the player software”) to play the audio file and record the audio signals as a recorded audio file. Such player software can be commercially obtained, which, for example, may be Microsoft Windows Media Player. The computer 10 may also run software for testing the audio device 12 (herein after, “the test software”).
It should be noted that the audio device 12 may include more than one input port 13 and more than one output port 14. It also should be noted that the preferred test method may be applied to test a connection of one input port and one output port. In step S215, if the two analyzed audio files are identical, the connection of the input port 13 and the output 14 is normal. Otherwise, if the two analyzed audio files are not identical, the connection of the input port 13 and the output 14 is abnormal.
It should be emphasized that the above-described “preferred” embodiments of the present invention are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the invention. Many variations and modifications may be made to the above-described embodiment(s) of the invention without departing substantially from the spirit and principles of the invention. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present invention and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
93130550 | Oct 2004 | TW | national |