CN114827865A - Frequency response curve detection method, device, equipment and storage medium of audio equipment - Google Patents

Frequency response curve detection method, device, equipment and storage medium of audio equipment Download PDF

Info

Publication number
CN114827865A
CN114827865A CN202210307475.XA CN202210307475A CN114827865A CN 114827865 A CN114827865 A CN 114827865A CN 202210307475 A CN202210307475 A CN 202210307475A CN 114827865 A CN114827865 A CN 114827865A
Authority
CN
China
Prior art keywords
microphone
frequency response
response curve
reference point
external reference
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
Application number
CN202210307475.XA
Other languages
Chinese (zh)
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 CN202210307475.XA priority Critical patent/CN114827865A/en
Publication of CN114827865A publication Critical patent/CN114827865A/en
Pending legal-status Critical Current

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
    • 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/004Monitoring arrangements; Testing arrangements for microphones

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for detecting a frequency response curve of audio equipment, and relates to the technical field of acoustics. The method is used for detecting the frequency response curve of the audio equipment at an external reference point after the audio equipment leaves a factory, and comprises the following steps: controlling a loudspeaker to play an audio signal; controlling a first microphone to collect audio signals played by a loudspeaker; determining a frequency response curve of a first microphone according to an audio signal collected by the first microphone; acquiring the transmission quantity of the first microphone to an external reference point; and determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone. The method provides a method for detecting the frequency response curve of the audio equipment at an external reference point which is the listening position point where the user usually locates after the audio equipment is shipped.

Description

