Acoustic performance compensation method and device, microphone, electronic equipment and storage medium
By establishing a correspondence table between dust concentration and acoustic compensation value and performing dynamic gain compensation, the problem of reduced sound quality after dust accumulation in the microphone was solved, achieving stable sound quality output of the microphone in different environments, extending product life and reducing maintenance costs.
Patent Information
- Application Number
- CN202511824594.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-04
- Publication Date
- 2026-02-06
AI Technical Summary
Existing technology cannot effectively restore the original electroacoustic performance of a microphone after it has accumulated dust, making it difficult for users to obtain a stable and high-quality audio experience throughout the product's entire life cycle.
By acquiring the acoustic energy values of the microphone under different dust concentrations, a correspondence table between dust concentration and acoustic compensation value is established. During the microphone's operation, the dust concentration is dynamically monitored and gain compensation is performed to ensure consistent sound quality.
After prolonged use and dust accumulation, the microphone can be restored to near-factory quality without disassembly and cleaning, extending the product's acoustic lifespan and reducing maintenance costs.
Smart Images

Figure CN121486730A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of microphone technology, specifically to an acoustic performance compensation method, device, microphone, electronic device, and storage medium. Background Technology
[0002] The sound quality of a wireless microphone is highly dependent on the acoustic system, which is precisely calibrated at the factory. However, in practical applications, the microphone's microphone grille often accumulates dust, leading to a significant decrease in acoustic performance and problems such as muffled sound and insufficient clarity.
[0003] The current mainstream solution to this problem is to guide users to manually clean the microphone grille, i.e., disassemble the grille for washing or blowing. However, this method has a fundamental flaw: the microphone grille and pop filter together form a precise acoustic cavity, and their initial fit determines the final acoustic profile. After disassembly and cleaning, users can hardly restore this precise fit perfectly by hand, resulting in irreversible degradation of the microphone's acoustic performance after reassembly, making it impossible to return to factory standards.
[0004] Therefore, existing technologies rely entirely on physical cleaning methods and cannot provide an intelligent correction solution that can effectively restore the microphone's original electroacoustic performance after dust accumulation. This makes it difficult for users to obtain a consistently high-quality audio recording experience throughout the product's entire lifecycle. Summary of the Invention
[0005] In view of the above, it is necessary to propose an acoustic performance compensation method, device, microphone, electronic device and storage medium to solve the technical problem that the existing technology relies entirely on physical cleaning and cannot provide an intelligent correction scheme that can effectively restore the original electroacoustic performance of the microphone after dust accumulation, making it difficult for users to obtain a stable and high-quality sound reception experience throughout the entire product life cycle.
[0006] In a first aspect, this application provides an acoustic performance compensation method applied to a microphone. The method includes: acquiring a reference acoustic energy value of the microphone under a standard operating environment, and acquiring attenuated acoustic energy values of the microphone under multiple preset dust concentration environments; determining an acoustic compensation value for each preset dust concentration based on the reference acoustic energy value and the attenuated acoustic energy value, and establishing a correspondence table between the preset dust concentration and the acoustic compensation value; monitoring the actual dust concentration of the current environment during microphone operation, and querying the correspondence table according to the actual dust concentration to obtain the corresponding acoustic compensation value; and performing gain compensation on the audio signal acquired by the microphone based on the acoustic compensation value corresponding to the actual dust concentration.
[0007] The acoustic performance compensation method in this application embodiment first obtains the baseline acoustic energy value of the microphone under standard operating conditions, and then obtains the attenuated acoustic energy value of the microphone under multiple preset dust concentration environments. Further, based on the baseline acoustic energy value and the attenuated acoustic energy value, an acoustic compensation value is determined for each preset dust concentration, and a correspondence table between the preset dust concentration and the acoustic compensation value is established. Further, during the microphone's operation, the actual dust concentration of the current environment is monitored, and the corresponding acoustic compensation value is obtained by querying the correspondence table based on the actual dust concentration. Finally, gain compensation is performed on the audio signal acquired by the microphone based on the acoustic compensation value corresponding to the actual dust concentration. Based on this, this application ensures that the output sound quality of the microphone in different dust concentration environments (e.g., the Loess Plateau, tropical rainforest) remains consistent with the calibration performance under factory conditions, ensuring scene-independent reliability of professional sound quality. Through dynamic software compensation, after long-term use and dust accumulation, the sound quality can be restored to near factory levels without user disassembly and cleaning, fundamentally extending the effective acoustic lifespan of the product, avoiding irreversible sound quality degradation and equipment damage, and reducing long-term maintenance costs for users.
[0008] In some embodiments of this application, the specific steps for obtaining the attenuated acoustic energy value of the microphone under multiple preset dust concentration environments include: simulating different dust concentrations in a laboratory, and controlling a preset sound source to emit a preset test audio signal under the different dust concentrations; acquiring the test audio signal after environmental attenuation through the microphone, and converting the test audio signal into a test electrical signal; performing Fourier transform processing on the test electrical signal to calculate the signal energy at each frequency point; and averaging the signal energy at all frequency points to obtain the attenuated acoustic energy value.
[0009] In some embodiments of this application, the specific steps for calculating the signal energy of each frequency point include: obtaining the signal amplitude of each frequency point; and calculating the signal energy of each frequency point based on the signal amplitude of each frequency point.
[0010] In some embodiments of this application, the test audio signal is a stepped sweep frequency signal, and the frequency range of the stepped sweep frequency signal is one-twelfth of a preset frequency range octave.
[0011] In some embodiments of this application, the preset frequency range is 200Hz~8000Hz.
[0012] In some embodiments of this application, the method further includes: using multiple experimental microphones to perform repeated tests at the multiple preset dust concentrations to verify the correspondence table.
[0013] Secondly, this application also provides an acoustic performance compensation device for a microphone. The device includes: an acquisition module for acquiring a reference acoustic energy value of the microphone under standard operating conditions and acquiring attenuated acoustic energy values of the microphone under multiple preset dust concentrations; an establishment module for determining an acoustic compensation value at each preset dust concentration based on the reference acoustic energy value and the attenuated acoustic energy value, and establishing a correspondence table between the preset dust concentration and the acoustic compensation value; a detection module for monitoring the actual dust concentration of the current environment during microphone operation and querying the correspondence table based on the actual dust concentration to obtain the corresponding acoustic compensation value; and a compensation module for performing gain compensation on the audio signal acquired by the microphone based on the acoustic compensation value corresponding to the actual dust concentration.
[0014] Thirdly, this application also provides a microphone, the microphone comprising: a dust concentration sensor for monitoring the actual dust concentration in the current environment; and an electronic device communicatively connected to the dust concentration sensor for performing the acoustic performance compensation method described in the above embodiments.
[0015] Fourthly, this application also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the acoustic performance compensation method described in the above embodiments.
[0016] Fifthly, this application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the acoustic performance compensation method described in the above embodiments.
[0017] Understandably, the acoustic performance compensation device of the second aspect, the microphone of the third aspect, the electronic device of the fourth aspect, and the computer-readable storage medium of the fifth aspect all correspond to the acoustic performance compensation method of the first aspect. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding acoustic performance compensation methods provided above, and will not be repeated here. Attached Figure Description
[0018] Figure 1 This is a schematic flowchart of an acoustic performance compensation method provided in an embodiment of this application.
[0019] Figure 2 This is a schematic diagram of the composition of a microphone provided in one embodiment of this application.
[0020] Figure 3 This is a frequency response curve of a microphone provided in an embodiment of this application before acoustic performance compensation.
[0021] Figure 4 This is a frequency response curve of a microphone provided in an embodiment of this application after acoustic performance compensation.
[0022] Figure 5 This is a schematic diagram of the functional modules of an acoustic performance compensation device provided in an embodiment of this application.
[0023] Component Symbol Explanation Microphone 1 Electronic devices 10 Memory 11 Processor 12 Dust concentration sensor 20 Acoustic performance compensation device 100 Get Module 110 Module 120 Detection module 130 Compensation Module 140 The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation
[0024] To make the technical problems, technical solutions, and beneficial effects solved by this application clearer, the following detailed description is provided in conjunction with embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0025] To provide a clearer understanding of the embodiments of the present invention, the invention will be described in detail below with reference to the accompanying drawings and specific examples. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0026] Please see Figure 1 This is a flowchart illustrating an acoustic performance compensation method provided in an embodiment of this application.
[0027] The acoustic performance compensation method of this application embodiment can be applied to... Figure 2 The microphone 1 shown includes an electronic device 10 and a dust concentration sensor 20, with the electronic device 10 communicatively connected to the dust concentration sensor 20. The dust concentration sensor 20 is used to monitor the actual dust concentration in the current environment. The electronic device 10 is used to perform the acoustic performance compensation method described in the following embodiments.
[0028] In some embodiments of this application, the dust concentration sensor 20 is disposed at the working surface of the microphone head of the microphone 1, and is used to directly monitor the actual dust concentration of the current environment in which the acoustic front end of the microphone 1 is located.
[0029] In some embodiments of this application, the electronic device 10 can be a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. Its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0030] Specifically, the acoustic performance compensation method includes the following steps. Depending on different needs, the order of some steps in the flowchart can be changed, and some steps can be omitted.
[0031] S10: Obtain the baseline acoustic energy value of the microphone under standard operating conditions, and obtain the attenuated acoustic energy value of the microphone under multiple preset dust concentration environments.
[0032] Here, microphone 1 refers to the microphone 1 selected from the same batch or model during production and R&D, whose performance parameters (such as sensitivity and frequency response) are closest to the theoretical design values. It is also called the "golden prototype" or "standard reference machine", and is commonly known as the "golden machine".
[0033] The standard operating environment typically refers to a rigorously defined and reproducible factory environment used in the research, development, testing, and calibration of microphone 1, designed to simulate the operating conditions of microphone 1 under normal, typical, and good conditions.
[0034] Specifically, microphone 1 is placed in a standard operating environment, and a preset sound source is controlled to generate a known and stable reference sound signal (e.g., a pure tone of 1kHz and 94dB). Microphone 1 receives the reference sound signal and converts it into a standard electrical signal. The acoustic energy of the standard electrical signal (which can be expressed as the signal amplitude of a specific frequency band) is recorded by an audio analyzer. This reference acoustic energy value represents the original performance benchmark of microphone 1 when it is not affected by dust degradation.
[0035] In some embodiments of this application, the specific steps for obtaining the attenuated acoustic energy value of microphone 1 under multiple preset dust concentration environments include: simulating different dust concentrations in a laboratory, and controlling a preset sound source to emit a preset test audio signal under different dust concentrations; acquiring the test audio signal after environmental attenuation through microphone 1, and converting the test audio signal into a test electrical signal; performing Fourier transform processing on the test electrical signal to calculate the signal energy at each frequency point; and averaging the signal energy at all frequency points to obtain the attenuated acoustic energy value.
[0036] In some embodiments of this application, the specific steps for calculating the signal energy at each frequency point include: obtaining the signal amplitude at each frequency point; and calculating the signal energy at each frequency point based on the signal amplitude at each frequency point.
[0037] In some embodiments of this application, the test audio signal is a stepped sweep frequency signal, and the frequency range of the stepped sweep frequency signal is one-twelfth of a preset frequency range octave.
[0038] In some embodiments of this application, the preset frequency range is 200Hz~8000Hz.
[0039] Specifically, in a laboratory setting (an environmental test chamber equipped with a dust generator), a series of known and stable dust concentration gradients (e.g., dust concentrations of 0%, 10%, ... 90%) were precisely generated and maintained using the dust generator, creating multiple defined and reproducible "dust accumulation states" for microphone 1. At each dust concentration, a stepped frequency sweep signal of 200–8000 Hz (because the frequency of animal vocalizations is in the range of 200–8000 Hz) was played to microphone 1 using a preset sound source (e.g., a simulated artificial mouth).
[0040] Furthermore, microphone 1, placed in the laboratory, collects test audio signals that have been attenuated and modified by the current dusty environment, and converts the collected test audio signals into test electrical signals, which are then transmitted to electronic device 10 via wired or wireless means. Electronic device 10 performs a Fourier transform (FFT) on the test electrical signals to obtain the signal energy (amplitude) at each discrete frequency point.
[0041] Furthermore, in order to align with human hearing characteristics and acoustic analysis standards, the spectrum is resampled and averaged using a bandwidth of "one-twelfth octave," which is more scientific than simple linear averaging and yields a smoother, more acoustically meaningful spectral curve.
[0042] Furthermore, at each dust concentration, the signal energy at all frequencies (calculated as the power integral over time) is accumulated and averaged to obtain an average acoustic energy value representing the overall performance under different dust concentrations, namely the attenuated acoustic energy value.
[0043] Repeat the above steps to obtain a complete data series from "standard operating environment" to "multiple dust concentration environments" to obtain the attenuated acoustic energy values of microphone 1 in multiple dust concentration environments.
[0044] S20: Based on the reference acoustic energy value and the attenuated acoustic energy value, determine the acoustic compensation value at each preset dust concentration, and establish a correspondence table between the preset dust concentration and the acoustic compensation value.
[0045] In some embodiments of this application, the acoustic compensation value = reference acoustic energy value - attenuated acoustic energy value, and a correspondence table is established between the acoustic compensation value of each frequency point and the preset dust concentration, and stored in the electronic device 10.
[0046] In some embodiments of this application, multiple experimental microphones 1 are used to conduct repeated tests at multiple preset dust concentrations to verify the corresponding relationship table.
[0047] S30: During microphone operation, monitor the actual dust concentration in the current environment and obtain the corresponding acoustic compensation value by querying the corresponding relationship table based on the actual dust concentration.
[0048] Here, microphone 1 refers to microphone 1 of the same model or batch as "Jinji" or "Jinji". Electronic device 10 monitors the actual dust concentration of the current environment through dust concentration sensor 20, and then obtains the corresponding acoustic compensation value by querying the corresponding relationship table based on the actual dust concentration.
[0049] S40: Gain compensation is performed on the audio signal acquired by the microphone based on the acoustic compensation value corresponding to the actual dust concentration.
[0050] In some embodiments of this application, the electronic device 10 performs gain compensation on the audio signal collected by the microphone 1 based on the acoustic compensation value corresponding to the actual dust concentration, so as to ensure the consistency of the acoustic effect of the microphone 1 under various dust concentration environments.
[0051] In some embodiments of this application, microphone 1 is taken as an example of a "golden device," and specific details can be found in [reference needed]. Figure 3 and Figure 4 To intuitively understand the compensation effect of the acoustic performance compensation method of this application, L1 is the frequency response test curve of "Jinji" under standard use environment, L2 is the frequency response test curve of "Jinji" under actual use environment with 10% dust concentration before adopting the acoustic performance compensation method of this application, and L3 is the frequency response test curve of "Jinji" under actual use environment with 10% dust concentration after adopting the acoustic performance compensation method of this application.
[0052] Specifically, Figure 3 The frequency response curves corresponding to L1 and L2 show poor consistency, while Figure 4 The frequency response curves corresponding to L1 and L3 show good consistency, indicating that by using the acoustic performance compensation method of this application, the output sound quality of microphone 1 under different dust concentration environments can be consistent with the calibration performance under standard operating conditions.
[0053] The acoustic performance compensation method provided in this application first obtains the reference acoustic energy value of microphone 1 under standard operating conditions and the attenuated acoustic energy value of microphone 1 under multiple preset dust concentration environments. Further, based on the reference acoustic energy value and the attenuated acoustic energy value, an acoustic compensation value is determined for each preset dust concentration, and a correspondence table between preset dust concentrations and acoustic compensation values is established. Further, during the operation of microphone 1, the actual dust concentration of the current environment is monitored, and the corresponding acoustic compensation value is obtained by querying the correspondence table based on the actual dust concentration. Finally, gain compensation is performed on the audio signal collected by microphone 1 based on the acoustic compensation value corresponding to the actual dust concentration. Based on this, this application ensures that the output sound quality of microphone 1 in different dust concentration environments (e.g., Loess Plateau, tropical rainforest) remains consistent with the calibration performance under factory conditions, ensuring scene-independent reliability of professional sound quality. Through dynamic software compensation, after long-term use and dust accumulation, the sound quality can be restored to near factory levels without user disassembly and cleaning, fundamentally extending the effective acoustic lifespan of the product, avoiding irreversible sound quality degradation and equipment damage, and reducing long-term maintenance costs for users.
[0054] Please see Figure 5 This is a schematic diagram of the functional modules of the microphone 1 acoustic performance compensation device 100 provided in an embodiment of this application.
[0055] In this embodiment, based on the above... Figure 1 Using the same concept as the microphone 1 acoustic performance compensation method in the illustrated embodiment, this application also provides a microphone 1 acoustic performance compensation device 100, which can be used to perform the above-described microphone 1 acoustic performance compensation method. For ease of explanation, the schematic diagram of the microphone 1 acoustic performance compensation device 100 embodiment only shows the parts related to the embodiments of this application. Those skilled in the art will understand that the illustrated structure does not constitute a limitation on the microphone 1 acoustic performance compensation device 100, and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0056] Specifically, the microphone 1 acoustic performance compensation device 100 provided in this application embodiment includes an acquisition module 110, an establishment module 120, a detection module 130, and a compensation module 140. The acquisition module 110 is used to acquire the reference acoustic energy value of the microphone 1 under a standard operating environment, and to acquire the attenuated acoustic energy value of the microphone 1 under multiple preset dust concentration environments; the establishment module 120 is used to determine the acoustic compensation value under each preset dust concentration based on the reference acoustic energy value and the attenuated acoustic energy value, and to establish a correspondence table between preset dust concentration and acoustic compensation value; the detection module 130 is used to monitor the actual dust concentration of the current environment during the operation of the microphone 1, and to obtain the corresponding acoustic compensation value by querying the correspondence table according to the actual dust concentration; the compensation module 140 is used to perform gain compensation on the audio signal collected by the microphone 1 based on the acoustic compensation value corresponding to the actual dust concentration.
[0057] The acoustic performance compensation device 100 provided in this application first acquires the reference acoustic energy value of microphone 1 under standard operating conditions and the attenuated acoustic energy value of microphone 1 under multiple preset dust concentration environments. Further, based on the reference acoustic energy value and the attenuated acoustic energy value, it determines the acoustic compensation value for each preset dust concentration and establishes a correspondence table between preset dust concentrations and acoustic compensation values. Further, during the operation of microphone 1, it monitors the actual dust concentration of the current environment and obtains the corresponding acoustic compensation value by querying the correspondence table based on the actual dust concentration. Finally, it performs gain compensation on the audio signal collected by microphone 1 based on the acoustic compensation value corresponding to the actual dust concentration. Based on this, this application ensures that the output sound quality of microphone 1 in different dust concentration environments (e.g., Loess Plateau, tropical rainforest) remains consistent with the calibration performance under factory conditions, ensuring scene-independent reliability of professional sound quality. Through dynamic software compensation, after long-term use and dust accumulation, the sound quality can be restored to near factory levels without user disassembly and cleaning, fundamentally extending the effective acoustic lifespan of the product, avoiding irreversible sound quality degradation and equipment damage, and reducing long-term maintenance costs for users.
[0058] Combination Figure 2 As shown, the electronic device 10 provided in this application embodiment includes, but is not limited to, a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12, such as an acoustic performance compensation program. When the computer program is executed by the processor 12, it implements the acoustic performance compensation method as described in the above embodiment.
[0059] Figure 2 Only the electronic device 10 with memory 11 and processor 12 is shown. It will be understood by those skilled in the art that... Figure 2The structure shown does not constitute a limitation on the electronic device 10, and may include fewer or more components than shown, or combine certain components, or have different component arrangements.
[0060] In some embodiments of this application, the electronic device 10 can be communicatively connected to devices such as desktop computers, laptops, handheld computers, and cloud servers.
[0061] In some embodiments of this application, the electronic device 10 can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control device.
[0062] In some embodiments of this application, the electronic device 10 may further include network devices and / or client devices. These network devices include, but are not limited to, a single network server, a server group consisting of multiple network servers, and a cloud server based on cloud computing, consisting of a large number of hosts or network servers.
[0063] In some embodiments of this application, the network where the electronic device 10 is located includes, but is not limited to, the Internet, wide area network, metropolitan area network, local area network, virtual private network (VPN), etc.
[0064] In some embodiments of this application, the memory 11 stores multiple computer-readable instructions to implement an acoustic performance compensation method, and the processor 12 can execute multiple instructions to achieve: obtaining the reference acoustic energy value of the microphone 1 under a standard operating environment, and obtaining the attenuated acoustic energy value of the microphone 1 under multiple preset dust concentration environments; determining the acoustic compensation value under each preset dust concentration based on the reference acoustic energy value and the attenuated acoustic energy value, and establishing a correspondence table between the preset dust concentration and the acoustic compensation value; monitoring the actual dust concentration of the current environment during the operation of the microphone 1, and obtaining the corresponding acoustic compensation value by querying the correspondence table according to the actual dust concentration; and performing gain compensation on the audio signal collected by the microphone 1 based on the acoustic compensation value corresponding to the actual dust concentration.
[0065] Specifically, the processor 12's implementation method for the above instructions can be found in [reference needed]. Figure 1 The descriptions of the relevant steps in the corresponding embodiments are not repeated here.
[0066] Those skilled in the art will understand that the schematic diagram is merely an example of the electronic device 10 and does not constitute a limitation on the electronic device 10. The electronic device 10 can be a bus topology or a star topology. The electronic device 10 may also include more or fewer other hardware or software than shown in the diagram, or different component arrangements. For example, the electronic device 10 may also include input / output devices, network access devices, etc.
[0067] The bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, in... Figure 2 The symbol is represented by only one arrow, but this does not mean that there is only one bus or one type of bus. The bus is configured to implement communication between memory 11 and at least one processor 12, etc.
[0068] It should be noted that electronic device 10 is only an example. Other existing or future electronic products that are suitable for this application should also be included within the scope of protection of this application and are incorporated herein by reference.
[0069] In some embodiments of this application, the processor 12 may be composed of integrated circuits, such as a single packaged integrated circuit or multiple integrated circuits with the same or different functions, including combinations of one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and various control chips. The processor 12 is the control unit of the electronic device 10, connecting various components of the electronic device 10 via various interfaces and lines. It executes programs or modules stored in the memory 11 (e.g., executing an acoustic performance compensation program) and calls data stored in the memory 11 to perform various functions and process data of the electronic device 10.
[0070] The processor 12 executes the operating system of the electronic device 10 and various installed applications. The processor 12 executes these applications to implement the steps described in each of the above embodiments of the acoustic performance compensation method, for example... Figure 1 The steps are shown.
[0071] For example, a computer program may be divided into one or more modules / units, one or more of which are stored in memory 11 and executed by processor 12 to complete this application. One or more modules / units may be a series of computer-readable instruction segments capable of performing a specific function, which describe the execution process of the computer program in electronic device 10.
[0072] The integrated unit implemented as a software functional module described above can be stored in a computer-readable storage medium. The software functional module, stored in a storage medium, includes several instructions to cause an electronic device 10 (which may be a personal computer, electronic device 10, or network device, etc.) or a processor to execute a portion of an acoustic performance compensation method according to various embodiments of this application.
[0073] If the modules / units integrated in the electronic device 10 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware devices. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above.
[0074] Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory, and other types of memory.
[0075] This application also provides a computer-readable storage medium (not shown), which stores computer-readable instructions that are executed by a processor in an electronic device 10 to implement an acoustic performance compensation method of any of the above embodiments.
[0076] Specifically, computer-readable storage media can be non-volatile or volatile. Computer-readable storage media include flash memory, portable hard drives, multimedia cards, card-type memories (e.g., SD memory, DX memory, etc.), magnetic storage, magnetic disks, optical disks, etc. In some embodiments, memory 11 can be an internal storage unit of electronic device 10, such as a portable hard drive of electronic device 10. In other embodiments, memory 11 can also be an external storage device of electronic device 10, such as a plug-in portable hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on electronic device 10. Memory 11 can be used not only to store application software and various types of data installed on electronic device 10, such as the code of an acoustic performance compensation program, but also to temporarily store data that has been output or will be output.
[0077] Furthermore, the computer-readable storage medium may primarily include a stored program area and a stored data area, wherein the stored program area may store the operating system, an application program required for at least one function, etc.; and the stored data area may store data created based on the use of blockchain nodes, etc.
[0078] In the embodiments of this application, it should be noted that, unless otherwise explicitly specified and limited, "multiple" means two or more.
[0079] In the embodiments of this application, it should be noted that, unless otherwise expressly specified and limited, the word "for example" is used to indicate an example, illustration, or description. Any embodiment or design scheme described as "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the word "for example" is intended to present the relevant concepts in a specific manner.
[0080] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection, an electrical connection, or a connection that allows for communication; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0081] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more features.
[0082] In the description of this application, it should be noted that, unless otherwise explicitly specified and limited, "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Furthermore, the character " / " in this application generally indicates that the preceding and following related objects have an "or" relationship.
[0083] Unless otherwise specified, all steps in this application may be performed sequentially or randomly. For example, if a method includes steps A and B, it means that the method may include steps A and B performed sequentially, or it may include steps B and A performed sequentially. For example, if a method may also include step C, it means that step C may be added to the method in any order. For example, the method may include steps A, B, and C, or it may include steps A, C, and B, or it may include steps C, A, and B, etc.
[0084] The above are merely preferred embodiments of this application and are not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
[0085] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and there may be other division methods in actual implementation.
[0086] In the various embodiments of this application, the functional modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional modules.
[0087] Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices described in the specification may also be implemented by a single unit or device through software or hardware.
[0088] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. An acoustic performance compensation method, applied to a microphone, characterized in that, The method includes: Obtain the baseline acoustic energy value of the microphone under standard operating conditions, and obtain the attenuated acoustic energy value of the microphone under multiple preset dust concentration environments; Based on the reference acoustic energy value and the attenuated acoustic energy value, an acoustic compensation value is determined for each preset dust concentration, and a correspondence table between the preset dust concentration and the acoustic compensation value is established. During the operation of the microphone, the actual dust concentration in the current environment is monitored, and the corresponding acoustic compensation value is obtained by querying the corresponding relationship table based on the actual dust concentration. Gain compensation is performed on the audio signal collected by the microphone based on the acoustic compensation value corresponding to the actual dust concentration.
2. The acoustic performance compensation method as described in claim 1, characterized in that, The specific steps for obtaining the attenuated acoustic energy values of the microphone under multiple preset dust concentration environments include: Different dust concentrations were simulated in the laboratory, and a preset sound source was controlled to emit a preset test audio signal under the different dust concentrations. The microphone is used to collect test audio signals that have been attenuated by the environment, and the test audio signals are converted into test electrical signals. Perform Fourier transform processing on the test electrical signal to calculate the signal energy at each frequency point; The signal energy at all frequencies is averaged to obtain the attenuated acoustic energy value.
3. The acoustic performance compensation method as described in claim 2, characterized in that, The specific steps for calculating the signal energy at each frequency point include: Obtain the signal amplitude at each frequency point; Based on the signal amplitude at each frequency point, the signal energy at each frequency point is calculated.
4. The acoustic performance compensation method as described in claim 2, characterized in that, The test audio signal is a stepped sweep frequency signal, and the frequency range of the stepped sweep frequency signal is one-twelfth of a preset frequency range octave.
5. The acoustic performance compensation method as described in claim 4, characterized in that, The preset frequency range is 200Hz~8000Hz.
6. The acoustic performance compensation method as described in claim 1, characterized in that, The method further includes: The corresponding relationship table was verified by repeatedly testing the data at multiple preset dust concentrations using multiple experimental microphones.
7. An acoustic performance compensation device, applied to a microphone, characterized in that, The device includes: The acquisition module is used to acquire the baseline acoustic energy value of the microphone under standard operating conditions, and to acquire the attenuated acoustic energy value of the microphone under multiple preset dust concentration environments. A module is established to determine the acoustic compensation value at each preset dust concentration based on the reference acoustic energy value and the attenuated acoustic energy value, and to establish a correspondence table between the preset dust concentration and the acoustic compensation value. The detection module is used to monitor the actual dust concentration in the current environment during the operation of the microphone, and to obtain the corresponding acoustic compensation value by querying the corresponding relationship table based on the actual dust concentration. The compensation module is used to perform gain compensation on the audio signal collected by the microphone based on the acoustic compensation value corresponding to the actual dust concentration.
8. A microphone, characterized in that, The microphone includes: Dust concentration sensor is used to monitor the actual dust concentration in the current environment; An electronic device, which is communicatively connected to the dust concentration sensor, is used to perform the acoustic performance compensation method as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the acoustic performance compensation method as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the acoustic performance compensation method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Microphone-based temperature drift processing method, system and device, medium and product
CN119922441A
Method and system for compensating for frequency response of microphone
CN119922458A
Multi-modal sensor embedded self-calibration system and real-time compensation method
CN120800463A
Compensation data setting method for dust sensor and air purifier provided with compensation data
JP2003240305A
Determining microphone performance based on ambient sounds
US20200366387A1