CN111479207A - Crosstalk detection method and system and audio analyzer - Google Patents
Crosstalk detection method and system and audio analyzer Download PDFInfo
- Publication number
- CN111479207A CN111479207A CN202010187380.XA CN202010187380A CN111479207A CN 111479207 A CN111479207 A CN 111479207A CN 202010187380 A CN202010187380 A CN 202010187380A CN 111479207 A CN111479207 A CN 111479207A
- Authority
- CN
- China
- Prior art keywords
- channel signal
- right channel
- left channel
- waveform
- waveforms
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 56
- 238000004458 analytical method Methods 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012360 testing method Methods 0.000 claims description 8
- 238000005070 sampling Methods 0.000 claims description 6
- 230000005236 sound signal Effects 0.000 description 21
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 239000013078 crystal Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005401 electroluminescence Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
- G10L21/0264—Noise filtering characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0272—Voice signal separating
- G10L21/0308—Voice signal separating characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Otolaryngology (AREA)
- General Health & Medical Sciences (AREA)
- Stereophonic System (AREA)
Abstract
The application is applicable to the technical field of audio analysis, and provides a crosstalk detection method and system and an audio analyzer. According to the embodiment of the application, after the left channel signal source and the right channel signal source with different output waveforms are output to the audio equipment to be detected, the left channel signal and the right channel signal output by the audio equipment to be detected are collected, the waveforms of the left channel signal and the right channel signal are obtained, and then whether crosstalk occurs between the left channel and the right channel of the audio equipment to be detected is determined according to the waveforms of the left channel signal and the right channel signal, so that the detection efficiency is high, and the detection result is accurate.
Description
Technical Field
The present application belongs to the technical field of audio analysis, and in particular, to a crosstalk detection method and system and an audio analyzer.
Background
Various audio devices such as an audio power amplifier, a loudspeaker, an earphone and the like need to be subjected to audio analysis and detection before leaving a factory, and can leave the factory after the detection is qualified. The primary indicators for qualifying an audio device typically include frequency response characteristics, harmonic distortion, signal-to-noise ratio, dynamic range, and the like. For audio devices such as speakers and headphones having left and right channels, it is also often necessary to detect whether crosstalk occurs between the left and right channels. The existing crosstalk detection method is that whether the sound output by the left and right sound channels is normal or not is heard manually, so that whether crosstalk occurs in the left and right sound channels or not is difficult to distinguish accurately, and the detection efficiency is low and the error rate is high.
Disclosure of Invention
The embodiment of the application provides a crosstalk detection method, a crosstalk detection system and an audio analyzer, which are used for solving the problems that the existing crosstalk detection method is difficult to accurately distinguish whether crosstalk occurs in a left channel and a right channel of audio equipment, the detection efficiency is low and the error rate is high.
A first aspect of an embodiment of the present application provides a crosstalk detection method, including:
outputting a left channel signal source and a right channel signal source with different waveforms to the tested audio equipment;
collecting a left channel signal and a right channel signal output by the tested audio equipment;
acquiring waveforms of the left channel signal and the right channel signal;
and determining whether crosstalk occurs between the left channel and the right channel of the tested audio equipment according to the waveforms of the left channel signal and the right channel signal.
A second aspect of an embodiment of the present application provides a crosstalk detection system, including:
the sound source output module is used for outputting a left sound channel signal source and a right sound channel signal source with different waveforms to the tested audio equipment;
the sound acquisition module is used for acquiring a left channel signal and a right channel signal output by the tested audio equipment;
the waveform sampling module is used for acquiring the waveforms of the left channel signal and the right channel signal;
and the waveform analysis module is used for determining whether crosstalk occurs between the left channel and the right channel of the tested audio equipment according to the waveforms of the left channel signal and the right channel signal.
A third aspect of the embodiments of the present application provides an audio analyzer, which includes a processor, a memory, a sound acquisition card, an analog-to-digital converter, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the crosstalk detection method according to the first aspect of the embodiments of the present application is implemented.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, implements a crosstalk detection method according to the first aspect of embodiments of the present application.
According to the embodiment of the application, after the left channel signal source and the right channel signal source with different output waveforms are output to the audio equipment to be detected, the left channel signal and the right channel signal output by the audio equipment to be detected are collected, the waveforms of the left channel signal and the right channel signal are obtained, and then whether crosstalk occurs between the left channel and the right channel of the audio equipment to be detected is determined according to the waveforms of the left channel signal and the right channel signal, so that the detection efficiency is high, and the detection result is accurate.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart of a crosstalk detection method according to an embodiment of the present application;
FIG. 2 is a schematic waveform diagram of a left channel signal source and a right channel signal source with different frequencies and amplitudes provided by an embodiment of the present application;
FIG. 3 is a waveform diagram of the channel signals when crosstalk occurs according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a crosstalk detection system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an audio analyzer according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The crosstalk detection method provided by the embodiment of the present application can be applied to an audio analyzer, and is used for performing crosstalk detection on a left channel and a right channel of an audio device to be detected.
In application, the audio device to be tested may be any audio device capable of inputting a left channel signal source and a right channel signal source and outputting corresponding left channel signals and right channel signals, for example, an audio power amplifier, an earphone, a speaker, and the like. The audio Device may also be a mobile phone, a tablet computer, an intelligent bracelet, a personal digital assistant, a Head Mounted display Device (HMD), a notebook computer, a radio, a sound box, a TV board, a television, etc. provided with an audio power amplifier, an earphone, a speaker, etc.
In an application, the audio analyzer may specifically include a processor, a memory, a sound acquisition card, an analog-to-digital converter, and a computer program stored in the memory and executable on the processor, and when the computer program is executed by the processor, the crosstalk detection method is implemented.
In Application, the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may also be an external storage device of the audio analyzer, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. the memory may also include both the internal storage unit of the audio analyzer and the external storage device.
In application, the analog-to-digital converter may be a device integrated inside the processor, and is configured to convert the left channel signal and the right channel signal output by the audio device under test and collected by the sound collection card into digital signals, so as to sample waveforms of the left channel signal and the right channel signal.
In application, the audio analyzer and the audio signal generator can be jointly constructed into a crosstalk detection system, and the audio signal generator is used for outputting a left channel signal source and a right channel signal source with different waveforms to the tested audio equipment. The audio analyzer can be in communication connection with the audio signal generator to control the working state of the audio signal generator, specifically, the audio analyzer can control the audio signal generator to output a left channel signal source and a right channel signal source with different waveforms, and can also control the audio signal generator to change parameters such as the frequency, the amplitude, the phase and the like of the left channel signal source and the right channel signal source output by the audio signal generator. The operating state of the audio signal generator may also be manually controlled by the user. The audio analyzer may also integrate the function of the audio signal generator, that is, the audio analyzer and the audio signal generator are integrated into a whole to construct an audio analyzer having both an audio analysis function (e.g., crosstalk detection function) and an audio signal output function (e.g., a left channel signal source and a right channel signal source with different output waveforms).
In an application, the crosstalk detection system may further comprise an audio oscilloscope. The audio oscilloscope is used for displaying the waveforms of the left channel signal and the right channel signal acquired by the audio analyzer, so that a user can visually watch the waveforms of the left channel signal and the right channel signal, and then automatically judges whether crosstalk occurs in the left channel and the right channel of the tested audio equipment according to the waveforms. The audio analyzer can be in communication connection with the audio oscilloscope to control the working state of the audio oscilloscope, and specifically, the audio oscilloscope can be controlled to display the waveforms of the left channel signal and the right channel signal. The operating state of the audio oscilloscope may also be manually controlled by a user. The audio analyzer may also integrate the functions of an audio oscilloscope, that is, the audio analyzer and the audio oscilloscope are integrated into a whole, so as to construct an audio analyzer having both an audio analysis function (e.g., a crosstalk detection function) and a waveform display function (e.g., displaying waveforms of a left channel signal and a right channel signal). The audio analyzer can also integrate the functions of the audio signal generator and the audio oscilloscope at the same time, namely, the audio analyzer, the audio signal generator and the audio oscilloscope are integrated into a whole.
The Display screen may include a Display panel, which may employ a liquid Crystal Display panel based on TFT-L CD (Thin film transistor) L iquid Crystal Display, a liquid Crystal Display panel based on L CD (L iquid Crystal Display, liquid Crystal Display device) technology, an organic electro luminescence Display panel based on O L ED (organic electro luminescence Display), a Quantum Dot light Emitting diode Display panel based on Q L ED (Quantum Dot L bright Diodes) technology, or a curved Display panel, etc. further, the Display may include a touch panel for overlaying detected touch events, processing the touch events on the touch panel, and processing the touch events according to the type of touch event.
As shown in fig. 1, the crosstalk detection method provided in the embodiment of the present application includes:
and S101, outputting a left channel signal source and a right channel signal source with different waveforms to the tested audio equipment.
In application, step S101 may be executed by a processor of the audio analyzer, or by the processor of the audio analyzer controlling the audio signal generator, or by a user manually controlling the audio signal generator.
In one embodiment, the left channel signal source and the right channel signal source differ in at least one of frequency, amplitude and phase.
In application, the waveforms of the left channel signal source and the right channel signal source are different, specifically, the waveforms of the signal sources are different due to different frequencies, different amplitudes, or different phases, and the difference in any one of the three parameters may cause the waveforms of the signal sources to be different.
In one embodiment, the left channel signal source and the right channel signal source are at different frequencies.
In application, the frequency of the left channel signal source is different from that of the right channel signal source, so that the waveforms of the left channel signal source and the right channel signal source can be obviously different most effectively, and the accuracy of crosstalk detection is improved.
As shown in fig. 2, a waveform diagram of a left channel signal source 1 and a right channel signal source 2 having different frequencies and amplitudes is exemplarily shown; the frequency of the left channel signal source is 1kHz and the amplitude is 520mv, and the frequency of the right channel signal source is 2kHz and the amplitude is 500 mv.
And S102, collecting a left channel signal and a right channel signal output by the tested audio equipment.
In application, step S102 is executed by the processor of the audio analyzer controlling the sound acquisition card. After the tested audio equipment inputs the left channel signal source and the right channel signal source with different waveforms, the left channel signal source and the right channel signal source are converted into sound signals and then output to the audio analyzer, and the sound signals are collected by a sound collection card of the audio analyzer.
In one embodiment, after step S102, the method includes:
if the left channel signal is not acquired, determining that the left channel has a fault and sending a left channel fault reminding signal;
and if the right channel signal is not acquired, determining that the right channel has a fault and sending a right channel fault reminding signal.
In application, if a certain sound channel does not acquire a signal, it indicates that the sound channel fails and cannot make any sound, and at this time, corresponding failure reminding information can be sent out to provide a user so that the user can know that the sound channel fails. The left sound channel fault reminding signal and the right sound channel fault reminding signal can be set to be different signals so as to distinguish and remind faults of two sound channels. The left channel sound warning signal and the right channel sound warning signal can be voice signals, light signals, sound signals, vibration signals or a combination of at least two of the signals. Correspondingly, the audio analyzer may further include at least one of a voice device, a light device, a sound device, and a vibration device.
And step S103, acquiring the waveforms of the left channel signal and the right channel signal.
In application, step S103 is performed by the processor of the audio analyzer controlling the analog-to-digital converter. And sampling the left channel signal and the right channel signal acquired by the sound acquisition card through an analog-to-digital converter to obtain corresponding waveforms.
In one embodiment, after step S103, the method further includes:
and displaying the waveforms of the left channel signal and the right channel signal.
In an application, an audio oscilloscope or a display screen can be controlled by a processor of the audio analyzer to display waveforms.
Step S104, determining whether crosstalk occurs between the left channel and the right channel of the tested audio equipment according to the waveforms of the left channel signal and the right channel signal.
In application, step S104 is performed by a processor of the audio analyzer. If the waveform of the left channel signal only comprises the waveform of the left channel signal source, it can be determined that crosstalk does not occur in the left channel; if the waveform of the left channel signal comprises the waveform of the right channel signal source, the crosstalk of the left channel can be determined; if the waveform of the left channel signal does not include the waveform of the left channel signal source, the left channel distortion may be determined. Similarly, if the waveform of the right channel signal only includes the waveform of the right channel signal source, it can be determined that crosstalk does not occur in the right channel; if the waveform of the right channel signal comprises the waveform of the left channel signal source, the crosstalk of the right channel can be determined; if the waveform of the right channel signal does not include the waveform of the right channel signal source, then the right channel distortion may be determined. The phenomena of crosstalk and distortion may occur simultaneously.
As shown in fig. 3, a waveform diagram of a left channel signal when crosstalk occurs in a left channel or a waveform diagram of a right channel signal when crosstalk occurs in a right channel is exemplarily shown after the audio device under test inputs the left channel signal source and the right channel signal source shown in fig. 2.
It should be understood that there are allowed parameter deviations within a reasonable range between the waveforms of the left channel signal source and the left channel signal, and between the right channel signal source and the right channel signal, for example, when the frequency deviation of the two is within a preset frequency difference range, the amplitude difference is within a preset amplitude difference range, and the phase difference is within a preset phase difference range, the waveforms of the two can be considered to be the same.
In one embodiment, the waveform of the left channel signal source is a first waveform, and the waveform of the right channel signal source is a second waveform;
step S104, comprising:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes the second waveform;
determining that crosstalk occurs in the right channel when the waveform of the right channel signal includes the first waveform.
In one embodiment, the crosstalk detection method further comprises:
determining the left channel distortion when the waveform of the left channel signal does not include the first waveform;
determining the right channel distortion when the waveform of the right channel signal does not include the second waveform.
In use, the first and second waveforms differ in at least one of frequency, amplitude and phase. The waveform of the left channel signal does not include the first waveform, and specifically includes two cases: firstly, the waveform of the left channel signal is different from the first waveform and does not include a second waveform, and the left channel is distorted at the moment; the waveform of the second and left channel signals is different from the first waveform and includes a second waveform, and the left channel is distorted and crosstalk occurs at the moment. Similarly, the waveform of the right channel signal does not include the second waveform, and specifically includes two cases: the waveform of the first sound channel signal and the waveform of the second sound channel signal are different and do not comprise the first waveform, and at the moment, the right sound channel is distorted; the waveforms of the second and the right channel signals are different from the second waveform and comprise the first waveform, and the right channel is distorted and crosstalk occurs at the moment.
In one embodiment, the left channel signal source and the right channel signal source are the same frequency and different in amplitude and phase;
after step S104, the method further includes:
changing the frequencies of the left channel signal source and the right channel signal source, and returning to execute step S101 until determining whether crosstalk occurs between the left channel and the right channel after determining that the preset number of frequency left channel signal sources and right channel signal sources reach the audio device under test.
In application, the left channel signal source and the right channel signal source can be set to have the same frequency and different amplitudes and phases, the frequency is one frequency in a preset frequency range, and after the left channel signal source and the right channel signal source which have the same frequency and different amplitudes and phases are input into the audio equipment to be tested, the waveforms of the left channel signal and the right channel signal output by the audio equipment to be tested determine whether crosstalk occurs in the left channel and the right channel of the audio equipment to be tested; then keeping the amplitude and the phase of the left channel signal source and the right channel signal source unchanged, setting the frequency of the left channel signal source and the right channel signal source as the next frequency in the preset frequency range, and determining whether crosstalk occurs in the left channel and the right channel of the tested audio equipment again; and repeating the steps in a circulating way until whether crosstalk occurs in the left channel and the right channel of the tested audio equipment after the audio equipment is determined to input the left channel signal source and the right channel signal source with the preset number of frequencies in the preset frequency range respectively. Therefore, after the tested audio equipment inputs the left channel signal source and the right channel signal source with which frequency in the preset frequency range, crosstalk can occur between the left channel and the right channel of the tested audio equipment, and therefore the frequency of the left channel signal source and the frequency of the right channel signal source, which enable the left channel and the right channel of the tested audio equipment not to generate crosstalk, can be determined. The preset frequency range and the preset number can be set according to actual needs, and the preset frequency range can be 20 Hz-150 Hz in low frequency band, 150 Hz-500 Hz in medium frequency band, 500 Hz-5 kHz in medium frequency band, 5 kHz-20 kHz in high frequency band or 20 Hz-20 kHz in full frequency band. The predetermined number of frequencies may specifically include 20Hz, 150Hz, 500Hz, 5kHz, 20 kHz.
In one embodiment, the crosstalk detection method further comprises:
obtaining crosstalk frequency characteristics of the right channel according to the frequency of the right channel signal source when the crosstalk occurs in the left channel;
and obtaining the crosstalk frequency characteristic of the left channel according to the frequency of the left channel signal source when the crosstalk occurs in the right channel.
In use, the crosstalk frequency characteristics of the left channel are used to characterize the source of the left channel signal at all frequencies that cause crosstalk in the right channel. According to the crosstalk frequency characteristic of the left channel, when the audio device to be tested inputs the left channel signal source of other frequencies except all frequencies corresponding to the crosstalk frequency characteristic of the left channel in the preset frequency range, the crosstalk of the right channel can not occur. Similarly, the crosstalk frequency characteristics of the right channel are used to characterize the right channel signal source for all frequencies that cause crosstalk in the left channel. According to the crosstalk frequency characteristic of the right channel, when the audio device to be tested inputs the right channel signal source of other frequencies except all frequencies corresponding to the crosstalk frequency characteristic of the right channel in the preset frequency range, the crosstalk of the left channel can not occur.
In one embodiment, the waveform of the left channel signal source includes a first preset number of different first sub-waveforms, the waveform of the right channel signal source includes a second preset number of different second sub-waveforms, any one of the first sub-waveforms is different from any one of the second sub-waveforms, and the first preset number and the second preset number are integers greater than 1;
step S104, comprising:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes any one of the second sub-waveforms;
when the waveform of the right channel signal includes any one of the first sub-waveforms, it is determined that crosstalk occurs in the right channel.
In use, all of the first sub-waveforms differ in at least one of frequency, amplitude, and phase, all of the second sub-waveforms differ in at least one of frequency, amplitude, and phase, and each of the first sub-waveforms differs from any of the second sub-waveforms. The first number and the second number can be set to any integer larger than 1 according to actual needs. Such that the waveforms of the left channel signal source and the right channel signal source each comprise at least 2 sub-waveforms. When the waveform of the left channel signal includes any one of the second sub-waveforms, it can be determined that crosstalk occurs in the left channel; when the waveform of the right channel signal includes any one of the first sub-waveforms, it is determined that crosstalk occurs in the right channel.
In one embodiment, the crosstalk detection method further comprises:
determining the left channel distortion when the waveform of the left channel signal does not include any of the first sub-waveforms;
determining the right channel distortion when the waveform of the right channel signal does not include any of the second sub-waveforms.
In application, the waveform of the left channel signal does not include any first sub-waveform, and specifically includes two cases: firstly, at least one first sub-waveform is absent in the waveform of the left channel signal and any second sub-waveform is not included, and then the left channel is distorted; the waveform of the two and left channel signals lacks at least one first sub-waveform and includes at least one second sub-waveform, and the left channel is distorted and crosstalk occurs. Similarly, the waveform of the right channel signal does not include any second sub-waveform, and specifically includes two cases: the waveform of the first channel signal and the waveform of the right channel signal lack at least one second sub-waveform and do not include any first sub-waveform, and the right channel is distorted; the waveform of the second and the right channel signals lacks at least one second sub-waveform and comprises at least one first sub-waveform, and the right channel is distorted and crosstalk occurs.
According to the embodiment of the application, after the left channel signal source and the right channel signal source with different output waveforms are output to the audio equipment to be detected, the left channel signal and the right channel signal output by the audio equipment to be detected are collected, the waveforms of the left channel signal and the right channel signal are obtained, and then whether crosstalk occurs between the left channel and the right channel of the audio equipment to be detected is determined according to the waveforms of the left channel signal and the right channel signal, so that the detection efficiency is high, and the detection result is accurate.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
As shown in fig. 4, the embodiment of the present application further provides a crosstalk detection system 100 for performing the method steps in the crosstalk detection method embodiment. The crosstalk detection system 100 may be a virtual appliance (virtual application) in a processor of the audio analyzer, an audio analyzer integrated with the audio signal generator, or a crosstalk detection system that the audio analyzer and the audio signal generator can jointly constitute. A crosstalk detection system 100 comprising:
the audio source output module 101 is configured to output a left channel signal source and a right channel signal source with different waveforms to the audio device to be tested;
the sound collection module 102 is configured to collect a left channel signal and a right channel signal output by the audio device under test;
a waveform sampling module 103, configured to obtain waveforms of the left channel signal and the right channel signal;
and the waveform analysis module 104 is configured to determine whether crosstalk occurs between the left channel and the right channel of the audio device under test according to the waveforms of the left channel signal and the right channel signal.
In one embodiment, the crosstalk detection system further comprises a fault alert module for:
if the left channel signal is not acquired, determining that the left channel has a fault and sending a left channel fault reminding signal;
and if the right channel signal is not acquired, determining that the right channel has a fault and sending a right channel fault reminding signal.
In one embodiment, the crosstalk detection system further comprises:
and the display module is used for displaying the waveforms of the left channel signal and the right channel signal.
In application, the sound source output module, the sound collection module, the waveform sampling module, the waveform analysis module, the display module and the fault reminding module may be software program modules in a processor, the sound source output module may also be an audio signal generator, the sound collection module may also be a sound collection card, the waveform sampling module may also be an analog-to-digital converter, the display module may also be an audio oscilloscope or a display screen, and the fault reminding module may also include at least one of a voice device, a light emitting device, a sound generating device and a vibration device.
In one embodiment, the waveform of the left channel signal source is a first waveform, and the waveform of the right channel signal source is a second waveform;
the waveform analysis module is further configured to:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes the second waveform;
determining that crosstalk occurs in the right channel when the waveform of the right channel signal includes the first waveform;
determining the left channel distortion when the waveform of the left channel signal does not include the first waveform;
determining the right channel distortion when the waveform of the right channel signal does not include the second waveform.
In one embodiment, the left channel signal source and the right channel signal source are the same frequency and different in amplitude and phase;
the sound source output module is also used for changing the frequency of the left channel signal source and the right channel signal source under the control of the waveform analysis module;
the waveform analysis module is further configured to:
returning to the step of executing the step of outputting the left channel signal source and the right channel signal source with different waveforms to the tested audio equipment until whether crosstalk occurs between the left channel and the right channel after the left channel signal source and the right channel signal source with preset number of frequencies are determined to the tested audio equipment;
obtaining crosstalk frequency characteristics of the right channel according to the frequency of the right channel signal source when the crosstalk occurs in the left channel;
and obtaining the crosstalk frequency characteristic of the left channel according to the frequency of the left channel signal source when the crosstalk occurs in the right channel.
In one embodiment, the waveform of the left channel signal source includes a first preset number of different first sub-waveforms, the waveform of the right channel signal source includes a second preset number of different second sub-waveforms, any one of the first sub-waveforms is different from any one of the second sub-waveforms, and the first preset number and the second preset number are integers greater than 1;
the waveform analysis module is further configured to:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes any one of the second sub-waveforms;
determining that crosstalk occurs in the right channel when the waveform of the right channel signal includes any of the first sub-waveforms;
determining the left channel distortion when the waveform of the left channel signal does not include any of the first sub-waveforms;
determining the right channel distortion when the waveform of the right channel signal does not include any of the second sub-waveforms.
It should be noted that, because the contents of information interaction, execution process, and the like between the modules are based on the same concept as that of the embodiment of the method of the present application, specific functions and technical effects thereof may be specifically referred to a part of the embodiment of the method, and details are not described here.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely illustrated, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to perform all or part of the above described functions. Each functional module in the embodiments may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module, and the integrated module may be implemented in a form of hardware, or in a form of software functional module. In addition, specific names of the functional modules are only used for distinguishing one functional module from another, and are not used for limiting the protection scope of the application. The specific working process of the modules in the apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
As shown in fig. 5, an embodiment of the present application also provides an audio analyzer 10 including: at least one processor 11 (only one processor is shown in fig. 5), a memory 12, a sound acquisition card 13, an analog-to-digital converter 14, and a computer program 121 stored in the memory 12 and executable on the at least one processor 11, wherein the processor 11 executes the computer program 121 to implement the steps of any of the above-mentioned crosstalk detection method embodiments.
In application, the audio analyzer may include, but is not limited to, a processor, a memory, a sound acquisition card, and an analog-to-digital converter. Those skilled in the art will appreciate that fig. 5 is merely an example of an audio analyzer, and does not constitute a limitation of the audio analyzer, and may include more or less components than those shown, or combine certain components, or different components, such as input and output devices, network access devices, etc.
It should be noted that, because the above-mentioned information interaction, execution process, and other contents between the module, the system, and the instrument are based on the same concept, specific functions and technical effects thereof may be referred to specifically in the method embodiment section, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the embodiments of the crosstalk detection method described above.
The embodiments of the present application provide a computer program product, which when running on an audio analyzer, enables the audio analyzer to implement the steps in the foregoing crosstalk detection method embodiments when executed.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/audio analyzer, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the modules or partitions may be divided into only one logical function, and other partitions may be implemented in practice, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A crosstalk detection method, comprising:
outputting a left channel signal source and a right channel signal source with different waveforms to the tested audio equipment;
collecting a left channel signal and a right channel signal output by the tested audio equipment;
acquiring waveforms of the left channel signal and the right channel signal;
and determining whether crosstalk occurs between the left channel and the right channel of the tested audio equipment according to the waveforms of the left channel signal and the right channel signal.
2. The crosstalk detection method of claim 1 wherein said waveform of said left channel signal source is a first waveform and said waveform of said right channel signal source is a second waveform;
determining whether crosstalk occurs between a left channel and a right channel of the audio device under test according to the waveforms of the left channel signal and the right channel signal, including:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes the second waveform;
determining that crosstalk occurs in the right channel when the waveform of the right channel signal includes the first waveform.
3. The crosstalk detection method of claim 2 wherein said method further comprises:
determining the left channel distortion when the waveform of the left channel signal does not include the first waveform;
determining the right channel distortion when the waveform of the right channel signal does not include the second waveform.
4. The crosstalk detection method according to any one of claims 1 to 3, wherein at least one of a frequency, an amplitude, and a phase of said left channel signal source and said right channel signal source is different.
5. The crosstalk detection method according to any one of claims 1 to 3, wherein the frequencies of said left channel signal source and said right channel signal source are the same and different in amplitude and phase;
after determining whether crosstalk occurs between the left channel and the right channel of the audio device under test according to the waveforms of the left channel signal and the right channel signal, the method further includes:
changing the frequency of the left channel signal source and the right channel signal source, and returning to the step of outputting the left channel signal source and the right channel signal source with different waveforms to the tested audio equipment until whether crosstalk occurs between the left channel and the right channel after determining that the left channel signal source and the right channel signal source with the preset number of frequencies are transmitted to the tested audio equipment.
6. The crosstalk detection method of claim 5 wherein said method further comprises:
obtaining crosstalk frequency characteristics of the right channel according to the frequency of the right channel signal source when the crosstalk occurs in the left channel;
and obtaining the crosstalk frequency characteristic of the left channel according to the frequency of the left channel signal source when the crosstalk occurs in the right channel.
7. The crosstalk detection method of claim 1 wherein said waveform of said left channel signal source comprises a first predetermined number of distinct first sub-waveforms, said waveform of said right channel signal source comprises a second predetermined number of distinct second sub-waveforms, any of said first sub-waveforms is different from any of said second sub-waveforms, said first predetermined number and said second predetermined number are integers greater than 1;
determining whether crosstalk occurs between a left channel and a right channel of the audio device under test according to the waveforms of the left channel signal and the right channel signal, including:
determining that crosstalk occurs in the left channel when the waveform of the left channel signal includes any one of the second sub-waveforms;
when the waveform of the right channel signal includes any one of the first sub-waveforms, it is determined that crosstalk occurs in the right channel.
8. The crosstalk detection method of claim 7 wherein said method further comprises:
determining the left channel distortion when the waveform of the left channel signal does not include any of the first sub-waveforms;
determining the right channel distortion when the waveform of the right channel signal does not include any of the second sub-waveforms.
9. A crosstalk detection system, comprising:
the sound source output module is used for outputting a left sound channel signal source and a right sound channel signal source with different waveforms to the tested audio equipment;
the sound acquisition module is used for acquiring a left channel signal and a right channel signal output by the tested audio equipment;
the waveform sampling module is used for acquiring the waveforms of the left channel signal and the right channel signal;
and the waveform analysis module is used for determining whether crosstalk occurs between the left channel and the right channel of the tested audio equipment according to the waveforms of the left channel signal and the right channel signal.
10. An audio analyzer, comprising a processor, a memory, a sound acquisition card, an analog-to-digital converter, and a computer program stored in the memory and executable on the processor, the processor implementing the crosstalk detection method according to any one of claims 1 to 8 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010187380.XA CN111479207A (en) | 2020-03-17 | 2020-03-17 | Crosstalk detection method and system and audio analyzer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010187380.XA CN111479207A (en) | 2020-03-17 | 2020-03-17 | Crosstalk detection method and system and audio analyzer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111479207A true CN111479207A (en) | 2020-07-31 |
Family
ID=71748233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010187380.XA Pending CN111479207A (en) | 2020-03-17 | 2020-03-17 | Crosstalk detection method and system and audio analyzer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111479207A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113163317A (en) * | 2021-03-02 | 2021-07-23 | 广州朗国电子科技有限公司 | Method, device and medium for testing audio playing performance |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1277532A (en) * | 1999-06-10 | 2000-12-20 | 三星电子株式会社 | Multiple-channel audio frequency replaying apparatus and method |
US20050273324A1 (en) * | 2004-06-08 | 2005-12-08 | Expamedia, Inc. | System for providing audio data and providing method thereof |
CN101374374A (en) * | 2007-08-24 | 2009-02-25 | 鹏智科技(深圳)有限公司 | Audio test device and method |
EP2410765A1 (en) * | 2010-07-21 | 2012-01-25 | Hong Fu Jin Precision Industry (ShenZhen) Co. Ltd. | Interface circuit and electronic device using the same |
CN102625135A (en) * | 2012-01-18 | 2012-08-01 | 广州中大电讯科技有限公司 | Automatic test system for network access of set-top box |
CN104267287A (en) * | 2014-09-29 | 2015-01-07 | 深圳市爱普泰科电子有限公司 | Multi-channel audio device crosstalk coefficient measuring method and device |
CN108260040A (en) * | 2016-12-29 | 2018-07-06 | 瑞昱半导体股份有限公司 | For individual earphones headphone amplifier circuit and its operating method and use its Headphone device with USB interface |
CN106211014B (en) * | 2016-08-09 | 2019-06-21 | 广州视源电子科技股份有限公司 | Loudspeaker detection method and device |
-
2020
- 2020-03-17 CN CN202010187380.XA patent/CN111479207A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1277532A (en) * | 1999-06-10 | 2000-12-20 | 三星电子株式会社 | Multiple-channel audio frequency replaying apparatus and method |
US20050273324A1 (en) * | 2004-06-08 | 2005-12-08 | Expamedia, Inc. | System for providing audio data and providing method thereof |
CN101374374A (en) * | 2007-08-24 | 2009-02-25 | 鹏智科技(深圳)有限公司 | Audio test device and method |
EP2410765A1 (en) * | 2010-07-21 | 2012-01-25 | Hong Fu Jin Precision Industry (ShenZhen) Co. Ltd. | Interface circuit and electronic device using the same |
CN102625135A (en) * | 2012-01-18 | 2012-08-01 | 广州中大电讯科技有限公司 | Automatic test system for network access of set-top box |
CN104267287A (en) * | 2014-09-29 | 2015-01-07 | 深圳市爱普泰科电子有限公司 | Multi-channel audio device crosstalk coefficient measuring method and device |
CN106211014B (en) * | 2016-08-09 | 2019-06-21 | 广州视源电子科技股份有限公司 | Loudspeaker detection method and device |
CN108260040A (en) * | 2016-12-29 | 2018-07-06 | 瑞昱半导体股份有限公司 | For individual earphones headphone amplifier circuit and its operating method and use its Headphone device with USB interface |
Non-Patent Citations (2)
Title |
---|
S. MOZAR: "TV picture distortion due to audio crosstalk", 《IEEE TRANSACTIONS ON CONSUMER ELECTRONICS》 * |
陈小平: "双耳信号的扬声器重放", 《2002中国电影电视技术学会学术研讨会》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113163317A (en) * | 2021-03-02 | 2021-07-23 | 广州朗国电子科技有限公司 | Method, device and medium for testing audio playing performance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101374374B (en) | Audio test device and method | |
US8879744B2 (en) | Audio testing system and audio testing method for device under test | |
CN110337055A (en) | Detection method, device, electronic equipment and the storage medium of speaker | |
CN106068008B (en) | Audio-frequence player device distortion measurement method | |
US20120253729A1 (en) | Test system, test signal auxiliary device, and test signal generation method thereof | |
KR20170059890A (en) | Logging system and method for logging | |
US3067297A (en) | Apparatus for determining the polarities of stereophonic channel connections at anyselected point | |
CN110062320A (en) | The test method that noise cancelling headphone filter calculates | |
CN105979255A (en) | Audio acquisition tooling, method and cloud server | |
US20170168097A1 (en) | Data Management with Spectrum Analyzers | |
CN105188008B (en) | A kind of method and device of testing audio output unit | |
CN109379689A (en) | Loudspeaker total harmonic distortion measurement method, device, storage medium and measuring system | |
CN111479207A (en) | Crosstalk detection method and system and audio analyzer | |
CN110891236A (en) | Method and device for realizing production test of multi-microphone array | |
CN107231597A (en) | The method of testing and system of harmonic distortion of loudspeaker value | |
CN111491248A (en) | Audio detection system and audio detection method of electronic product | |
US20140060288A1 (en) | Testing device and storage medium with testing function, and testing method | |
CN205812273U (en) | The machine shake test fixture of a kind of audio output apparatus and system | |
CN110390954A (en) | Method and device for evaluating quality of voice product | |
US20090220097A1 (en) | Sound testing device for mobile phone and method for using the same | |
US3182254A (en) | Intermodulation distortion analyzer for plotting second and third order components | |
CN112741622B (en) | Audiometric system, audiometric method, audiometric device, earphone and terminal equipment | |
CN110234059B (en) | Audio device testing method, system, testing frame and storage medium | |
TWI411285B (en) | Mobile phone testing apparatus and method of using the same | |
CN118175494A (en) | Audio power amplifier test system based on virtual instrument technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200731 |