CN113329315B - Detection method, device and equipment of audio playing equipment and storage medium - Google Patents

Detection method, device and equipment of audio playing equipment and storage medium Download PDF

Info

Publication number
CN113329315B
CN113329315B CN202110566270.9A CN202110566270A CN113329315B CN 113329315 B CN113329315 B CN 113329315B CN 202110566270 A CN202110566270 A CN 202110566270A CN 113329315 B CN113329315 B CN 113329315B
Authority
CN
China
Prior art keywords
response curve
frequency
determining
abnormal
background noise
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.)
Active
Application number
CN202110566270.9A
Other languages
Chinese (zh)
Other versions
CN113329315A (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.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110566270.9A priority Critical patent/CN113329315B/en
Publication of CN113329315A publication Critical patent/CN113329315A/en
Application granted granted Critical
Publication of CN113329315B publication Critical patent/CN113329315B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Abstract

The application discloses a detection method, a detection device, equipment and a storage medium of audio playing equipment, and relates to the technical field of acoustics. The method comprises the following steps: acquiring a background noise signal played by audio playing equipment within a preset time period; determining a first bottom noise frequency response curve according to the bottom noise signal; and detecting whether the audio playing equipment is qualified or not according to the first bottom noise response curve. By the method, whether the audio playing equipment is qualified or not can be automatically detected, so that the efficiency and the accuracy of detecting the audio playing equipment are improved.

Description

Detection method, device and equipment of audio playing equipment and storage medium
Technical Field
The present application relates to the field of acoustic technologies, and in particular, to an audio playing method, an audio playing apparatus, an electronic device, and a computer-readable storage medium.
Background
TWS (True Wireless Stereo) headsets are increasingly used due to their advantages of excellent Wireless connectivity, water resistance, long endurance, portability, comfort, etc.
At present, consumers take the tone quality as the primary index for purchasing TWS earphones. However, before the TWS headset leaves the factory, it is difficult for the tester to manually detect the TWS headset with the nuisance current noise due to the noisy environment of the factory, which will cause the bad TWS headset with the current noise to flow out of the factory. While current tones severely affect the sound quality of TWS headphones. Thus, when a consumer purchases a poor TWS headset, the consumer's user experience will be greatly reduced.
Disclosure of Invention
An object of the present application is to provide a new technical solution for detecting an audio playback device.
According to a first aspect of the present application, there is provided a detection method for an audio playing device, including:
collecting a bottom noise signal played by audio playing equipment within a preset time period;
determining a first bottom noise frequency response curve according to the bottom noise signal;
and detecting whether the audio playing equipment is qualified or not according to the first bottom noise response curve.
Optionally, the determining a first background noise response curve of the background noise signal according to the background noise signal includes:
collecting environmental sound signals in the preset time period;
determining a second background noise response curve of the environmental sound signal according to the environmental sound signal;
determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal;
determining abnormal frequency points with the same frequency in the third bottom noise response curve and the second bottom noise response curve, wherein the abnormal frequency points are frequency points with corresponding frequency response values larger than a preset threshold value;
and eliminating the abnormal frequency points with the same frequency from the third background noise response curve to obtain the first background noise response curve.
Optionally, the detecting whether the audio playing device is qualified according to the first background noise response curve includes:
selecting an abnormal frequency point from the first bottom noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value of which the frequency response value is greater than a preset threshold value;
calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value;
and detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
Optionally, the calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value includes:
determining the weight of the corresponding abnormal frequency point according to each abnormal frequency point and the human ear hearing weight curve;
determining abnormal sound pressure values corresponding to the abnormal frequency points according to the frequency response values corresponding to the abnormal frequency points and the corresponding weights;
and determining a current sound risk evaluation value according to each abnormal sound pressure value.
Optionally, the method further includes:
and determining the qualified grade of the audio playing equipment according to the current sound risk evaluation value.
According to a second aspect of the present application, there is provided a detection apparatus for an audio playback device, including:
the acquisition module is used for acquiring a background noise signal played by the audio playing equipment within a preset time period;
the determining module is used for determining a first background noise frequency response curve according to the background noise signal;
and the detection module is used for detecting whether the audio playing equipment is qualified or not according to the first bottom noise response curve.
Optionally, the determining module includes:
the acquisition unit is used for acquiring the environmental sound signals in the preset time period;
the first determining unit is used for determining a second background noise response curve of the environment sound signal according to the environment sound signal;
a second determining unit, configured to determine a third background noise frequency response curve of the background noise signal according to the background noise signal;
a third determining unit, configured to determine an abnormal frequency point with the same frequency in the third bottom noise response curve and the second bottom noise response curve, where the abnormal frequency point is a frequency point with a corresponding frequency response value greater than a preset threshold;
and the eliminating unit is used for eliminating the abnormal frequency points with the same frequency from the third bottom noise response curve to obtain the first bottom noise response curve.
Optionally, the detection module includes:
the selection unit is used for selecting an abnormal frequency point from the first bottom noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value of which the frequency response value is greater than a preset threshold value;
the calculating unit is used for calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value;
and the detection unit is used for detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
According to a third aspect of the application, there is provided an electronic device comprising the apparatus of any of the second aspects; alternatively, the first and second electrodes may be,
comprising a memory for storing computer instructions and a processor for invoking the computer instructions from the memory for performing the method according to any of the first aspects.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method according to any one of the first aspects.
In this embodiment, a method for detecting an audio playing device is provided, where the method acquires a bottom noise signal played by the audio playing device within a preset time period, determines a first bottom noise response curve according to the bottom noise signal, and finally detects whether the audio playing device is qualified according to the first bottom noise response curve. Therefore, whether the audio playing equipment is qualified or not can be automatically detected, and the efficiency and the accuracy of detecting the audio playing equipment are improved.
Further features of the present application and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which is to be read in connection with the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a detection method of an audio playback device according to an embodiment of the present disclosure.
Fig. 2a is a schematic diagram of a first background noise response curve of an audio playing device according to an embodiment of the present application;
fig. 2b is a schematic diagram of a first background noise response curve of another audio playing device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a detection device of an audio playback apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be discussed further in subsequent figures.
< method example >
The application provides a detection method of audio playing equipment, which is used for carrying out current sound detection on the audio playing equipment before delivery. The current sound refers to a sound generated by a current interference signal played by an audio playing device during transmission.
The execution main body of the detection method of the audio playing equipment is the detection device of the audio playing equipment. The device can be an electronic device, and can also be a hardware module and/or a software module in the electronic device. The electronic device may be a notebook, a desktop, or the like.
In the following embodiments, the method provided by the present application will be described by taking an electronic device as an example of an execution subject of a detection method for audio playback.
As shown in fig. 1, the method includes S1100-S1300 as follows:
s1100, collecting a background noise signal played by the audio playing equipment within a preset time period.
In this embodiment, the audio playing device may be a wireless earphone or a wired earphone. The wireless headset may be a TWS headset, for example.
In this embodiment, taking the audio playing device as a TWS headset as an example, the electronic device may collect the noise-floor signal played by the audio playing device in the following two scenarios:
the first scenario is as follows: the TWS earphone is in a Bluetooth playing state, a power amplifier IC in the TWS earphone is opened, the input end of the power amplifier IC does not have any sound source, and a loudspeaker of the TWS earphone outputs a bottom noise signal.
The second scenario is: the TWS earphone is in a Bluetooth playing state, a power amplifier IC in the TWS earphone is muted by the system, a very small signal at the input end of the power amplifier IC triggers the power amplifier IC to be opened, and a horn of the TWS earphone is used for outputting a bottom noise signal.
In one embodiment, the electronic device may be contoured to the shape of a human ear, and an audio playback device, such as a TWS headset, may be placed at the corresponding ear canal of the human ear of the electronic device. Therefore, the audio playing equipment can be detected more accurately by simulating the use environment of the TWS earphone.
In one embodiment, the electronic device and the audio playback device can be placed in a relatively quiet environment, which can reduce the effect of a factory noisy environment on the detection of the audio playback device by the electronic device.
It should be noted that the preset time period in S1100 may be set according to experience, and a specific value of the preset time period is not limited in this embodiment.
S1200, determining a first bottom noise frequency response curve according to the bottom noise signal.
In one embodiment, a frequency response curve corresponding to the background noise signal is obtained by performing fourier transform on the background noise signal. Here, a frequency response curve corresponding to the background noise signal is referred to as a first background noise response curve.
And S1300, detecting whether the audio playing equipment is qualified or not according to the first background noise response curve.
In this embodiment, the electronic device performs the processing in S1100 to S1300 on the audio playing device with known existence of current sound, and obtains a first background noise response curve as shown in fig. 2 a. And, performing the processing as in S1100-S1300 above on the audio playing device (or the audio playing device with current sound but without affecting the sound quality of the audio playing device) with no current sound, and obtaining a first base noise response curve as shown in fig. 2 b.
As can be seen from fig. 2a and 2b, when there is a current sound in the audio playback device, there is a frequency point with a higher frequency response value in the corresponding first bottom noise response curve, and when there is no audio playback device with a current sound (or there is a current sound but does not affect the sound quality of the audio playback device), the corresponding first bottom noise response curve is stable and smooth.
By combining the above, it can be determined whether the audio playing device is qualified according to the frequency point with a higher frequency response value existing in the first background noise frequency response curve. In addition, based on this, the specific step of detecting whether the audio playing device is qualified in the present embodiment is to detect whether the audio playing device has current sound that affects the sound quality of the audio playing device.
Further, the method for detecting an audio playing device provided in the embodiment of the present application further includes, after S1300: and outputting a detection result of whether the audio playing equipment is qualified or not.
In this embodiment, a method for detecting an audio playing device is provided, where the method acquires a bottom noise signal played by the audio playing device within a preset time period, determines a first bottom noise response curve of the bottom noise signal according to the bottom noise signal, and finally detects whether the audio playing device is qualified according to the first bottom noise response curve. Therefore, whether the audio playing equipment is qualified or not can be automatically detected, and the efficiency and the accuracy of detecting the audio playing equipment are improved.
In an embodiment, the specific implementation of S1200 may further include the following S1210-S1214:
and S1210, collecting an environmental sound signal in a preset time period.
In one embodiment, after the electronic device executes S1100, the audio playing device is controlled to be in a state where the background noise signal is not played, and then a sound signal of a preset time period is collected and recorded as the environmental sound signal. When the audio playing device is a TWS earphone, the state that the audio playing device does not play the background noise signal is a state that the audio playing device is in a bluetooth disconnection state.
And S1211, determining a second bottom noise response curve of the environment sound signal according to the environment sound signal.
In this embodiment, a frequency response curve corresponding to the ambient sound signal is obtained by performing fourier transform on the ambient sound signal. Here, the frequency response curve corresponding to the ambient sound signal is denoted as a second background noise response curve.
And S1212, determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal.
In this embodiment, a frequency response curve corresponding to the bottom noise signal is obtained by performing fourier transform on the bottom noise signal. Here, a frequency response curve corresponding to the background noise signal is defined as a third background noise frequency response curve.
S1213, determining abnormal frequency points with the same frequency in the third bottom noise response curve and the second bottom noise response curve.
And the abnormal frequency point is a frequency point of which the corresponding frequency response value is greater than a preset threshold value.
In this embodiment, the specific value of the preset threshold may be determined empirically. The embodiment does not limit the specific value of the preset threshold.
S1214, eliminating abnormal frequency points with the same frequency from the third background noise response curve to obtain a first background noise response curve.
In this embodiment, since the second background noise frequency response curve is a frequency response curve corresponding to the environmental sound signal, the abnormal frequency point in the second background noise frequency response curve is caused by noise in the environment where the electronic device is located. On the basis, abnormal frequency points with the same frequency in the third bottom noise response curve and the second bottom noise response curve are determined, and then the abnormal frequency points with the same frequency are removed from the third bottom noise response curve, so that the abnormal frequency points introduced by the environmental sound signals in the third bottom noise response curve can be removed. On the basis, the first background noise response curve obtained in the above step S1214 can reflect the current sound more accurately.
In one embodiment, the above S1300 may be implemented by S1310-S1312 as follows:
s1310, selecting an abnormal frequency point from the first background noise response curve, where the abnormal frequency point is a frequency point corresponding to a frequency response value having a frequency response value greater than a threshold.
S1311, calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value.
In an embodiment, the specific implementation of S1311 may be that, when the number of abnormal frequency points is greater than a preset number, a deviation between a frequency response value corresponding to each abnormal frequency point and a preset threshold is calculated; the average value or the sum of each deviation, etc. is used as a current sound risk evaluation value. Correspondingly, when the number of the abnormal frequency points is less than or equal to the preset number, the current sound risk evaluation value is determined to be 0.
The preset number can be obtained according to an empirical value, and the specific value of the preset number is not limited in this embodiment.
In another embodiment, the above S1311 may also be implemented by the following S1311-1 to S1311-3:
s1311-1, determining the weight of each abnormal frequency point according to each abnormal frequency point and the human ear hearing weight curve.
In the present embodiment, the human ear hearing weighting curve is used to describe the sensitivity of the human ear to sound changes in different frequency bands. In one embodiment, the human ear hearing weight curve may be, but is not limited to, an A-Weighted weight curve.
In this embodiment, the weight corresponding to the frequency point that is the same as the abnormal frequency point is searched for in the weighting curve of the human ear hearing, and the searched weight is used as the weight corresponding to the abnormal frequency point.
S1311-2, according to the frequency response value and the corresponding weight corresponding to each abnormal frequency point, determining an abnormal sound pressure value corresponding to the abnormal frequency point.
In this embodiment, the specific implementation of S1311-2 may be: and for one abnormal frequency point, summing the frequency response value corresponding to the abnormal frequency point and the corresponding weight to obtain a sum value. And then, according to the conversion relation between decibels and sound pressure, obtaining a sound pressure value corresponding to the sum value, and taking the sound pressure value as an abnormal sound pressure value of an abnormal frequency point.
S1311-3, determining a current sound risk evaluation value according to each abnormal sound pressure value.
In this embodiment, the specific implementation of S1311-3 may be: and solving the square sum of each abnormal sound pressure value and a re-root number, and solving the square sum of each abnormal sound pressure and the re-root number to obtain a value which is used as a current sound risk evaluation value.
S1312, detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
In this embodiment, the implementation of S1312 may be that, in the case that the current sound risk evaluation value is greater than the current sound risk threshold value, the audio playing apparatus is determined to be unqualified. Correspondingly, the audio playing device is determined to be qualified under the condition that the current sound risk evaluation value is smaller than or equal to the current sound risk critical value.
The current sound risk threshold value may be obtained according to an empirical value, and the specific value of the current sound risk threshold value is not limited in this embodiment.
On the basis of the embodiments shown in S1310-S1312 described above, the detection method of the audio playing device provided in the embodiment of the present application further includes the following step S1313:
s1313, determining the qualification grade of the audio playing device according to the current sound risk evaluation value.
In this embodiment, the current sound risk threshold of a plurality of risk levels may be set according to the current sound risk threshold. And then determining the current sound risk threshold value closest to the current sound risk evaluation value, and determining the risk level corresponding to the closest current sound risk threshold value. And finally, determining the qualified grade of the audio playing equipment according to the risk grade. Wherein the higher the risk level, the lower the eligibility level.
< example >
With reference to the foregoing method embodiments, a method for detecting an audio playing device provided in an embodiment of the present application includes the following steps:
s2001, collecting a background noise signal played by the audio playing device in a preset time period.
And S2002, collecting the environmental sound signals in a preset time period.
And S2003, determining a second background noise response curve of the environment sound signal according to the environment sound signal.
And S2004, determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal.
And S2005, determining abnormal frequency points with the same frequency in the third bottom noise response curve and the second bottom noise response curve, wherein the abnormal frequency points are frequency points with corresponding frequency response values larger than a preset threshold value.
And S2006, eliminating abnormal frequency points with the same frequency from the third background noise response curve to obtain a first background noise response curve.
S2007, selecting an abnormal frequency point from the first background noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value larger than a preset threshold value.
And S2008, determining the weight of the corresponding abnormal frequency point according to each abnormal frequency point and the human ear hearing weight calculation curve.
And S2009, determining the abnormal sound pressure value corresponding to the abnormal frequency point according to the frequency response value corresponding to each abnormal frequency point and the corresponding weight.
And S2010, determining a current sound risk evaluation value according to each abnormal sound pressure value.
And S2011, detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
< apparatus embodiment >
As shown in fig. 3, the detection apparatus 300 of the audio playing device provided in this embodiment includes an acquisition module 310, a determination module 320, and a detection module 330, where:
the acquisition module 310 is configured to acquire a noise floor signal played by an audio playing device within a preset time period;
a determining module 320, configured to determine a first background noise frequency response curve according to the background noise signal;
the detecting module 330 is configured to detect whether the audio playing device is qualified according to the first background noise response curve.
In one embodiment, the determining module 320 includes:
the acquisition unit is used for acquiring the environmental sound signals in the preset time period;
the first determining unit is used for determining a second background noise response curve of the environment sound signal according to the environment sound signal;
the second determining unit is used for determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal;
a third determining unit, configured to determine an abnormal frequency point with the same frequency in the third bottom noise response curve and the second bottom noise response curve, where the abnormal frequency point is a frequency point with a corresponding frequency response value greater than a preset threshold;
and the eliminating unit is used for eliminating the abnormal frequency points with the same frequency from the third background noise response curve to obtain the first background noise response curve.
In one embodiment, the detection module 330 includes:
the selection unit is used for selecting an abnormal frequency point from the first background noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value of which the frequency response value is greater than a preset threshold value;
the calculating unit is used for calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value;
and the detection unit is used for detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
In one embodiment, the computing unit is specifically configured to:
determining the weight of the corresponding abnormal frequency point according to each abnormal frequency point and the human ear hearing weight curve;
determining abnormal sound pressure values corresponding to the abnormal frequency points according to the frequency response values corresponding to the abnormal frequency points and the corresponding weights;
and determining a current sound risk evaluation value according to each abnormal sound pressure value.
In one embodiment, the second detection unit is further configured to:
and determining the qualification grade of the audio playing equipment according to the current sound risk evaluation value.
< apparatus embodiment >
The embodiment of the present application provides an electronic device 400, which includes the detection apparatus 300 of any audio playing apparatus provided in the above apparatus embodiment.
Alternatively, as shown in fig. 4, the apparatus comprises a memory 410 and a processor 420, wherein the memory 410 is used for storing computer instructions, and the processor 420 is used for calling the computer instructions from the memory 410 to execute the method according to any one of the above method embodiments.
< storage Medium embodiment >
The present application provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method according to any one of the above method embodiments.
The present application may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present application.
The computer-readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as a punch card or an in-groove protruding structure with instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present application may be assembler instructions, instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present application are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Various aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.
The foregoing description of the embodiments of the present application has been presented for purposes of illustration and description and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the application is defined by the appended claims.

Claims (8)

1. A method for detecting an audio playback device, comprising:
collecting a bottom noise signal played by audio playing equipment within a preset time period;
determining a first bottom noise frequency response curve according to the bottom noise signal;
detecting whether the audio playing equipment is qualified or not according to the first bottom noise response curve;
wherein, said determining a first background noise response curve according to said background noise signal comprises:
collecting environmental sound signals in the preset time period;
determining a second background noise response curve of the environmental sound signal according to the environmental sound signal;
determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal;
determining abnormal frequency points with the same frequency in the third bottom noise frequency response curve and the second bottom noise frequency response curve, wherein the abnormal frequency points are frequency points with corresponding frequency response values larger than a preset threshold value;
and eliminating the abnormal frequency points with the same frequency from the third background noise response curve to obtain the first background noise response curve.
2. The method of claim 1, wherein the detecting whether the audio playback device is qualified according to the first background noise response curve comprises:
selecting an abnormal frequency point from the first background noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value of which the frequency response value is greater than a preset threshold value;
calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value;
and detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
3. The method of claim 2, wherein calculating a current sound risk assessment value based on the abnormal frequency point and the corresponding frequency response value comprises:
determining the weight of the corresponding abnormal frequency point according to each abnormal frequency point and the human ear hearing weight curve;
determining abnormal sound pressure values corresponding to the abnormal frequency points according to the frequency response values corresponding to the abnormal frequency points and the corresponding weights;
and determining the current sound risk evaluation value according to each abnormal sound pressure value.
4. The method of claim 2, further comprising:
and determining the qualification grade of the audio playing equipment according to the current sound risk evaluation value.
5. A detection apparatus for an audio playback device, comprising:
the acquisition module is used for acquiring a background noise signal played by the audio playing equipment within a preset time period;
the determining module is used for determining a first background noise frequency response curve according to the background noise signal;
the detection module is used for detecting whether the audio playing equipment is qualified or not according to the first background noise response curve;
wherein the determining module comprises:
the acquisition unit is used for acquiring the environmental sound signals in the preset time period;
the first determining unit is used for determining a second background noise response curve of the environment sound signal according to the environment sound signal;
the second determining unit is used for determining a third bottom noise frequency response curve of the bottom noise signal according to the bottom noise signal;
a third determining unit, configured to determine an abnormal frequency point with the same frequency in the third background noise response curve and the second background noise response curve, where the abnormal frequency point is a frequency point whose corresponding frequency response value is greater than a preset threshold;
and the eliminating unit is used for eliminating the abnormal frequency points with the same frequency from the third background noise response curve to obtain the first background noise response curve.
6. The apparatus of claim 5, wherein the detection module comprises:
the selection unit is used for selecting an abnormal frequency point from the first background noise frequency response curve, wherein the abnormal frequency point is a frequency point corresponding to a frequency response value of which the frequency response value is greater than a preset threshold value;
the calculating unit is used for calculating a current sound risk evaluation value according to the abnormal frequency point and the corresponding frequency response value;
and the detection unit is used for detecting whether the audio playing equipment is qualified or not according to the current sound risk evaluation value.
7. An electronic device, characterized in that the electronic device comprises an apparatus according to any of claims 5-6; alternatively, the first and second liquid crystal display panels may be,
comprising a memory for storing computer instructions and a processor for invoking the computer instructions from the memory to perform the method of any of claims 1-4.
8. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110566270.9A 2021-05-24 2021-05-24 Detection method, device and equipment of audio playing equipment and storage medium Active CN113329315B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110566270.9A CN113329315B (en) 2021-05-24 2021-05-24 Detection method, device and equipment of audio playing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110566270.9A CN113329315B (en) 2021-05-24 2021-05-24 Detection method, device and equipment of audio playing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113329315A CN113329315A (en) 2021-08-31
CN113329315B true CN113329315B (en) 2022-11-11

Family

ID=77416522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110566270.9A Active CN113329315B (en) 2021-05-24 2021-05-24 Detection method, device and equipment of audio playing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113329315B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114640926B (en) * 2022-03-31 2023-11-17 歌尔股份有限公司 Current sound detection method, device, equipment and computer readable storage medium
CN114460456B (en) * 2022-04-13 2022-07-12 天津美腾科技股份有限公司 Electromagnetic valve fault detection method, device and system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker
CN111800722A (en) * 2019-04-28 2020-10-20 深圳市豪恩声学股份有限公司 Feedforward microphone function detection method and device, terminal equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142090B (en) * 2015-08-24 2018-04-13 歌尔股份有限公司 Determine the method and system of the ripple factor of background noise test power supply
US10104486B2 (en) * 2016-01-25 2018-10-16 Bragi GmbH In-ear sensor calibration and detecting system and method
CN107247572B (en) * 2017-05-08 2020-02-07 深圳市科迈爱康科技有限公司 Audio playing method, terminal and computer readable storage medium
GB2563687B (en) * 2017-06-19 2019-11-20 Cirrus Logic Int Semiconductor Ltd Audio test mode
US10530917B2 (en) * 2018-03-08 2020-01-07 2236008 Ontario Inc. System for automating tuning hands-free systems
CN109029710A (en) * 2018-07-26 2018-12-18 佛山市威耳听力技术有限公司 The method of monitoring and test sound and test ambient sound
CN110858950A (en) * 2018-08-23 2020-03-03 青岛海信宽带多媒体技术有限公司 Sound equipment testing method, sound equipment testing equipment and sound equipment
CN111372180A (en) * 2020-03-03 2020-07-03 深圳市金锐显数码科技有限公司 Detection method and detection system of intelligent earphone

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297909A (en) * 2013-04-23 2013-09-11 衡阳加一电子科技有限公司 Earphone testing method and device
CN109040940A (en) * 2018-09-20 2018-12-18 歌尔股份有限公司 A kind of detection method and device of loudspeaker
CN111800722A (en) * 2019-04-28 2020-10-20 深圳市豪恩声学股份有限公司 Feedforward microphone function detection method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN113329315A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US10665250B2 (en) Real-time feedback during audio recording, and related devices and systems
CN113329315B (en) Detection method, device and equipment of audio playing equipment and storage medium
US20150124980A1 (en) Detection of a microphone
CN109040940A (en) A kind of detection method and device of loudspeaker
CN112019975B (en) Ambient and aggregate acoustic dosimetry
CN105979462A (en) Test processing method and device based on microphone
KR20090113162A (en) Method and apparatus for measuring hearing ability of the ear
WO2019001158A1 (en) Method and apparatus for determining position of loudspeaker, and loudspeaker
KR20090079782A (en) Audio processing method and apparatus for hearing protecting
KR102407686B1 (en) Environmental and aggregate acoustic dosimetry
Völk Inter-and intra-individual variability in the blocked auditory canal transfer functions of three circum-aural headphones
CN109379689A (en) Loudspeaker total harmonic distortion measurement method, device, storage medium and measuring system
CN107403629B (en) Far-field pickup performance evaluation method and system, and electronic device
US10186279B2 (en) Device for detecting, monitoring, and cancelling ghost echoes in an audio signal
Berger et al. Personal music players: Are we measuring the sound levels correctly?
CN112309418B (en) Method and device for inhibiting wind noise
CN110265048B (en) Echo cancellation method, device, equipment and storage medium
CN109274826B (en) Voice playing mode switching method and device, terminal and computer readable storage medium
CN115086852A (en) Earphone detection method and device, electronic equipment and computer readable storage medium
CN114827865A (en) Frequency response curve detection method, device, equipment and storage medium of audio equipment
CN111741168B (en) Communication equipment testing method and device, computer readable medium and equipment thereof
EP4312214A1 (en) Determining spatial audio parameters
CN112951265B (en) Audio processing method and device, electronic equipment and storage medium
US20230209240A1 (en) Method and system for authentication and compensation
CN115499770A (en) Voice activity detection method and device of earphone, earphone and medium

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
GR01 Patent grant
GR01 Patent grant