CN112565979A - Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium - Google Patents
Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112565979A CN112565979A CN202011458212.6A CN202011458212A CN112565979A CN 112565979 A CN112565979 A CN 112565979A CN 202011458212 A CN202011458212 A CN 202011458212A CN 112565979 A CN112565979 A CN 112565979A
- Authority
- CN
- China
- Prior art keywords
- frequency response
- frequency
- loudspeaker
- radius
- response value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the invention discloses a method and a device for calculating a frequency response value of a loudspeaker, electronic equipment and a storage medium. The method comprises the following steps: acquiring the radius of a loudspeaker; determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value; and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency. By adopting the technical means, the purpose of improving the accuracy of the free field frequency response value of the loudspeaker can be realized.
Description
Technical Field
The embodiment of the invention relates to the technical field of loudspeakers, in particular to a method and a device for calculating a frequency response value of a loudspeaker, electronic equipment and a storage medium.
Background
The frequency response of the loudspeaker unit is generally tested under the condition of an infinite baffle, the loudspeaker system is tested under the condition of a free field, and in the design process of the loudspeaker, the frequency response of the free field is usually calculated according to the frequency response of the baffle, and the difference between the two is calculated to be 6dB according to a centralized parameter.
Therefore, the free field frequency response of the loudspeaker is greatly different from the measured free field frequency response in medium and high frequency calculation.
Therefore, a method for calculating a free field frequency response value of a speaker is needed, which can improve the accuracy of the free field frequency response value of the speaker.
Disclosure of Invention
The embodiment of the invention provides a method and a device for calculating a frequency response value of a loudspeaker, electronic equipment and a storage medium, and aims to improve the accuracy of the frequency response value of a free field of the loudspeaker.
In a first aspect, an embodiment of the present invention provides a method for calculating a free field frequency response value of a speaker, including:
acquiring the radius of a loudspeaker;
determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value;
and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
In a second aspect, an embodiment of the present invention further provides a device for calculating a free field frequency response value of a speaker, including:
the loudspeaker radius obtaining module is used for obtaining the radius of the loudspeaker;
the acoustic frequency determining module is used for determining the acoustic frequency according to the acoustic wave number, the acoustic velocity, the effective vibration radius, the radius and the parameter value;
and the frequency response value determining module of the free field of the loudspeaker is used for determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the method for calculating a free field frequency response value of a speaker according to any one of the embodiments of the present invention.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for calculating the free field frequency response value of a speaker according to any one of the embodiments of the present invention.
The embodiment of the invention provides a method for calculating a free field frequency response value of a loudspeaker, which comprises the following steps:
acquiring the radius of a loudspeaker; determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value; and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency. By adopting the technical means, the purpose of improving the accuracy of the free field frequency response value of the loudspeaker can be realized.
Drawings
Fig. 1a is a schematic flowchart of a method for calculating a frequency response value of a free field of a speaker according to a first embodiment of the present invention;
FIG. 1b is a graph illustrating the frequency response value with ka as a dependent variable according to a first embodiment of the present invention;
fig. 1c is a schematic diagram of a frequency response value difference curve provided in the first embodiment of the present invention;
fig. 1d is a diagram illustrating comparison of results of free field frequency response values of a speaker according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for calculating a free field frequency response value of a speaker according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
Example one
Fig. 1a is a schematic flow chart of a method for calculating a frequency response value of a free field of a speaker according to an embodiment of the present invention, where the method is applicable to a situation of calculating a frequency response value of a free field of a speaker, and the method can be executed by a device for calculating a frequency response value of a free field of a speaker, and the device can be implemented in a software and/or hardware manner and can be integrated in an electronic device, and specifically includes the following steps:
and S110, acquiring the radius of the loudspeaker.
In this embodiment, the radii of the different speakers are different, and the different radii affect the frequency response values of the speakers.
And S120, determining the sound wave frequency according to the sound wave number, the sound velocity of the sound wave, the effective vibration radius, the radius and the parameter value.
Optionally, the determining the acoustic frequency according to the acoustic wave number, the acoustic velocity of the acoustic wave, the effective vibration radius, the radius, and the parameter value is calculated by the following formula:
wherein f is the acoustic frequency, k is the acoustic wave number, a is the effective vibration radius, a1Is the radius, 2 pi is the parameter value.
Optionally, wherein,the resulting value of (b) is a constant value. Specifically, see fig. 1b for a graph illustrating the frequency response value with ka as a dependent variable.
And S130, determining a frequency response value of the free field of the loudspeaker according to the sound wave frequency.
Optionally, the determining, according to the sound wave frequency, a frequency response value of the free field of the speaker includes:
determining a frequency response value difference according to the sound wave frequency;
and determining the frequency response value of the free field of the loudspeaker according to the frequency response value difference value and the frequency response value of the infinite baffle of the loudspeaker.
In this embodiment, the curve of the frequency response value difference can be seen in fig. 1 b. Specifically, a frequency response value difference diagram can be determined in fig. 1c according to the frequency of the sound wave. Further, the frequency response value difference is obtained by finite element analysis of the free field of the loudspeaker with different radii and the infinite baffle plate along with the change of the sound wave frequency. In this embodiment, the frequency response value difference may be denoted as Δ spl (f).
The frequency response value of the free field of the loudspeaker is recorded as SPLFree fieldThe frequency response value of the infinite baffle of the loudspeaker is recorded as SPLBaffle plateThen SPLFree field=SPLBaffle plateΔ SPL (f). In particular, see fig. 1d for a comparison diagram of the results of free field frequency response of a speaker.
The embodiment of the invention provides a method for calculating a free field frequency response value of a loudspeaker, which comprises the following steps: acquiring the radius of a loudspeaker; determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value; and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency. By adopting the technical means, the purpose of improving the accuracy of the free field frequency response value of the loudspeaker can be realized.
Example two
Fig. 2 is a schematic structural diagram of a device for calculating a free field frequency response value of a speaker according to a second embodiment of the present invention. The device for calculating the free field frequency response value of the loudspeaker, provided by the embodiment of the invention, can execute the method for calculating the free field frequency response value of the loudspeaker, provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 2, the apparatus includes:
a speaker radius obtaining module 210, configured to obtain a speaker radius;
a sound wave frequency determining module 220, configured to determine a sound wave frequency according to the sound wave number, the sound velocity of the sound wave, the effective vibration radius, the radius, and the parameter value;
and a speaker free field frequency response value determining module 230, configured to determine a frequency response value of the speaker free field according to the sound wave frequency.
Optionally, the acoustic frequency determining module 220 is configured to calculate by the following formula:
wherein f is the acoustic frequency, k is the acoustic wave number, a is the effective vibration radius, a1Is the radius, 2 pi is the parameter value.
Optionally, the module 230 for determining a frequency response value of a free field of the speaker is configured to:
determining a frequency response value difference according to the sound wave frequency;
and determining the frequency response value of the free field of the loudspeaker according to the frequency response value difference value and the frequency response value of the infinite baffle of the loudspeaker.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention, and fig. 3 is a schematic structural diagram of an exemplary device suitable for implementing the embodiment of the present invention. The device 12 shown in fig. 3 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 3, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
The processing unit 16 executes various functional applications and data processing by running a program stored in the system memory 28, for example, implementing a speaker free field frequency response value calculation method provided by the embodiment of the present invention, including:
acquiring the radius of a loudspeaker;
determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value;
and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
Example four
A fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program, when executed by a processor, can implement a method for calculating a free-field frequency response value of a speaker according to any of the embodiments described above, and the method includes:
acquiring the radius of a loudspeaker;
determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value;
and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, 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), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code 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).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A speaker frequency response numerical calculation method is characterized by comprising the following steps:
acquiring the radius of a loudspeaker;
determining the sound wave frequency according to the sound wave number, the sound wave speed, the effective vibration radius, the radius and the parameter value;
and determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
2. The method of claim 1, wherein said determining the acoustic frequency from the acoustic wavenumber, acoustic speed, effective vibration radius, said radius, and the parameter value is calculated by the formula:
wherein f is the acoustic frequency, k is the acoustic wave number, a is the effective vibration radius, a1Is the radius, 2 pi is the parameter value.
4. The method of claim 1, wherein said determining a frequency response value of said speaker free-field from said sonic frequency comprises:
determining a frequency response value difference according to the sound wave frequency;
and determining the frequency response value of the free field of the loudspeaker according to the frequency response value difference value and the frequency response value of the infinite baffle of the loudspeaker.
5. A speaker frequency response value calculation apparatus, comprising:
the loudspeaker radius obtaining module is used for obtaining the radius of the loudspeaker;
the acoustic frequency determining module is used for determining the acoustic frequency according to the acoustic wave number, the acoustic velocity, the effective vibration radius, the radius and the parameter value;
and the frequency response value determining module of the free field of the loudspeaker is used for determining the frequency response value of the free field of the loudspeaker according to the sound wave frequency.
8. The apparatus of claim 5, wherein the frequency response value determining module is configured to:
determining a frequency response value difference according to the sound wave frequency;
and determining the frequency response value of the free field of the loudspeaker according to the frequency response value difference value and the frequency response value of the infinite baffle of the loudspeaker.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for calculating the free-field frequency response of a loudspeaker according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for calculating a loudspeaker free-field frequency response value according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011458212.6A CN112565979B (en) | 2020-12-10 | 2020-12-10 | Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011458212.6A CN112565979B (en) | 2020-12-10 | 2020-12-10 | Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112565979A true CN112565979A (en) | 2021-03-26 |
CN112565979B CN112565979B (en) | 2022-10-04 |
Family
ID=75062025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011458212.6A Active CN112565979B (en) | 2020-12-10 | 2020-12-10 | Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112565979B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101567998A (en) * | 2008-04-25 | 2009-10-28 | 深圳Tcl新技术有限公司 | Method for regulating tone and panel television |
CN204014064U (en) * | 2014-06-28 | 2014-12-10 | 歌尔声学股份有限公司 | A kind of Sound Attenuator |
WO2017077534A1 (en) * | 2015-11-02 | 2017-05-11 | Samsung Electronics Co., Ltd | Method and system for measurement of ambience parameters using audio signals |
CN107484069A (en) * | 2017-06-30 | 2017-12-15 | 歌尔丹拿音响有限公司 | The determination method and device of loudspeaker present position, loudspeaker |
CN108430003A (en) * | 2018-03-30 | 2018-08-21 | 广东欧珀移动通信有限公司 | Audio compensation method and device, readable storage medium storing program for executing, terminal |
CN110913325A (en) * | 2019-11-26 | 2020-03-24 | 科大讯飞股份有限公司 | Automatic tuning method, related device and readable storage medium |
-
2020
- 2020-12-10 CN CN202011458212.6A patent/CN112565979B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101567998A (en) * | 2008-04-25 | 2009-10-28 | 深圳Tcl新技术有限公司 | Method for regulating tone and panel television |
CN204014064U (en) * | 2014-06-28 | 2014-12-10 | 歌尔声学股份有限公司 | A kind of Sound Attenuator |
WO2017077534A1 (en) * | 2015-11-02 | 2017-05-11 | Samsung Electronics Co., Ltd | Method and system for measurement of ambience parameters using audio signals |
CN107484069A (en) * | 2017-06-30 | 2017-12-15 | 歌尔丹拿音响有限公司 | The determination method and device of loudspeaker present position, loudspeaker |
CN108430003A (en) * | 2018-03-30 | 2018-08-21 | 广东欧珀移动通信有限公司 | Audio compensation method and device, readable storage medium storing program for executing, terminal |
CN110913325A (en) * | 2019-11-26 | 2020-03-24 | 科大讯飞股份有限公司 | Automatic tuning method, related device and readable storage medium |
Non-Patent Citations (4)
Title |
---|
吴鸣等: "相干平均法测扬声器频率响应的偏差分析", 《南京大学学报(自然科学版)》 * |
孙广荣等: "非无限大障板对扬声器测试的影响", 《电声技术》 * |
王以真: "《扬声器探索工艺、设计、应用》", 30 June 2014 * |
王昌井: "《环境噪声控制论文集》", 30 September 1990 * |
Also Published As
Publication number | Publication date |
---|---|
CN112565979B (en) | 2022-10-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112634904B (en) | Hotword recognition method, device, medium and electronic equipment | |
CN114710173B (en) | Interference signal filtering method and device, electronic equipment and storage medium | |
CN112492207A (en) | Method and device for controlling rotation of camera based on sound source positioning | |
CN110825802A (en) | Multi-type database data backup method, device, equipment and storage medium | |
CN112951263B (en) | Speech enhancement method, apparatus, device and storage medium | |
CN112000491B (en) | Application program interface calling method, device, equipment and storage medium | |
CN112954056B (en) | Method and device for processing monitoring data, electronic equipment and storage medium | |
CN112565979B (en) | Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium | |
US10825463B2 (en) | Electronic device and method for controling the electronic device thereof | |
CN108399128A (en) | A kind of generation method of user data, device, server and storage medium | |
KR20210025348A (en) | Electronic device and Method for controlling the electronic device thereof | |
US12094481B2 (en) | ADL-UFE: all deep learning unified front-end system | |
CN111755021A (en) | Speech enhancement method and device based on binary microphone array | |
CN109189332A (en) | A kind of disk hanging method, device, server and storage medium | |
CN111683331B (en) | Audio calibration method and device | |
CN114827865A (en) | Frequency response curve detection method, device, equipment and storage medium of audio equipment | |
US20240119920A1 (en) | Audio processing method, audio processing apparatus and device | |
US9921887B2 (en) | Accomodating synchronous operations in an asynchronous system | |
CN110602162A (en) | Terminal evidence obtaining method, device, equipment and storage medium | |
CN112416911B (en) | Sample data acquisition method, device, equipment and storage medium | |
CN111145776B (en) | Audio processing method and device | |
CN113593619B (en) | Method, apparatus, device and medium for recording audio | |
CN111741422B (en) | Neck-wearing earphone audio calibration method and device | |
CN111145792B (en) | Audio processing method and device | |
CN115714945A (en) | Earphone noise reduction 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |