CN201233594Y - Test device for sound interface - Google Patents
Test device for sound interface Download PDFInfo
- Publication number
- CN201233594Y CN201233594Y CNU2008201266977U CN200820126697U CN201233594Y CN 201233594 Y CN201233594 Y CN 201233594Y CN U2008201266977 U CNU2008201266977 U CN U2008201266977U CN 200820126697 U CN200820126697 U CN 200820126697U CN 201233594 Y CN201233594 Y CN 201233594Y
- Authority
- CN
- China
- Prior art keywords
- sound
- input end
- source
- module
- source input
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Monitoring And Testing Of Exchanges (AREA)
Abstract
The utility model provides a testing device of an audio interface, which is used for detecting the bloop inhibiting capability of the audio interface. The audio interface comprises a sound source output terminal and a sound source input terminal. The testing device comprises a control module and a sound module which comprises an sound channel switching module and a sound producing unit; and the sound producing unit firstly detects the quality of the sound source input terminal by providing a sinusoidal wave, and then provides sinusoidal waves at a series of frequencies to detect the bloop inhibiting capability of the audio interface, if the detected signal-to-noise ratio is higher than the expected value; and if the detected signal-to-noise ratio is lower than the expected value, that the sound source input terminal goes wrong is indicated, and the correctness of the test result of the audio interface is affected.
Description
Technical field
The utility model relates to a kind of proving installation of sound interface, particularly a kind of proving installation of sound interface signal to noise ratio (S/N ratio).
Background technology
Personal computer has been an indispensable outfit now, and its function also no longer is that simple document is handled, and amusements such as the user surfs the Net, listens to the music also are provided simultaneously.Sound interface just becomes very important outfit, because sound interface has been responsible for the function of all sound aspects.Except being used for the function of voice output, for example music, film are dialled and are put etc., also are applied to the sound input, for example voice-over-net, sound recording etc.
The proving installation of existing sound interface is: sound interface is installed in the personal computer, can transmit the wire rod of sound by sound source wire (Audio Line) or other, the input of the circuit in the sound interface (LineIn, Microphone) hole is connected with circuit output (Line Out) hole.Wherein circuit is output as the playback source, and circuit is input as transcription source.When testing, utilize the volume of program recording playback sound to be set to fixed value.Play the sine wave (frequency is from 20Hz to 20KHz) of a series of frequencies then by the playback source, transcription source is recorded sine wave simultaneously.The sine wave that utilizes fourier transform (Fourier Transform) that transcription source is recorded is converted to frequency domain data.Calculate signal to noise ratio (S/N ratio) (SNR, Signal to Noise Ratio) and signal to noise ratio (S/N ratio) and expectation value are compared.If it is not fine that signal to noise ratio (S/N ratio) is lower than expectation value representative voice interface,, signal to noise ratio (S/N ratio) on audio is handled, good performance is arranged if being higher than expectation value representative voice interface on audio is handled.
Sound interface is at the useful source of sound of user is handled, and suppresses the otiose noise of user (Noise).Therefore, can utilize the worthwhile work of signal to noise ratio (S/N ratio) is a criterion to sound interface noise suppression ability.The computing formula of signal to noise ratio (S/N ratio) is as follows:
SNR=10*1g(Ps/Pn)
Wherein, Ps is the power of signal, and Pn is a noise power.
Yet the proving installation of existing sound interface has following problem.First, if transcription source itself just exists bigger background noise (electromagnetic interference (EMI) of the different assemblies of computer-internal produces) or quality bad (the different sound channels of transcription source itself have problems such as the sound of leakage or broken string), the correctness of final testing result is influenced to some extent.The second, if the sound channel of frequency to be tested too much (for example 5.1 sound channels or 7.1 sound channels) needs to change continually the sound channel circuit in manual operation, make that easily the interface end generation of sound interface is loosening, and produce unnecessary noise.
Summary of the invention
In view of above problem, the utility model provides a kind of proving installation of sound interface.In the test process that improves existing sound interface, transcription source itself just exists bigger background noise or quality bad, and too much must artificially change the sound channel circuit continually because of sound channel, make that the interface end of sound interface is loosening and produce unnecessary noise, and have influence on the correctness of test result.
The proving installation of the disclosed sound interface of the utility model is in order to the ability of the sound interface noise suppression of detected electrons data processing equipment.Wherein, sound interface comprises source of sound output terminal and sound source input end.
The proving installation of the disclosed sound interface of the utility model includes control module and sound module.Wherein, sound module comprises track switching module and phonation unit.Sound module is electrically connected to source of sound output terminal and sound source input end.Control module is electrically connected to sound interface and sound module.When this proving installation was in first detected state, control module control phonation unit and sound source input end electrically connected.When this proving installation was in second detected state, control module control track handover module was electrically connected to source of sound output terminal and sound source input end.
Whether phonation unit satisfies testing requirement in order to produce the sine wave of 1KHz to detect sound source input end.Track switching module has a plurality of sound channels, reaches sound source input end in order to the sound that the source of sound output terminal is play.If the output channels number of source of sound output terminal is less than or the input sound channel that is equal to sound source input end when counting, control module control track handover module can once be finished sound source input end and is received this sound.When if the output channels number of source of sound output terminal is counted more than the input sound channel of sound source input end, by the control of control module, make sound source input end receive corresponding channel number one by one, up to the output channels number of all receiving the source of sound output terminal.
Effect of the present utility model is, utilizes control module to switch the setting of sound module according to different conditions.When first detected state, control module is switched the phonation unit be set to sound module, to detect the sound source input end noises such as noise or quality be bad of whether having powerful connections itself.When second detected state, control module is switched the track switching module that is set to sound module, makes sound source input end can receive the source of sound sound channel that is transmitted by the source of sound output terminal one by one, has influence on the correctness of test result to avoid external factor.
Below in conjunction with the drawings and specific embodiments the utility model is described in detail, but not as to qualification of the present utility model.
Description of drawings
Fig. 1 is according to pick-up unit synoptic diagram of the present utility model;
Fig. 2 A is for being in the synoptic diagram of first detected state according to pick-up unit of the present utility model;
Fig. 2 B is for being in the synoptic diagram of second detected state according to pick-up unit of the present utility model;
Fig. 3 A is first synoptic diagram according to track switching module running of the present utility model; And
Fig. 3 B is second synoptic diagram according to track switching module running of the present utility model.
Wherein, Reference numeral
110 personal computers
120 sound interfaces
121 source of sound output terminals
1,211 first output channels
1,212 second output channels
122 sound source input ends
1,221 first input sound channels
210 control modules
220 sound modules
221 track switching modules
2,211 first paths
2,212 second paths
222 phonation units
310 first test cells
320 second test cells
Embodiment
Below in embodiment, be described in detail detailed features of the present utility model and advantage, its content is enough to make any those skilled in the art to understand technology contents of the present utility model and implements according to this, and according to the disclosed content of this instructions, claim scope and accompanying drawing, any those skilled in the art can understand the utility model relevant purpose and advantage easily.Following embodiment further describes viewpoint of the present utility model, but non-to limit category of the present utility model anyways.
According to the proving installation of the disclosed sound interface of the utility model, can be applicable to the sound interface test in the electronic data processing equipment.This electronic data processing equipment can be personal computer (PersonalComputer), mobile phone (Mobile Phone), personal digital assistant (Personal DigitalAssistant, PDA), intelligent mobile phone (PDA phone, Smart phone), Espresso (Pocket PC) or palmtop computer (Hand-held PC) etc. have the operating system of sounding and sound-recording function.Sound interface can be sound card (Sound Card), and what it can be for ISA interface, pci interface or USB interface is arbitrary.
See also Fig. 1, it is the preferred embodiment synoptic diagram of the proving installation of the sound interface of the utility model exposure.The proving installation of the sound interface that the utility model discloses comprises personal computer 110, sound interface 120, control module 210, and sound module 220.Wherein, sound interface 120 comprises source of sound output terminal 121 and sound source input end 122.Sound module 220 comprises track switching module 221 and phonation unit 222.Phonation unit 222 comprises crystal oscillator (not icon).
Wherein, sinusoidal wave generation can utilize the sine and cosine conversion to produce by program.Also can record one section sine wave, and then put by phonation unit 222 or 122 groups of source of sound output terminals by third party's instrument.If produce by program sinusoidal wave, can be with reference to following formula:
x[n]=x[n-1]*cos(dt)-y[n-1]*sin(dt)
y[n]=x[n-1]*sin(dt)+y[n-1]*cos(dt)
Wherein, dt is waveform radian (frequency dependence).
Please continue to consult Fig. 2 A, it is in the running synoptic diagram of first detected state for the utility model.At first, utilize control module 210 to cut off the electric connection of track switching module 221 and sound source input end 122, and control phonation unit 222 is electrically connected to sound source input end 122.Phonation unit 222 produces the sinusoidal wave of 1KHz and is sent to sound source input end 122.When sound source input end 122 receives 1KHz sinusoidal wave, record the sine wave of this 1KHz simultaneously.Then, utilize first test cell 310 that the sine wave of the 1KHz that records is carried out Analysis signal-to-noise ratio (SNR), to judge the Audio Processing effect of sound source input end.First test cell 310 can be program, also can be firmware.First test cell 310 is converted to frequency domain data with the sine wave of this 1KHz, and conversion method is a fourier transform.After obtaining this sinusoidal wave frequency domain data, promptly the 1KHz place of this frequency domain data is carried out the calculating of signal to noise ratio (S/N ratio).(in this embodiment setting value is 60dB to the signal to noise ratio (S/N ratio) that calculates if be lower than 60dB, the user can comply with the requirement of tonequality is set at other value), represent sound source input end 122 itself just to exist the bigger background noise electromagnetic interference (EMI) of the different assemblies (produce) or the bad noises such as (having problems such as the sound of leakage or broken string) of quality, can influence to some extent the correctness of second detected state.If signal to noise ratio (S/N ratio) is higher than 60dB, represent sound source input end 122 enough to meet the demands, can not have influence on the correctness of ensuing second detected state.
Please continue to consult Fig. 2 B, it is in the running synoptic diagram of second detected state for the utility model.At first, utilize control module 210 to cut off phonation unit 222 and electrically connect, and control track handover module 221 is electrically connected to sound source input end 122 with sound source input end 122.Source of sound output terminal 121 produces the testing audio of 20Hz sine wave and is sent to sound source input end 122 by track switching module 221.When sound source input end 122 receives the testing audio of 20Hz sine wave, record this testing audio simultaneously, record length is 1 sampling period.Then, utilize second test cell 320 that the sine wave of the 20Hz that records is carried out Analysis signal-to-noise ratio (SNR), to judge the Audio Processing effect of source of sound output terminal.Second test cell 320 can be program, also can be firmware.Second test cell 320 is converted to frequency domain data with the testing audio of this 20Hz sine wave, and conversion method is a fourier transform.After obtaining the frequency domain data of testing audio of this 20Hz sine wave, promptly the frequency domain data of this frequency is carried out the calculating of signal to noise ratio (S/N ratio).The signal to noise ratio (S/N ratio) that calculates is if be lower than 60dB, and representative voice output terminal 121 is good inadequately to the frequency processing effect of this 20Hz.If be higher than 60dB, the frequency processing effect of 121 couples of 20Hz of representative voice output terminal can satisfy the demands.Repeat playing to a series of sine wave all detects and finishes, and can obtain the noise ability that sound output 121 suppresses different frequency.
Please continue to consult Fig. 3 A and Fig. 3 B, it is the testing audio that source of sound output terminal 121 transmits two-channel (first output channels 1211 and second output channels 1212), and 122 of sound source input ends are when having monophony (first input sound channel 1221), the running embodiment synoptic diagram of track switching module 221 of the present utility model (have a plurality of sound channels, only indicate first path 2211, second path 2212).When first output channels 1211 and second output channels 1212 transmitted testing audio simultaneously to track switching module 221, first path 2211 of the first control track handover module 221 of control module 210 (not icon) and first input sound channel 1221 electrically connected (as shown in Figure 3A).After first input sound channel 1221 has been recorded the testing audio of first output channels 1211, control module 210 (not icon) is cut off the electric connection of first path 2211 and first input sound channel 1221, and control second path 2212 and first input sound channel 1221 electrically connects (shown in Fig. 3 B), record to carry out the testing audio that second output channels 1212 play.
Source of sound output terminal 121 in the present embodiment is not defined as two-channel, also can be monophony or multichannel.Sound source input end 122 is not defined as monophony, also can be multichannel.
For instance, when source of sound output terminal 121 be multichannel (for convenience of description, this is with first output channels, second output channels, the 3rd output channels and the 4th output channels are example), and sound source input end 122 be two-channel (for convenience of description, below be called first input sound channel and second input sound channel) time, track switching module 221 electrically connects first output channels of source of sound output terminal 121 and second output channels respectively earlier with first input sound channel and second input sound channel of sound source input end 122, make sound source input end 122 record audio frequency from first output channels and second output channels.After sound source input end 122 has been recorded audio frequency from first output channels and second output channels, disconnect the electric connection of the two-channel of this two sound channel and sound source input end 122.Utilize track switching module 221 that the 3rd output channels of source of sound output terminal 121 and the 4th output channels are electrically connected with first input sound channel and second input sound channel of sound source input end 122 respectively again, make sound source input end 122 record audio frequency from the 3rd output channels and the 4th output channels.In record finish after, disconnect the electric connection of the two-channel of this two sound channel and sound source input end 122 again.When source of sound output terminal 121 is quadraphonic when above, all channel number of source of sound output terminal 121 have then been recorded in regular turn until sound input end 122 according to above-mentioned operating mode.
Effect of the present utility model is, utilizes control module to switch the setting of sound module according to different conditions.When first detected state, the phonation unit that utilizes sound module is to detect the sound source input end noises such as noise or quality be bad of whether having powerful connections itself.When second detected state, utilize the track switching module of sound module, the source of sound sound channel that the source of sound output terminal is produced can be one by one and automatically is sent to the sound channel of sound source input end, has influence on the correctness of test result to avoid external factor.
Certainly; the utility model also can have other various embodiments; under the situation that does not deviate from the utility model spirit and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the utility model, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the utility model.
Claims (9)
1, a kind of proving installation of sound interface, in order to detect a sound interface, this sound interface comprises a source of sound output terminal and a sound source input end, it is characterized in that, this proving installation comprises:
One sound module is connected to this source of sound output terminal and this sound source input end; And
One control module, in order to the binding of this source of sound output terminal and this sound source input end is set according to this sound module of the control of one in one first detected state and one second detected state, wherein this first detected state is in order to detecting the noise of this sound source input end, and this second detected state is in order to detect the signal to noise ratio (S/N ratio) of this source of sound output terminal.
2, the proving installation of sound interface according to claim 1 is characterized in that, this sound module comprises:
One phonation unit; And
One track switching module is connected to this control module, is used under the control of this control module, when this first detected state, this phonation unit and this sound source input end are electrically connected, and when this second detected state, this track switching module and this sound source input end are electrically connected.
3, the proving installation of sound interface according to claim 2 is characterized in that, this phonation unit is in order to providing the signal with a set frequency waveform, and when this first detected state, exports this signal to this sound source input end.
4, the proving installation of sound interface according to claim 3 is characterized in that, this phonation unit comprises a crystal oscillator.
5, the proving installation of sound interface according to claim 3 is characterized in that, the sine wave that this set frequency waveform is 1 KHz.
6, the proving installation of sound interface according to claim 1, it is characterized in that, this source of sound output terminal has at least one output channels, this sound source input end has at least one input sound channel, and when this second detected state, this control module is controlled this track switching module this input sound channel is electrically connected with this output channels one to one, causes each this input sound channel to receive the testing audio that this output channels transmitted that is connected by this track switching module.
7, the proving installation of sound interface according to claim 6, it is characterized in that, when the quantity of this output channels during more than this input sound channel, this control module is controlled batch switching in regular turn of this track switching module with the electrically connect of this input sound channel and this output channels, causes all these output channels to transmit this testing audio and one of gives in this input sound channel.
8, the proving installation of sound interface according to claim 1, it is characterized in that, this source of sound output terminal has at least one output channels, this sound source input end has at least one input sound channel, and when this second detected state, this control module control this track switching module in regular turn with each this output channels separately with this input sound channel in one of electrically connect, cause a testing audio that each this output channels exports via this track switching module by reception one of in this input sound channel.
9, the proving installation of sound interface according to claim 1 is characterized in that, also comprises:
One first test cell, when being used to this first detected state, the signal to noise ratio (S/N ratio) of a signal of calculating the received set frequency of this sound source input end is to judge the Audio Processing effect of this sound source input end; And
One second test cell, when being used to this second detected state, the signal to noise ratio (S/N ratio) of calculating the received at least one testing audio from this source of sound output terminal of this sound source input end is to judge the Audio Processing effect of this source of sound output terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201266977U CN201233594Y (en) | 2008-07-17 | 2008-07-17 | Test device for sound interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2008201266977U CN201233594Y (en) | 2008-07-17 | 2008-07-17 | Test device for sound interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201233594Y true CN201233594Y (en) | 2009-05-06 |
Family
ID=40619975
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2008201266977U Expired - Lifetime CN201233594Y (en) | 2008-07-17 | 2008-07-17 | Test device for sound interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201233594Y (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004682B (en) * | 2009-09-02 | 2013-01-23 | 广达电脑股份有限公司 | Test system and test method thereof |
CN104484150A (en) * | 2014-12-29 | 2015-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Audio play method, audio play device and terminal |
-
2008
- 2008-07-17 CN CNU2008201266977U patent/CN201233594Y/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004682B (en) * | 2009-09-02 | 2013-01-23 | 广达电脑股份有限公司 | Test system and test method thereof |
CN104484150A (en) * | 2014-12-29 | 2015-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Audio play method, audio play device and terminal |
CN104484150B (en) * | 2014-12-29 | 2017-08-11 | 宇龙计算机通信科技(深圳)有限公司 | Method, device and a kind of terminal that a kind of audio is played |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8879744B2 (en) | Audio testing system and audio testing method for device under test | |
CN101854571B (en) | Headphone device | |
CN103297909B (en) | A kind of earphone method of testing and device | |
CN103179495A (en) | Audio test method and system for earphone microphone and receiver of mobile terminal | |
CN103179240A (en) | Audio test method and system for mobile terminal | |
US20090280800A1 (en) | Testing system and method for testing mobile phone | |
CN103167391A (en) | Audio test system and audio test method for to-be-tested device | |
CN103179496A (en) | Audio test method and system for earphone microphone and receiver of mobile terminal | |
CN1979440A (en) | Plate-carried audio-frequency module testing system and method | |
CN111356058B (en) | Echo cancellation method and device and intelligent sound box | |
CN106302997A (en) | A kind of output control method, electronic equipment and system | |
CN101917735A (en) | Mobile terminal audio calibrating method and automatic testing system | |
CN105322985A (en) | System and method for testing Bluetooth connection of vehicle-borne multimedia equipment | |
CN106293599A (en) | A kind of output control method, electronic equipment and output system | |
CN111491248A (en) | Audio detection system and audio detection method of electronic product | |
CN110891236A (en) | Method and device for realizing production test of multi-microphone array | |
CN105188008A (en) | Method and device for testing audio output unit | |
CN201233594Y (en) | Test device for sound interface | |
CN103312911B (en) | Data processing method and electronic terminal | |
CN101977273B (en) | Method for testing conducting anti-interference performance of network voice communication equipment | |
CN105577863A (en) | Sound recording method and apparatus | |
CN201717926U (en) | Active denoising system | |
CN103634730A (en) | Audio parameter automatic adjustment system and method used for mobile terminal assembling line | |
CN101505333A (en) | Mobile terminal having direct recording function and direct recording method thereof | |
CN103391343B (en) | Bluetooth phone function test system and method of Bluetooth multimedia |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20090506 |