Frequency response curve detection method, device, equipment and storage medium of audio equipment
Technical Field
The present disclosure relates to the field of acoustic technologies, and in particular, to a method for detecting a frequency response curve of an audio device, an apparatus for detecting a frequency response curve of an audio device, an electronic device, and a computer-readable storage medium.
Background
In recent years, smart audio has become more widely used.
Since the frequency response curve of the smart sound at the listening position where the user is usually located is closely related to the sound effect heard by the user at the listening position, it is very important to detect the frequency response curve of the smart sound at the listening position where the user is usually located.
At present, a professional detection person can detect the frequency response curve of the intelligent sound at a listening position where a user usually listens only by using a related detection tool before the intelligent sound leaves a factory. Therefore, it is an urgent technical problem to provide a method for detecting a frequency response curve of an intelligent sound device at a listening position where a user usually listens after the intelligent sound device leaves a factory.
Disclosure of Invention
An object of the present application is to provide a new technical solution for frequency response curve detection of an audio device.
According to a first aspect of the present application, there is provided a method for detecting a frequency response curve of an audio device, the audio device including a speaker and a first microphone, the method being used for detecting the frequency response curve of the audio device at an external reference point after the audio device leaves a factory, the method including:
controlling the loudspeaker to play an audio signal;
controlling the first microphone to acquire an audio signal played by the loudspeaker;
determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
acquiring the transmission quantity of the first microphone to an external reference point;
and determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone.
Optionally, the determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes:
determining the sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone;
and determining a frequency response curve of the first microphone according to the sound pressure level.
Optionally, the determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes:
filtering noise signals from the audio signals collected by the first microphone to obtain noise-reduced audio signals;
and determining a frequency response curve of the first microphone according to the noise-reduced audio signal.
Optionally, before filtering out a noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal, the method further includes:
and determining a noise signal according to the audio signal played by the loudspeaker and the audio signal collected by the first microphone.
Optionally, the audio device further comprises at least one second microphone, and the method further comprises:
acquiring a frequency response curve of each second microphone at an external reference point;
and determining a frequency response curve of a microphone array according to the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point, wherein the first microphone and the second microphone form the microphone array.
Optionally, the determining a frequency response curve of the microphone array according to a frequency response curve of each of the second microphones at the external reference point and a frequency response curve of the first microphone at the external reference point includes:
determining a frequency response curve of each second microphone at an external reference point and an average value curve among the frequency responses of the first microphones at the external reference point;
determining the average curve as a frequency response curve of the microphone array at an external reference point.
Optionally, the audio signal played by the speaker is a frequency sweep signal.
According to a second aspect of the present application, there is provided an apparatus for detecting a frequency response of an external reference point after an audio device leaves a factory, where the audio device includes a speaker and a first microphone, and the apparatus includes:
the first control module is used for controlling the loudspeaker to play audio signals;
the second control module is used for controlling the first microphone to collect the audio signals played by the loudspeaker;
the first determining module is used for determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
the acquisition module is used for acquiring the transmission quantity of the first microphone to an external reference point;
and the second determining module is used for determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone.
According to a third aspect of the present application, there is provided an electronic device comprising the frequency response curve detecting apparatus of the audio device according to the second aspect;
or, a memory for storing computer instructions and a processor for invoking the computer instructions from the memory to perform the frequency response curve detection method of the audio device according to any one of the first aspect.
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 frequency response curve detection method of an audio device according to any one of the first aspects.
In an embodiment of the present application, a method for detecting a frequency response curve of an audio device is provided, where the audio device includes a speaker and a first microphone, and the method is used to detect a frequency response curve of the audio device at an external reference point after the audio device leaves a factory, and includes: controlling a loudspeaker to play an audio signal; controlling a first microphone to collect audio signals played by a loudspeaker; determining a frequency response curve of a first microphone according to an audio signal collected by the first microphone; acquiring the transmission quantity of the first microphone to an external reference point; and determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone. The embodiment of the application provides a method for detecting the frequency response curve of the audio equipment at an external reference point which is a listening position point where a user usually locates after the audio equipment leaves a factory. Furthermore, the sound effect of the audio equipment can be adjusted or fault identification and the like can be carried out on the audio equipment by combining the frequency response curve of the audio equipment at an external reference point. That is to say, the method for detecting the frequency response curve of the audio device provided by the embodiment of the application provides a basis for sound effect adjustment and fault identification of the audio device.
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 frequency response curve detection method of an audio device according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a frequency response curve detection apparatus of an audio device according to an embodiment of the present disclosure;
fig. 3 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 those 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, further discussion thereof is not required in subsequent figures.
< method examples >
The embodiment of the application provides a frequency response curve testing method of audio equipment, wherein the audio equipment comprises a loudspeaker and a first microphone, and the method is used for detecting the frequency response curve of an external reference point of the audio equipment after the audio equipment leaves a factory.
Where the external reference point is the point at which the user is typically listening. In one example, the reference point may be a point at a position 1m directly in front of the audio device. It is understood that the external reference points may be at least one. The method for detecting the frequency response curve of the audio equipment is specific to any one external reference point.
In the embodiment of the application, the execution subject of the method is the electronic equipment. The electronic device can be the audio device itself, and the electronic device can also be an external electronic device connected with the audio device. The external electronic equipment can be a smart phone or a personal computer and the like.
As shown in fig. 1, the method for detecting a frequency response curve of an audio device according to the embodiment of the present application includes the following steps S1100 to S1500:
and S1100, controlling a loudspeaker to play audio signals.
In one embodiment, the audio signal played by the speaker may be a swept frequency signal. Of course, it may be a music signal or the like.
It can be understood that, since the frequency sweep signal is a constant amplitude signal whose frequency varies periodically within a certain range, the frequency sweep signal can cover more frequency ranges, and the sound pressure level is stable. Thus, with this sweep signal, a more accurate frequency response curve of the first microphone can be obtained based on S1300 described below.
S1200, controlling the first microphone to collect the audio signal played by the loudspeaker.
In the embodiment of the application, the first microphone is controlled to collect the audio signal played by the loudspeaker while the loudspeaker is controlled to play the audio signal.
In an embodiment of the present application, the method for detecting a frequency response curve of an audio device according to the embodiment of the present application further includes, before the step S1200: the first microphone is calibrated. This may provide a basis for the first microphone to pick up an accurate audio signal.
And S1300, determining the curve frequency response of the first microphone according to the audio signal collected by the first microphone.
In an embodiment of the present application, the specific implementation of S1300 may be: and performing Fourier transform or fast Fourier transform on the audio signal acquired by the first microphone to obtain a frequency response curve of the first microphone.
In another embodiment, the specific implementation of S1300 may also be S1310 and S1311 as follows:
s1310, determining a sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone.
And S1311, determining a frequency response curve of the first microphone according to the sound pressure level.
In this embodiment, the specific implementation of S1311 may be: according to the sound pressure level, a frequency response curve corresponding to the sound pressure level that is the same as or closest to the sound pressure level obtained according to the step S1310 is searched in a preset frequency response curve database, and the searched frequency response curve is used as the frequency response curve of the first microphone in the step S1311.
And the preset frequency response curve database stores frequency response curves corresponding to different sound pressure levels.
In one embodiment, the preset frequency response curve database is obtained by testing by an operator before the audio device leaves a factory. The specific test process may be: controlling a loudspeaker to play an audio signal with a sound pressure level a, and simultaneously controlling a first microphone to collect the audio signal with the sound pressure level a; testing a frequency response curve of an audio signal with a sound pressure level a collected by a first microphone; and repeating the steps to obtain the frequency response curves of the audio signals with different sound pressure levels.
It will be appreciated that the test may be performed in a noise-canceling environment in order to avoid the effect of noise on the test.
It should be noted that, the frequency response curves corresponding to the audio signals of the same sound pressure level are the same. Therefore, S1311 may be implemented according to the sound pressure level of the audio signal obtained in S1310 and the preset frequency response curve database.
In the embodiment of the present application, since the sound pressure level of the audio signal can be obtained quickly, the frequency response curve of the first microphone can be obtained quickly through the above steps S1310 and S1311.
And S1400, acquiring the transmission quantity of the first microphone to an external reference point.
In this embodiment of the application, the transmission amount of the external reference point in S1400 is obtained by testing by an operator before shipping the audio device. That is to say, the method for detecting a frequency response curve of an audio device according to the embodiment of the present application further includes, before the step S1100, the following steps:
and S1110, controlling a loudspeaker of the audio device to play audio signals, and controlling a first microphone and a test microphone of the audio device to simultaneously acquire the audio signals.
Wherein the test microphone is arranged at an external reference point. And the performance, specification and the like of the test microphone and the first microphone are completely consistent.
S1111, calculating a frequency response curve of the audio signal collected by the first microphone, and calculating a frequency response curve of the audio signal collected by the test microphone.
S1112, taking a difference between a frequency response curve of the audio signal collected by the test microphone and a frequency response curve of the audio signal collected by the first microphone as a transmission amount from the first microphone to an external reference point.
The specific calculation mode of the difference value between the frequency response curve of the audio signal collected by the test microphone and the frequency response curve of the audio signal collected by the first microphone is as follows: and (4) making difference between the amplitudes corresponding to the same frequency on the two frequency response curves.
It will be appreciated that the amount of transmission of the first microphone to the external reference point may reflect the change in the frequency response curve of the first microphone to the external reference point, where the first microphone is located, due to the distance. Therefore, the transmission amount of the first microphone to the external reference point is fixed when the environment of the audio device and the played audio signal change. In addition, to avoid the effect of noise on the test, the test may be performed in a noise-canceling environment.
S1500, determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity from the first microphone to the external reference point and the frequency response curve of the first microphone.
In this embodiment, the specific implementation of S1500 may be: and taking the sum of the transfer quantity of the first microphone to the reference point and the frequency response curve of the first microphone as the frequency response curve of the first microphone at the reference point.
The calculation mode of the sum of the transmission quantity from the first microphone to the reference point and the frequency response curve of the first microphone is as follows: and superposing the amplitude corresponding to the same frequency in the transmission quantity from the first microphone to the reference point on the amplitude corresponding to each frequency on the frequency response curve of the first microphone.
When the number of the external reference points is two or more, the frequency response curves of the first microphone at the plurality of external reference points can be obtained by repeating the above S1400 and S1500.
It can be understood that S1100 to S1500 may be implemented after the audio device leaves a factory, and thus, the method for detecting a frequency response curve of an audio device provided in the embodiment of the present application is a method for detecting a frequency response curve of an audio device after the audio device leaves a factory.
In an embodiment of the present application, a method for detecting a frequency response curve of an audio device is provided, where the audio device includes a speaker and a first microphone, and the method is used to detect a frequency response curve of the audio device at an external reference point after the audio device leaves a factory, and includes: controlling a loudspeaker to play an audio signal; controlling a first microphone to collect audio signals played by a loudspeaker; determining a frequency response curve of a first microphone according to an audio signal collected by the first microphone; acquiring the transmission quantity of the first microphone to an external reference point; and determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone. That is, the embodiment of the present application provides a method for detecting a frequency response curve of an audio device at an external reference point, which is a listening location point where a user usually locates, after the audio device leaves a factory. Furthermore, the sound effect of the audio equipment can be adjusted or fault identification and the like can be carried out on the audio equipment by combining the frequency response curve of the audio equipment at an external reference point. That is to say, the method for detecting the frequency response curve of the audio device provided by the embodiment of the application provides a basis for sound effect adjustment and fault identification of the audio device.
In an embodiment of the present application, the specific implementation of S1300 may be as follows S1320 and S1321:
s1320, filtering noise signals from the audio signals collected by the first microphone, and obtaining the audio signals after noise reduction.
In this embodiment, since the external environment of the audio device usually has noise, the audio signal obtained in S1200 includes the noise of the external environment in addition to the audio signal played by the speaker. Meanwhile, since vibration noise is generated by both the vibration of the speaker and the vibration of the first microphone, the audio signal obtained in S1200 further includes the vibration noise. On the basis, in order to enable the first microphone to acquire an accurate audio signal, a noise signal needs to be filtered from the audio signal acquired by the first microphone.
S1321, determining the frequency response of the first microphone according to the noise-reduced audio signal.
With reference to the foregoing embodiment, the method for detecting a frequency response curve of an audio device according to the embodiment of the present application further includes, before the foregoing S1320, the following S1320-1:
s1320-1, determining a noise signal according to the audio signal played by the loudspeaker and the audio signal collected by the first microphone.
In this embodiment, the specific implementation of S1320-1 may be: and determining the difference value between the audio signal collected by the first microphone and the audio signal played by the loudspeaker as a noise signal.
The audio signal played by the speaker is specifically an audio signal input to the speaker.
Of course, other ways of obtaining the noise signal in the audio signal collected by the first microphone may also be used. For example, a noise signal in the audio signal collected by the first microphone is tracked in a minimum mean recursion manner, so as to obtain a noise signal. Or estimating a noise signal in the audio signal collected by the first microphone by using the Bayesian statistical probability to obtain the noise signal.
In an embodiment of the present application, in a case that the electronic device further includes at least one second microphone, the method for detecting a frequency response curve of the audio device according to the embodiment of the present application further includes the following steps S1600 and S1700:
and S1600, acquiring a frequency response curve of each second microphone at an external reference point.
And S1700, determining the frequency response curve of the microphone array according to the frequency response curve of each second microphone at the external reference point and the frequency response of the first microphone at the external reference point.
Wherein the first microphone and the second microphone form a microphone array.
In an embodiment of the present application, an audio device includes a microphone array including a first microphone and a second microphone.
In this embodiment, the specific implementation of S1600 may be that, regarding each second microphone as the first microphone, referring to S1100-S1500, the frequency response curve of each second microphone at the external reference point is obtained.
In the embodiment of the present application, the detection of the frequency response curve of the microphone array at the external reference point can be realized through the above-mentioned S1600 and S1700.
In an embodiment, the step S1700 may be specifically implemented by the following steps S1710 and S1711:
and S1710, determining a frequency response curve of each second microphone at an external reference point and an average value curve among the frequency response curves of the first microphones at the external reference points.
In this embodiment, the specific implementation of S1710 is: determining the average value of the corresponding amplitude values of the same frequency on the frequency response curve of each second microphone at the reference point and the frequency response curve of the first microphone at the reference point; and recording a curve formed by coordinate points formed by each mean value and the corresponding frequency as a mean value curve.
And S1711, determining the average value curve as a frequency response curve of the microphone array at an external reference point.
Of course, the above-mentioned S1700 may also be implemented in other ways, for example, a frequency response curve of each second microphone at the reference point and a frequency response curve of the first microphone at an intermediate position between the frequency response curves of the reference points may also be used as the frequency response curves of the microphone array at the external reference points.
< apparatus embodiment >
As shown in fig. 2, an embodiment of the present application provides an apparatus 200 for detecting a frequency response curve of an audio device, where the audio device includes a speaker and a first microphone, and the apparatus 200 is configured to detect a frequency response curve of the audio device at an external reference point after the audio device leaves a factory.
As shown in fig. 2, the frequency response curve detection apparatus 200 of the audio device includes: a first control module 210, a second control module 220, a first determination module 230, an acquisition module 240, and a second determination module 250, wherein:
a first control module 210, configured to control the speaker to play an audio signal;
a second control module 220, configured to control the first microphone to acquire an audio signal played by the speaker;
a first determining module 230, configured to determine a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
an obtaining module 240, configured to obtain a transmission amount of the first microphone to an external reference point;
the second determining module 250 is configured to determine a frequency response curve of the first microphone at the external reference point according to a transmission amount of the first microphone to the external reference point and the frequency response curve of the first microphone.
In an embodiment, the first determining module 230 is specifically configured to: determining the sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone;
and determining a frequency response curve of the first microphone according to the sound pressure level.
In an embodiment of the present application, the first determining module 230 includes a filtering unit and a first determining unit, wherein:
the filtering unit is used for filtering noise signals from the audio signals collected by the first microphone to obtain noise-reduced audio signals;
and the first determining unit is used for determining the frequency response curve of the first microphone according to the noise-reduced audio signal.
In one embodiment of the present application, the first determining module 230 further comprises a second determining unit, wherein:
and the second determining unit is used for determining a noise signal according to the audio signal played by the loudspeaker and the audio signal collected by the first microphone.
In an embodiment of the present application, the audio device further includes at least one second microphone, and the frequency response detecting apparatus 200 provided in this embodiment of the present application further includes a third determining module, where:
the obtaining module 240 is further configured to obtain a frequency response curve of each second microphone at an external reference point;
and a third determining module, configured to determine a frequency response curve of the microphone array according to a frequency response curve of each of the second microphones at the external reference point and a frequency response curve of the first microphone at the external reference point, where the first microphone and the second microphone form the microphone array.
In a first embodiment of the present application, the third determining module is specifically configured to:
determining a frequency response curve of each second microphone at an external reference point and an average value curve between the frequency response curves of the first microphones at the external reference points;
determining the average curve as a frequency response curve of the microphone array at an external reference point.
In one embodiment of the present application, the audio signal played by the speaker is a frequency sweep signal.
< apparatus embodiment >
The embodiment of the present application provides an electronic device 300, and the electronic device 300 includes the frequency response curve detection apparatus 200 of the audio device according to any one of the above apparatus embodiments.
Alternatively, as shown in fig. 3, the audio device comprises a memory 310 and a processor 320, wherein the memory 310 is used for storing computer instructions, and the processor 320 is used for calling the computer instructions from the memory 310 to execute the frequency response curve detection method of the audio device according to any one of the above method embodiments.
In an embodiment of the present application, the electronic device 300 may be an audio device itself, or may be an external electronic device connected to the audio device, such as a smart phone or a notebook computer.
< storage Medium embodiment >
The present application provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing a frequency response curve detection method of an audio device 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 punch cards or in-groove projection structures having 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 via 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, the electronic circuitry can execute computer-readable program instructions to implement aspects of the present application by utilizing state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
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 which 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, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. 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 (10)

