CN106303877A - The audio testing method of a kind of Windows panel computer and system - Google Patents

The audio testing method of a kind of Windows panel computer and system Download PDF

Info

Publication number
CN106303877A
CN106303877A CN201510262795.8A CN201510262795A CN106303877A CN 106303877 A CN106303877 A CN 106303877A CN 201510262795 A CN201510262795 A CN 201510262795A CN 106303877 A CN106303877 A CN 106303877A
Authority
CN
China
Prior art keywords
panel computer
module
audio
recording
test
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.)
Granted
Application number
CN201510262795.8A
Other languages
Chinese (zh)
Other versions
CN106303877B (en
Inventor
范绍雅
刘志雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Science And Technology Ltd Is Created In Guangxi Three
Original Assignee
Science And Technology Ltd Is Created In Guangxi Three
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 Science And Technology Ltd Is Created In Guangxi Three filed Critical Science And Technology Ltd Is Created In Guangxi Three
Priority to CN201510262795.8A priority Critical patent/CN106303877B/en
Publication of CN106303877A publication Critical patent/CN106303877A/en
Application granted granted Critical
Publication of CN106303877B publication Critical patent/CN106303877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The present invention relates to audio-frequency test technical field, disclose audio testing method and the system of a kind of Windows panel computer.The method, when being not inserted into earphone, opens the onboard microphone of panel computer;Panel computer is recorded, and the recording obtained is converted into WAV audio file plays out;Judge that the onboard microphone sound-recording function of panel computer is the most normal;When inserting earphone, then panel computer automatically switches into headset input pattern;Judge that the sound-recording function of headset is the most normal;Panel computer plays one section of music or video;Judge that the speaker voice effect of panel computer is the most normal;Output test result.Onboard microphone and earphone jack can be switched over by the present invention automatically, it is achieved the test of both sound-recording functions, also can realize testing speaker, and its method is simple, reliable and is easily achieved.

Description

The audio testing method of a kind of Windows panel computer and system
Technical field
The present invention relates to audio-frequency test technical field, in particular, particularly to a kind of Windows The audio testing method of panel computer and system.
Background technology
In Windows panel computer production process, audio frequency is the composition portion that panel computer one is important Point, it is necessary to it is carried out certain reliability testing, wherein has the two of sound-recording function and loudspeaker function Item test.When sound-recording function is tested, the onboard microphone of machine and earphone jack are required for test, If the test crash that recording test any of which is, then it represents that sound-recording function is problematic.But, In normal test process, it is impossible to actually or learn the asking of problem earphone jack of onboard microphone Topic, so brings great inconvenience to case study.
Summary of the invention
Present invention aims to the technical problem that prior art exists, it is provided that a kind of Windows The audio testing method of panel computer and system, it is possible to onboard microphone and earphone jack are carried out automatically Switching, it is achieved the test of both sound-recording functions, also can realize testing speaker.
In order to solve posed problems above, the technical solution used in the present invention is:
The audio testing method of a kind of Windows panel computer, this method of testing specifically comprises the following steps that
Step one: when being not inserted into earphone, opens the onboard microphone of panel computer;
Step 2: panel computer is recorded by onboard microphone, and the recording conversion that will obtain WAV audio file is become to play out;
Step 3: judge that the onboard microphone sound-recording function of panel computer is the most normal, if normally, Then discriminating test result is passed through, and performs step 4;If abnormal, then discriminating test result failure, And perform step 9;
Step 4: when inserting earphone, then panel computer automatically switches into headset input pattern;
Step 5: panel computer is recorded by the headset of earphone, and the recording conversion that will obtain WAV audio file is become to play out;
Step 6: judge that the sound-recording function of headset is the most normal, if normally, then discriminating test result Pass through, and perform step 7;If abnormal, then discriminating test result failure, and perform step 9;
Step 7: panel computer plays one section of music or video;
Step 8: judge that the speaker voice effect of panel computer is the most normal, if normally, then sentence Location survey test result passes through;If abnormal, then discriminating test result failure;
Step 9: output test result, terminates.
In described step 2, also the acoustical signal of panel computer left/right sound channel is sampled, and will adopt Sample data change into visualized graphs in real time and show.
The audio test system of a kind of Windows panel computer, this audio test system includes mould of recording Block, conversion playing module, test module, output module and switch detection module;
Described switch detection module is for onboard microphone and the ear when audio-frequency test, to panel computer Machine transplanting of rice hole switches over;
Panel computer is recorded by described recording module, and the recording obtained is exported to converting broadcasting Module;
The recording obtained is converted into WAV audio file by described conversion playing module, and plays out;
Described test module is according to the WAV audio file play, it is judged that onboard microphone or earphone jack Sound-recording function the most normal;Test module is the most just also judging the speaker voice effect of panel computer Often;
The result of test module testing is exported by described output module.
Described audio test system also includes sampled voice module and conversion display module;
Described sampled voice module is used for sampling the acoustical signal of panel computer left/right sound channel, and Sampled data is exported to conversion display module;
The sampled data received is changed into visualized graphs by described conversion display module in real time, goes forward side by side Row shows makes sampled data visualize.
Compared with prior art, the beneficial effects of the present invention is:
Onboard microphone and earphone jack can be switched over by the present invention automatically, and respectively to onboard The sound-recording function of mike and earphone headset is tested, both switchings freely, consequently facilitating test, Can also test the speaker of panel computer, its method is simple, reliable and is easily achieved;This Outward, during recording, also carry out sampling and changing into visualized graphs, visual figure circle Face greatly facilitates the judgement for result of recording.
Accompanying drawing explanation
Fig. 1 is the audio test system schematic diagram of Windows panel computer of the present invention.
Fig. 2 is the audio testing method flow chart of Windows panel computer of the present invention.
Fig. 3 is earphone jack automatic detection circuit schematic diagram of the present invention.
Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is more fully retouched State.Accompanying drawing gives presently preferred embodiments of the present invention.But, the present invention can be different with many Form realizes, however it is not limited to embodiment described herein.On the contrary, provide these embodiments Purpose is to make the understanding to the disclosure more thorough comprehensively.
Unless otherwise defined, all of technology used herein and scientific terminology with belong to the present invention's The implication that those skilled in the art are generally understood that is identical.Institute the most in the description of the invention The term used is intended merely to describe the purpose of specific embodiment, it is not intended that in limiting the present invention.
Refering to shown in Fig. 1, the present invention provides the audio testing method of a kind of Windows panel computer, This method of testing specifically comprises the following steps that
Step one: when being not inserted into earphone, opens the onboard microphone of panel computer.
Step 2: panel computer is recorded, and the recording obtained is converted into WAV audio file Play out.In this step, by onboard microphone, panel computer is recorded.
Above-mentioned recording during, also the acoustical signal of panel computer left/right sound channel is sampled, And sampled data is changed into visualized graphs in real time show, so that sampled data visualization.
Step 3: judge that the onboard microphone sound-recording function of panel computer is the most normal, if normally, Then discriminating test result is passed through, and performs step 4;If abnormal, then discriminating test result failure, And perform step 9.
Step 4: when inserting earphone, then panel computer automatically switches into headset input pattern.
Step 5: panel computer is recorded by the headset of earphone, and the recording conversion that will obtain WAV audio file is become to play out.
Step 6: judge that the sound-recording function of headset is the most normal, if normally, then discriminating test result Pass through, and perform step 7;If abnormal, then discriminating test result failure, and perform step 9.
In above-mentioned, whether normal the sound-recording function of earphone headset and onboard microphone is, is all by recording Sound judges after playing.
Step 7: panel computer plays one section of music or video (such as MP3), for panel computer Speaker voice effect is tested.
Step 8: judge that the speaker voice effect of panel computer is the most normal, if normally, then sentence Location survey test result passes through;If abnormal, then discriminating test result failure.
In above-mentioned, although step 2 is also required to be played out by speaker after recording, but one section of record Sound and the tonequality of one section of music and effect are diverse, in this step, mainly to speaker Sound effect judge, i.e. judge its play music acoustical quality the most normal.
Step 9: output test result, terminates.
As shown in Figure 2, the audio-frequency test system of a kind of Windows panel computer that the present invention also provides for System, this audio test system includes recording module, converts playing module, test module, output module And switch detection module.
Described switch detection module is for onboard microphone and the ear when audio-frequency test, to panel computer Machine transplanting of rice hole switches over, and it is convenient and reliable, makes both switchings freely.With typical earphone jack circuit As a example by (refering to shown in Fig. 3), detection pin connect a pull-up resistor, so can produce one Signal, represents whether earphone or other adnexa insert jack.If there being certain adnexa to insert, detection is drawn Foot will be switched off.When not having adnexa to insert jack, output signal is driven high;When having adnexa to insert jack, Signal is pulled low.This detection is signally attached to a microcontroller ports (for switching inspection in the present embodiment Survey module), it can be cut between speaker (during without earphone) and earphone speaker (when having earphone) automatically Change audio signal.
Panel computer is recorded by described recording module, and the recording obtained is exported to converting broadcasting Module.
The recording obtained is converted into WAV audio file by described conversion playing module, and plays out.
Described test module is according to the WAV audio file play, it is judged that onboard microphone or earphone jack Sound-recording function the most normal;After test module is also by speaker one section of music of broadcasting of panel computer, Judge that the voice effect of speaker is the most normal.
The result of test module testing is exported by described output module.
In above-mentioned, described audio test system also includes sampled voice module and conversion display module.
Described sampled voice module is used for sampling the acoustical signal of panel computer left/right sound channel, and Sampled data is exported to conversion display module.
The sampled data received is changed into visualized graphs by described conversion display module in real time, goes forward side by side Row shows makes sampled data visualize.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not by upper Stating the restriction of embodiment, that is made under other any spirit without departing from the present invention and principle changes Become, modify, substitute, combine, simplify, all should be the substitute mode of equivalence, be included in the present invention Protection domain within.

Claims (4)

1. the audio testing method of a Windows panel computer, it is characterised in that: this method of testing Specifically comprise the following steps that
Step one: when being not inserted into earphone, opens the onboard microphone of panel computer;
Step 2: panel computer is recorded by onboard microphone, and the recording obtained is converted into WAV audio file plays out;
Step 3: judge that the onboard microphone sound-recording function of panel computer is the most normal, if normally, then Discriminating test result is passed through, and performs step 4;If abnormal, then discriminating test result failure, and Perform step 9;
Step 4: when inserting earphone, then panel computer automatically switches into headset input pattern;
Step 5: panel computer is recorded by the headset of earphone, and the recording obtained is converted into WAV audio file plays out;
Step 6: judging that the sound-recording function of headset is the most normal, if normally, then discriminating test result is led to Cross, and perform step 7;If abnormal, then discriminating test result failure, and perform step 9;
Step 7: panel computer plays one section of music or video;
Step 8: judge that the speaker voice effect of panel computer is the most normal, if normally, then judge Test result is passed through;If abnormal, then discriminating test result failure;
Step 9: output test result, terminates.
The audio testing method of Windows panel computer the most according to claim 1, its feature It is: in described step 2, also the acoustical signal of panel computer left/right sound channel is sampled, and will Sampled data changes into visualized graphs in real time and shows.
3. the audio test system of a Windows panel computer, it is characterised in that: this audio-frequency test System includes recording module, converts playing module, test module, output module and switch detection module;
Described switch detection module is for onboard microphone and the earphone when audio-frequency test, to panel computer Jack switches over;
Panel computer is recorded by described recording module, and the recording obtained is exported to converting broadcasting mould Block;
The recording obtained is converted into WAV audio file by described conversion playing module, and plays out;
Described test module is according to the WAV audio file play, it is judged that onboard microphone or earphone jack Sound-recording function is the most normal;Test module also judges that the speaker voice effect of panel computer is the most normal;
The result of test module testing is exported by described output module.
The audio test system of Windows panel computer the most according to claim 3, its feature It is: described audio test system also includes sampled voice module and conversion display module;
Described sampled voice module is used for sampling the acoustical signal of panel computer left/right sound channel, and Sampled data is exported to conversion display module;
The sampled data received is changed into visualized graphs by described conversion display module in real time, and carries out Display makes sampled data visualize.
CN201510262795.8A 2015-05-21 2015-05-21 Audio test method and system for Windows tablet computer Active CN106303877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510262795.8A CN106303877B (en) 2015-05-21 2015-05-21 Audio test method and system for Windows tablet computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510262795.8A CN106303877B (en) 2015-05-21 2015-05-21 Audio test method and system for Windows tablet computer

Publications (2)

Publication Number Publication Date
CN106303877A true CN106303877A (en) 2017-01-04
CN106303877B CN106303877B (en) 2020-10-16

Family

ID=57634002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510262795.8A Active CN106303877B (en) 2015-05-21 2015-05-21 Audio test method and system for Windows tablet computer

Country Status (1)

Country Link
CN (1) CN106303877B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836180A (en) * 2019-04-23 2020-10-27 Oppo(重庆)智能科技有限公司 Electronic equipment earphone function test system and test method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859813A (en) * 2005-09-28 2006-11-08 华为技术有限公司 Signal switching method for internal and external microphone
CN101729969A (en) * 2008-10-27 2010-06-09 纬创资通股份有限公司 Method and system for testing microphone of electronic device
CN102026083A (en) * 2009-09-16 2011-04-20 沈阳晨讯希姆通科技有限公司 Earphone test device
CN102413402A (en) * 2010-09-26 2012-04-11 康佳集团股份有限公司 Audio frequency control method of audio frequency output device and audio frequency output device
CN102638756A (en) * 2012-04-26 2012-08-15 青岛海信移动通信技术股份有限公司 Mobile terminal voice frequency test method, test device and mobile terminal
US20130142346A1 (en) * 2011-12-05 2013-06-06 Inventec Corporation Audio testing system and audio testing method for device under test
CN103167391A (en) * 2011-12-12 2013-06-19 英业达股份有限公司 Audio test system and audio test method for to-be-tested device
CN203027489U (en) * 2013-01-16 2013-06-26 东莞市伟旺达电子有限公司 Indication circuit for testing earphone
CN103179495A (en) * 2011-12-20 2013-06-26 比亚迪股份有限公司 Audio test method and system for earphone microphone and receiver of mobile terminal
CN103945310A (en) * 2014-04-29 2014-07-23 华为终端有限公司 Transmission method, mobile terminal, multi-channel earphones and audio playing system
CN104038606A (en) * 2014-06-05 2014-09-10 李骥琛 Headphone and microphone combination testing method and system
CN104105048A (en) * 2014-07-17 2014-10-15 福建星网视易信息系统有限公司 Detecting system, device and method for audio test of electronic device
CN104485117A (en) * 2014-12-16 2015-04-01 福建星网视易信息系统有限公司 Method and system for detecting sound recording equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859813A (en) * 2005-09-28 2006-11-08 华为技术有限公司 Signal switching method for internal and external microphone
CN101729969A (en) * 2008-10-27 2010-06-09 纬创资通股份有限公司 Method and system for testing microphone of electronic device
CN102026083A (en) * 2009-09-16 2011-04-20 沈阳晨讯希姆通科技有限公司 Earphone test device
CN102413402A (en) * 2010-09-26 2012-04-11 康佳集团股份有限公司 Audio frequency control method of audio frequency output device and audio frequency output device
US20130142346A1 (en) * 2011-12-05 2013-06-06 Inventec Corporation Audio testing system and audio testing method for device under test
CN103167391A (en) * 2011-12-12 2013-06-19 英业达股份有限公司 Audio test system and audio test method for to-be-tested device
CN103179495A (en) * 2011-12-20 2013-06-26 比亚迪股份有限公司 Audio test method and system for earphone microphone and receiver of mobile terminal
CN102638756A (en) * 2012-04-26 2012-08-15 青岛海信移动通信技术股份有限公司 Mobile terminal voice frequency test method, test device and mobile terminal
CN203027489U (en) * 2013-01-16 2013-06-26 东莞市伟旺达电子有限公司 Indication circuit for testing earphone
CN103945310A (en) * 2014-04-29 2014-07-23 华为终端有限公司 Transmission method, mobile terminal, multi-channel earphones and audio playing system
CN104038606A (en) * 2014-06-05 2014-09-10 李骥琛 Headphone and microphone combination testing method and system
CN104105048A (en) * 2014-07-17 2014-10-15 福建星网视易信息系统有限公司 Detecting system, device and method for audio test of electronic device
CN104485117A (en) * 2014-12-16 2015-04-01 福建星网视易信息系统有限公司 Method and system for detecting sound recording equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111836180A (en) * 2019-04-23 2020-10-27 Oppo(重庆)智能科技有限公司 Electronic equipment earphone function test system and test method

Also Published As

Publication number Publication date
CN106303877B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
US8879744B2 (en) Audio testing system and audio testing method for device under test
JP2009159477A5 (en)
CN108347686A (en) Audio testing method, device, smart machine and storage medium
CN104244161A (en) Method and device for testing equipment with voice playing function and voice recording function
CN105979462A (en) Test processing method and device based on microphone
CN104267924A (en) Mobile terminal and audio processing method thereof
CN107371115A (en) A kind of detection method, storage medium and the terminal of complete machine loudspeaker performance
CN104601769A (en) Automatic mobile phone main board audio testing system
CN105976829A (en) Audio processing apparatus and method
CN1869943A (en) Method for detecting audio connection function of audio receiver and computer mainframe board
US8116466B2 (en) Apparatus and method for testing sound input and output of sound card
CN104038606A (en) Headphone and microphone combination testing method and system
CN111491248A (en) Audio detection system and audio detection method of electronic product
CN106303877A (en) The audio testing method of a kind of Windows panel computer and system
CN103037298B (en) Test method of sound socket of portable electronic device
CN102638756A (en) Mobile terminal voice frequency test method, test device and mobile terminal
CN103632695A (en) Testing device and testing method
WO2016098807A1 (en) Portable audio apparatus display device
CN110475196A (en) Test fixture, acoustical device test macro and method
CN113543005B (en) Audio device detection method and system
CN109542386B (en) Recording device
CN201000926Y (en) Multipath audio signal wire
CN104954942A (en) Signal input device and method for echo cancellation
CN104954952A (en) Sound recording device of headset
JP2008288628A (en) Speaker detector, device and method for setting the number of channels, and control program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant