CN112565979B - 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
- CN112565979B CN112565979B CN202011458212.6A CN202011458212A CN112565979B CN 112565979 B CN112565979 B CN 112565979B CN 202011458212 A CN202011458212 A CN 202011458212A CN 112565979 B CN112565979 B CN 112565979B
- Authority
- CN
- China
- Prior art keywords
- frequency response
- loudspeaker
- frequency
- response value
- radius
- 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
Links
- 230000004044 response Effects 0.000 title claims abstract description 82
- 238000004364 calculation method Methods 0.000 title claims description 6
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000004590 computer program Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 9
- 230000003287 optical effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000001419 dependent effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012938 design process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- 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: obtaining 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:
obtaining 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:
obtaining 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 achieved.
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 a 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 speaker free field frequency response value calculating apparatus 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 to be construed as limiting 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 flowchart 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, obtaining 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, a 1 Is 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. 1b. 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 SPL Free field The frequency response value of the infinite baffle of the loudspeaker is recorded as SPL Baffle plate Then SPL Free field =SPL Baffle plate Δ SPL (f). Specifically, see a comparison diagram of the free field frequency response value of the speaker shown in fig. 1 d.
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 frequency response value of the free field of the loudspeaker, provided by the embodiment of the invention, can execute the method for calculating the frequency response value of the free field 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;
the acoustic wave frequency determining module 220 is configured to determine an acoustic wave frequency according to the acoustic wave number, the acoustic wave speed, 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, a 1 Is 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 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:
obtaining 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 present invention may take the form of 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 any of a variety of 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 description is only exemplary of the invention and that the principles of the technology may be employed. Those skilled in the art will appreciate that the present invention is not limited to the particular embodiments described herein, and that various obvious changes, rearrangements and substitutions will now be 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 (4)
1. A speaker frequency response numerical calculation method is characterized by comprising the following steps:
obtaining 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;
determining a frequency response value of the free field of the loudspeaker according to the sound wave frequency;
determining a frequency response value of the free field of the loudspeaker according to the sound wave frequency comprises the following steps:
determining a frequency response value difference according to the sound wave frequency;
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;
wherein, according to the wave number of the sound wave, the sound velocity of the sound wave, the effective vibration radius, the radius and the parameter value, the sound wave frequency is determined to be calculated by the following formula:
wherein f is the acoustic frequency, k is the acoustic wave number, a is the effective vibration radius, a 1 Is radius, 2 pi is parameter value;
2. A speaker frequency response value calculation apparatus, comprising:
the loudspeaker radius acquisition module is used for acquiring 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;
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;
the frequency response value determining module of the loudspeaker free field is used for:
determining a frequency response value difference according to the sound wave frequency;
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;
wherein, the acoustic frequency determination module is used for calculating by the following formula:
wherein f is the acoustic frequency, k is the acoustic wave number, a is the effective vibration radius, a 1 Is radius, 2 pi is parameter value;
3. 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 of calculating a loudspeaker free field frequency response value as claimed in claim 1 when executing the program.
4. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of calculating a loudspeaker free field frequency response value as claimed in claim 1.
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 CN112565979A (en) | 2021-03-26 |
CN112565979B true 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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101567998A (en) * | 2008-04-25 | 2009-10-28 | 深圳Tcl新技术有限公司 | Method for regulating tone and panel television |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204014064U (en) * | 2014-06-28 | 2014-12-10 | 歌尔声学股份有限公司 | A kind of Sound Attenuator |
-
2020
- 2020-12-10 CN CN202011458212.6A patent/CN112565979B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101567998A (en) * | 2008-04-25 | 2009-10-28 | 深圳Tcl新技术有限公司 | Method for regulating tone and panel television |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112565979A (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111198859B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
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 | |
CN112000491B (en) | Application program interface calling method, device, equipment and storage medium | |
CN112565979B (en) | Speaker frequency response numerical value calculation method and device, electronic equipment and storage medium | |
EP3672212A1 (en) | Method for acoustic echo cancellation and electronic device implementing the same | |
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 | |
CN112379967B (en) | Simulator detection method, device, equipment and medium | |
CN114827865A (en) | Frequency response curve detection method, device, equipment and storage medium of audio equipment | |
US9921887B2 (en) | Accomodating synchronous operations in an asynchronous system | |
US20240119920A1 (en) | Audio processing method, audio processing apparatus and device | |
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 | |
CN112039494B (en) | Low-pass filtering method, device, equipment and medium for overcoming azimuth zero crossing | |
CN111145792B (en) | Audio processing method and device | |
CN118342336B (en) | Machine tool cutter wear monitoring method, device, equipment and storage medium | |
CN111741422B (en) | Neck-wearing earphone audio calibration method and device | |
CN113593619B (en) | Method, apparatus, device and medium for recording audio | |
CN111145793B (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 |