1. A method for detecting a frequency response curve of an audio device, wherein the audio device comprises a loudspeaker and a first microphone, and the method is used for detecting the frequency response curve of the audio device at an external reference point after the audio device is shipped from a factory, and comprises the following steps:
controlling the loudspeaker to play an audio signal;
controlling the first microphone to acquire an audio signal played by the loudspeaker;
determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
acquiring the transmission quantity of the first microphone to an external reference point;
and determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone.
2. The method of claim 1, wherein determining the frequency response curve of the first microphone from the audio signal captured by the first microphone comprises:
determining the sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone;
and determining a frequency response curve of the first microphone according to the sound pressure level.
3. The method according to claim 1 or 2, wherein determining the frequency response curve of the first microphone from the audio signal captured by the first microphone comprises:
filtering noise signals from the audio signals collected by the first microphone to obtain noise-reduced audio signals;
and determining a frequency response curve of the first microphone according to the noise-reduced audio signal.
4. The method of claim 3, further comprising, before filtering out a noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal:
and determining a noise signal according to the audio signal played by the loudspeaker and the audio signal collected by the first microphone.
5. The method of claim 1, wherein the audio device further comprises at least one second microphone, the method further comprising:
acquiring a frequency response curve of each second microphone at an external reference point;
and determining a frequency response curve of a microphone array according to the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point, wherein the first microphone and the second microphone form the microphone array.
6. The method of claim 5, wherein determining a frequency response curve of an array of microphones based on a frequency response curve of each of the second microphones at an external reference point and a frequency response curve of the first microphone at an external reference point comprises:
determining a frequency response curve of each second microphone at an external reference point and an average value curve between the frequency response curves of the first microphones at the external reference points;
determining the average curve as a frequency response curve of the microphone array at an external reference point.
7. The method of claim 1, wherein the audio signal played by the speaker is a swept frequency signal.
8. An apparatus for detecting a frequency response curve of an audio device, wherein the audio device comprises a speaker and a first microphone, and the apparatus is configured to detect a frequency response curve of the audio device at an external reference point after the audio device leaves a factory, and comprises:
the first control module is used for controlling the loudspeaker to play audio signals;
the second control module is used for controlling the first microphone to collect the audio signals played by the loudspeaker;
the first determining module is used for determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
the acquisition module is used for acquiring the transmission quantity of the first microphone to an external reference point;
and the second determining module is used for determining the frequency response curve of the first microphone at the external reference point according to the transmission quantity of the first microphone to the external reference point and the frequency response curve of the first microphone.
9. An electronic device characterized by comprising the frequency response curve detecting means of the audio device according to claim 8;
or, comprising a memory for storing computer instructions and a processor for retrieving said computer instructions from said memory for performing the frequency response curve detection method of an audio device as claimed in any of the claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a method of frequency response curve detection for an audio device according to any one of claims 1-7.
CN202210307475.XA 2022-03-25 2022-03-25 Frequency response curve detection method, device, equipment and storage medium of audio equipment Pending CN114827865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210307475.XA CN114827865A (en) 2022-03-25 2022-03-25 Frequency response curve detection method, device, equipment and storage medium of audio equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210307475.XA CN114827865A (en) 2022-03-25 2022-03-25 Frequency response curve detection method, device, equipment and storage medium of audio equipment

Publications (1)

Publication Number Publication Date
CN114827865A true CN114827865A (en) 2022-07-29

Family

ID=82530170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210307475.XA Pending CN114827865A (en) 2022-03-25 2022-03-25 Frequency response curve detection method, device, equipment and storage medium of audio equipment

Country Status (1)

Country Link
CN (1) CN114827865A (en)

Similar Documents

Publication Publication Date Title
US10045141B2 (en) Detection of a microphone
US20120020495A1 (en) Audio signal processing apparatus, audio signal processing method, and program
CN109040940A (en) A kind of detection method and device of loudspeaker
CN104937955B (en) Automatic loud speaker Check up polarity
WO2019001158A1 (en) Method and apparatus for determining position of loudspeaker, and loudspeaker
CN113329315B (en) Detection method, device and equipment of audio playing equipment and storage medium
CN108387757B (en) Method and apparatus for detecting moving state of movable device
CN105224844A (en) Verification method, system and device
CN108093356B (en) Howling detection method and device
CN113053365A (en) Voice separation method, device, equipment and storage medium
CN114827865A (en) Frequency response curve detection method, device, equipment and storage medium of audio equipment
US10666273B1 (en) System and method for very low frequency detection of an event signature
CN108573718A (en) A kind of in-vehicle player
US20220390580A1 (en) Audio-based method for determining device distance
US20150195645A1 (en) Haptic microphone
CN114666708A (en) Sound effect adjusting method, device, equipment and storage medium
CN111145770B (en) Audio processing method and device
Hafeez et al. Exploiting frequency response for the identification of microphone using artificial neural networks
CN114827866A (en) Fault detection method, device, equipment and storage medium of audio equipment
CN113611276B (en) Acoustic feedback suppression method, apparatus and storage medium
CN111724808A (en) Audio signal processing method, device, terminal and storage medium
CN111314536B (en) Method and equipment for detecting listening module of terminal equipment
US11887587B2 (en) Apparatus and method for processing an audio input recording to obtain a processed audio recording to address privacy issues
JP2019219468A (en) Generation device, generation method and generation program
CN115086852A (en) Earphone detection method and device, electronic equipment and computer readable storage 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