Method and system for adaptive equalization for acoustic system
Patent Information
- Application Number
- JP2022108816
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-07-28
- Filing Date
- 2022-07-06
- Publication Date
- 2025-07-14
AI Technical Summary
Existing sound systems, particularly loudspeakers, suffer from limited tuning flexibility and performance due to fixed equalization methods that do not adapt to varying signal energies, leading to inflexible bass performance and potential distortion.
An adaptive equalization method that dynamically adjusts equalization parameters based on detected signal energy, performing dynamic gain calculations to enhance bass performance and minimize distortion across varying signal levels.
The method allows for improved loudspeaker performance by enhancing bass response at low signal levels while maintaining dynamic range and minimizing distortion, providing a more controlled and optimized listening experience.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates generally to the field of audio systems, and more particularly to a method and system for dynamic energy-based adaptive equalization for audio systems. [Background technology]
[0002] Usually, a normal sound system involves two parts: an electronic design and a transducer part. The electronic design is used for the input signal. The input signal is then amplified for use in the transducer by bipolar junction transistor or metal oxide semiconductor field effect transistor technology, which converts the electrical signal into physical air vibrations by electromagnetic conversion. For good sound quality, the system needs to achieve a flat acoustic response between 20Hz and 20kHz. A common method is to achieve this point by filter design. This filter design may be achieved by analog passive design (e.g., RLC circuit) or digital signal filter (e.g., FIR and IIR design). Usually, the flat response may be achieved by applying measurement techniques and design iterations in component selection and filter design.
[0003] Currently, a commonly used method in loudspeaker products is to employ a dynamic range compressor (DRC) or limiter. This method may be used to significantly improve the low frequency response of the input signal, thereby improving the bass performance of the loudspeaker without introducing distortion. In the existing method using DRC, the input signal is usually processed after equalization and then output after passing through the DRC. In this method, the equalization (EQ) is fixed. That is, the input signal is filtered using exactly the same equalizer parameters regardless of the signal energy. Since this fixed EQ cannot be adaptively adjusted, the engineer can only preset a set of EQ parameters for high signal energy and low signal energy cases. This obviously limits the tuning flexibility of the engineer and limits the performance of the loudspeaker.
[0004] To further improve the bass performance of the loudspeaker, one solution is to apply multiple compression ratios to the DRC. Although this solution can achieve better sonic performance at low signal levels, this solution still lacks flexibility regarding the desired center frequency that the engineer is interested in. Moreover, the dynamic range is compressed from the fixed EQ, which is still limited.
[0005] Therefore, an improved technical solution is needed to overcome the limitations of conventional loudspeaker tuning processes using fixed digital filter designs in existing solutions. Summary of the Invention [Means for solving the problem]
[0006] According to one aspect of the present disclosure, an adaptive equalization method for an audio system is provided, which may include detecting an input signal, estimating a signal energy of the input signal, determining a speech signal status based on the estimated signal energy, performing a dynamic gain calculation based on the estimated signal energy and the speech signal status, and adjusting an equalization parameter using the calculated dynamic gain, thereby performing a dynamic equalization process on the input signal.
[0007] According to one or more embodiments, determining the speech signal status based on the estimated signal energy may further include: continuously detecting the estimated signal energy for each frame of the input signal; and comparing the estimated signal energy with an energy threshold. If the estimated signal energy is equal to or greater than the energy threshold, the speech signal status is determined to be a speech signal being played. If the estimated signal energy is less than the energy threshold, a time measurement is started. If the estimated signal energy is again detected to be equal to or greater than the energy threshold before the time measurement ends, the speech signal status is determined to be a speech signal being played; otherwise, the speech signal status is determined to be a speech signal already paused.
[0008] According to one or more embodiments, performing a dynamic gain calculation based on the estimated signal energy and the audio signal status may further include performing a dynamic gain calculation if the audio signal status is determined to be an audio signal being played. If the audio signal status is determined to be an audio signal that is already paused, no dynamic gain calculation is performed, and parameters used for the dynamic gain calculation are initialized when a start of playback of the audio signal is detected.
[0009] According to one or more embodiments, performing the dynamic gain calculation may further include calculating a signal energy difference between the estimated signal energy and the target energy, and determining whether the signal energy difference is within an adjustment range. If the signal energy difference is within the adjustment range, the signal energy difference is smoothed. If the signal energy difference is not within the adjustment range, the signal energy difference is first limited, and then the limited signal energy difference is smoothed. Furthermore, the dynamic gain is calculated based on the smoothed signal energy difference.
[0010] According to one or more embodiments, the method further includes smoothing the calculated dynamic gain.
[0011] According to one or more embodiments, the method may further include performing frequency division filtering of the input signal before estimating the signal energy of the input signal.
[0012] According to one or more embodiments, the method may further include performing a weighted summation process of the leveled dynamic gains according to different frequency ranges, where weights used for the weighted summation process are set according to the different frequency ranges.
[0013] According to one or more embodiments, the method may further include calculating gain factors for equalization of different bands based on the dynamic gain after the weighted sum processing, thereby performing dynamic equalization processing of the input signal.
[0014] According to one or more embodiments, calculating the gain factor may include calculating the gain factor using gain functions corresponding to the different bands.
[0015] According to another aspect of the present disclosure, an adaptive equalization system for a system is provided, the system including a memory and a processor, the memory configured to store computer-executable instructions, and the processor configured to execute the instructions to perform the method described above.
[0016] The present disclosure can be better understood by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which: For example, the present application provides the following: (Item 1) 1. A method of adaptive equalization for an audio system, comprising: Detecting an input signal and estimating a signal energy of the input signal; determining a speech signal status based on the estimated signal energy; and performing a dynamic gain calculation based on the estimated signal energy and the speech signal status; adjusting equalization parameters using the calculated dynamic gain, thereby performing dynamic equalization on the input signal; and The adaptive equalization method includes: (Item 2) determining a speech signal status based on the estimated signal energy; continuously detecting said estimated signal energy for each frame of an input signal; comparing the estimated signal energy to an energy threshold; determining that the audio signal status is a playing audio signal if the estimated signal energy is greater than or equal to the energy threshold; or starting a time measurement if the estimated signal energy is less than the energy threshold; if the estimated signal energy is again detected to be equal to or greater than the energy threshold before the end of the time measurement, determining that the audio signal status is a playing audio signal, otherwise determining that the audio signal status is an already paused audio signal; The method according to the above item, comprising: (Item 3) said performing a dynamic gain calculation based on said estimated signal energy and said audio signal status; performing said dynamic gain calculation when said audio signal status is determined to be an audio signal being played; or not performing the dynamic gain calculation if the audio signal status is determined to be an audio signal that is already paused, and initializing parameters used for the dynamic gain calculation when a start of playback of the audio signal is detected; The method according to any one of the above items, comprising: (Item 4) Calculating the dynamic gain as described above, Calculating a signal energy difference between the estimated signal energy and a target energy; determining whether the signal energy difference is within an adjustment range; smoothing out the signal energy difference if the signal energy difference falls within the adjustment range; or if the signal energy difference is not within the adjustment range, first limiting the signal energy difference, and then smoothing the limited signal energy difference; calculating said dynamic gain based on said smoothed signal energy difference; The method according to any one of the above items, comprising: (Item 5) 13. The method of claim 1, further comprising smoothing the calculated dynamic gain. (Item 6) 13. The method of claim 1, further comprising performing frequency division filtering on the input signal before estimating the signal energy of the input signal. (Item 7) 2. The method of claim 1, further comprising: performing a weighted summation process of the leveled dynamic gain according to different frequency ranges, wherein weights used for the weighted summation process are set according to the different frequency ranges. (Item 8) 2. The method of claim 1, further comprising: calculating gain factors for equalization of different bands based on the dynamic gain after the weighted summation process, thereby performing dynamic equalization processing on the input signal. (Item 9) 13. The method of claim 1, wherein calculating the gain factor comprises calculating the gain factor using gain functions corresponding to different bands. (Item 10) 1. An adaptive equalization system for an audio system, comprising: a memory configured to store computer-executable instructions; A processor configured to execute the computer-executable instructions to perform the method of any one of the preceding items. The adaptive equalization system described above. (Summary) The present disclosure provides a method and system of adaptive equalization for an audio system, the method including: detecting an input signal, estimating a signal energy of the input signal, determining a speech signal status based on the estimated signal energy, performing a dynamic gain calculation based on the estimated signal energy and the speech signal status, and adjusting equalization parameters using the calculated gain, thereby performing a dynamic equalization process on the input signal. [Brief description of the drawings]
[0017] [Figure 1] FIG. 1 is a schematic diagram illustrating a block diagram of a method and system according to one or more embodiments of an implementation of the present disclosure. [Diagram 2] 1 is a schematic block diagram illustrating exemplarily the principles of a signal energy calculation method according to one or more embodiments of the present disclosure; [Diagram 3] 1 is a schematic diagram illustrating an exemplary method for detecting a signal status based on an estimation of the signal energy, according to one or more embodiments of the present disclosure. FIG. [Figure 4] FIG. 13 is an exemplary schematic diagram illustrating a method for performing dynamic gain calculation based on estimated signal energy and further smoothing the calculated gain, according to one or more embodiments of the present disclosure. [Diagram 5] FIG. 1 is a schematic diagram that generally illustrates a method for performing dynamic equalization adjustment based on calculated, leveled gains, in accordance with one or more embodiments of the present disclosure. [Figure 6] 1 is a schematic block diagram illustrating a method and system according to one or more embodiments of another implementation of the present disclosure. [Figure 7] FIG. 1 is a schematic diagram that generally illustrates a method for performing dynamic equalization adjustment based on gain after weighted summation, in accordance with one or more embodiments of the present disclosure. [Figure 8] 1 illustrates generally an adaptive equalization method for an audio system, in accordance with one or more embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] It should be understood that the following detailed description of the embodiments is given for purposes of explanation only, and not limitation. The division of the examples into functional blocks, modules, or units shown in the figures should not be construed as indicating that these functional blocks, modules, or units must be implemented as physically separate units. The illustrated or described functional blocks, modules, or units may be implemented as separate units, circuits, chips, functional blocks, modules, or circuit elements. One or more functional blocks or units may be implemented within a common circuit, chip, circuit element, or unit.
[0019] The use of singular terms (such as, but not limited to, "a") is not intended to limit the number of items. For example, but not limited to, relationship terms such as "top," "bottom," "left," "right," "upper," "lower," "down," "upper," "side," "first," "second," "third," etc., "inlet," "outlet," etc. are used in the written description for clarity with particular reference to the drawings, and are not intended to limit the scope of the disclosure or the appended claims, unless otherwise indicated. The terms "coupled," "coupled," "coupled," "coupled," "connected," and similar terms are used broadly herein and may include any method or device for fixing, adhering, adhering, fastening, attaching, mating, inserting, forming on or within, communicating, or otherwise directly or indirectly, mechanically, electromagnetically, electrically, chemically, and operably associating one or more members with intermediate elements, or may include, but is not limited to, one member integrally formed with another member in an integrated manner. Coupling may occur in any orientation, including rotation. The terms "including" and "such as" are exemplary rather than limiting, and the term "may" means "may, but not necessarily," unless otherwise stated. Although any other language may be used in this disclosure, the embodiments shown in the figures are provided as examples for purposes of illustration and description and are not the only embodiments of the subject matter herein.
[0020] To overcome the deficiencies of existing technical solutions and improve the sound quality of loudspeakers, the present disclosure proposes a solution to actively detect the signal energy in the input signal and dynamically adjust the equalization based on the estimation of the loudness in the time domain. The adaptive equalization method and system for audio systems provided by the present disclosure allows the acoustic engineer to achieve a group of aggressive (e.g., large gain factors) equalization when the input signal is low energy, and a group of gentle (e.g., small gain factors) equalization when the input signal is high energy. Furthermore, the response of the loudspeaker at the target frequency can be significantly and ideally improved while minimizing the loss of dynamic range and sound distortion.
[0021] The method and system of dynamic energy-based adaptive equalization according to various embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Figure 1 shows a schematic block diagram of the principle of the method and system according to one or more embodiments of an embodiment of the present disclosure. For ease of understanding, the present disclosure is described by dividing the main processing steps of the present method and system into multiple modules. Those skilled in the art should understand that the description made by using modules is not for the purpose of limitation, but for the purpose of more clearly describing the present solution.
[0022] FIG. 1 shows a schematic diagram according to one or more embodiments of an implementation of the present disclosure. In one or more embodiments shown in FIG. 1, a method and system for processing a signal in an audio system may mainly include the following parts: an input module 102, a standard fixed equalization module 104, a signal detection and energy calculation module 106, a dynamic gain calculation and leveling module 108, an adaptive equalization module 110, a DRC module 112, and an output module 114. As can be seen from FIG. 1, two-way processing may be performed simultaneously on the input signal. For example, the input signal received from the signal input module 102 may be equalized via the standard fixed equalization module 104, may be processed by the adaptive equalization module 110 that can dynamically adjust the equalization parameters, and may then reach the output module 114 via the DRC 112. Meanwhile, in the signal detection and energy calculation module 106, the input signal received from the input module 102 is detected and the signal energy is calculated. Based on the calculated signal energy, the dynamic gain calculation and leveling module 108 may calculate the dynamic gain. Based on the calculated dynamic gain, the parameters of the adaptive equalization module 110 are dynamically adjusted. In some embodiments, the dynamic gain calculation and equalization module 108 may calculate a dynamic gain based on the calculated signal energy, which may further equalize the calculated dynamic gain. The equalized gain is then used to dynamically adjust the parameters of the adaptive equalization module 110.
[0023] FIG. 2 is a schematic block diagram illustrating the principle of a signal energy calculation method according to one or more embodiments of the present disclosure. FIG. 2 illustrates energy calculations performed on M input source channels in an audio system, where the size of a signal frame may be set to N. Both M and N may be selected according to the requirements of the actual system. As shown in FIG. 2, for example, energy calculations are performed on the audio sample inputs of M channels respectively, and then the calculation results of the M channels are summed to obtain an approximate energy. For each channel, the signal energy of the channel is calculated, for example, by calculating the sum of the squared signal amplitudes for each sample in each frame of the signal (for example, the size of the frame is N) and dividing by N. The signal energies of all channels are thus summed to obtain a final approximate signal energy.
[0024] FIG. 3 is a schematic diagram illustrating an exemplary method for detecting a signal status based on estimating signal energy in one or more embodiments of the present disclosure. For example, in S302, the estimated signal energy for each frame of an input signal is continuously detected. Then, in S304, the estimated signal energy is compared with an energy threshold. In S306, if the estimated signal energy is equal to or greater than the energy threshold, the voice signal status is determined to be a voice signal being played. If the estimated signal energy is less than the energy threshold, this means that the signal may be paused at this moment, or a small signal may occur when the signal is playing. In this case, a more detailed determination is required to avoid erroneously determining that the occurrence of a small signal with low energy during the playback of the signal is paused. In S308, a time measurement is started. The signal detection continues, and in S310, it is determined whether the situation in which the estimated signal energy is equal to or greater than the energy threshold is detected again before the end of the time measurement. If it is detected that the estimated signal energy at a particular time is equal to or greater than the energy threshold before the time measurement is completed, the audio signal status is determined to be an audio signal being played in S312, the time measurement is reset, and signal detection is continued. If the estimated signal energy is always less than the energy threshold from the time the time measurement is started to the time the time measurement is completed, it is considered that the audio signal has already been paused in S314. Signal detection is continued. Through the above-mentioned method, the audio signal status can be determined more accurately.
[0025] FIG. 4 is a schematic diagram illustrating a method for performing dynamic gain calculation based on estimated signal energy and further leveling the calculated gain according to one or more embodiments of the present disclosure. When performing dynamic gain calculation, the determination result of the audio signal status as shown in FIG. 3 needs to be taken into account. If the audio signal status is determined to be an audio signal that is already paused, dynamic gain calculation is not performed. Instead, the parameters used for dynamic gain calculation and leveling are frozen, and when the start of playback of the audio signal is detected, the parameters used for dynamic gain calculation and leveling are initialized. If the audio signal status is determined to be an audio signal that is being played, dynamic gain calculation is performed.
[0026] As shown in FIG. 4, in the case where the audio signal status is determined to be an audio signal being played, the signal energy difference between the estimated signal energy and the target energy is calculated. The signal energy difference may indicate whether the signal energy is increasing, decreasing, or slightly above or below a stable level. For example, the signal energy difference may be in the form of a decibel (dB) difference, which may be leveled and calculated for use in the dynamic gain calculation. This leveling is performed in the dB domain rather than the linear domain. This is because the effect of leveling is not as strong in this case. Furthermore, the leveling parameters may vary according to the playing time of the audio signal. The signal energy may increase or decrease quickly after a pause in the signal. According to the leveling solution of the present disclosure, when the signal is played continuously, the energy difference is not immediately leveled and adjusted according to the change in the signal, and thus some unstable changes are tolerated without introducing distortion. Therefore, a better listening experience may be provided to the listener. Further detailed description will be given below with reference to FIG. 4.
[0027] In some embodiments, after obtaining the energy difference between the estimated energy and the target energy, it is determined whether the signal energy difference is within an adjustment range. The adjustment range may be preset, for example in dB, according to the requirements of the system and practical experience. If the signal energy difference is within the adjustment range, the signal energy difference is leveled. Then, a gain calculation is performed based on the leveled energy difference.
[0028] If signal energy difference is not within adjustment range, signal energy difference is first limited.Then, the limited signal energy difference is leveled.By this method of introducing processing limit, it can avoid the sudden listening experience of the listener due to the very strong adjustment caused by the excessively large signal energy difference.Then, dynamic gain calculation is performed based on the leveled signal energy difference.
[0029] In some embodiments, the calculated gain may be further smoothed, for example by ramping up from the current gain to the calculated gain over a sample block containing multiple samples, which can ensure that there are no sudden jumps in the gain of the output.
[0030] 5 is a schematic diagram illustrating a method for performing dynamic equalization adjustment based on a calculated and leveled dynamic gain according to one or more embodiments of the present disclosure. The leveled dynamic gain may be used in a dynamic equalization module, so that dynamic equalization processing can be performed on an input signal. For example, a dynamic equalization (EQ) module may include several EQ filters implemented through software or hardware. The center frequency of each band in these EQ filters and the effective bandwidth of each band may be selected and designed based on the maximum performance of the loudspeaker and the tuning direction of the acoustic engineer. Meanwhile, the gain element for each band may be calculated by a different function based on the leveled dynamic gain.
[0031] For example, the calculated dynamic gain G may be applied to three dynamic equalization bands. The center frequencies of each band are set to, for example, 50 Hz, 1 kHz, and 10 kHz, and the effective bandwidths are, for example, 10 Hz, 100 Hz, and 2 kHz, respectively. The gain elements are then respectively F 1 (G), F 2 (G) and F 3 (G), where F i ( * ) are different functions of the gain G, which may be linear or nonlinear. Those skilled in the art can understand that the above embodiment is only for explaining the present solution more clearly, and does not specifically limit the number of bands and the number of EQ filters. The EQ of multiple bands may be designed according to actual requirements, for example, EQ_1, EQ_2, ..., EQ_n.
[0032] Fig. 6 is a schematic diagram showing a method and system according to one or more embodiments of another embodiment of the present disclosure. In one or more embodiments shown in Fig. 6, the method and system for processing a signal in an audio system may mainly include the following parts: a signal input module 602, a standard fixed equalization module 604, a signal detection and energy calculation module 606, a dynamic gain calculation and leveling module 608, an adaptive equalization module 610, a DRC module 612, and an output module 614. The working principles of these modules are substantially the same as those shown in Fig. 1. In addition, the method and system shown in Fig. 6 may further include a frequency division filtering module 616 and a weighted summing module 618.
[0033] As can be seen from Fig. 6, two-way processing may be performed simultaneously on the input signal. For example, the input signal received from the signal input module 602 may be equalized through a standard fixed equalization module 604, may be processed by an adaptive equalization module 610 that can dynamically adjust equalization parameters, and may then reach the output module 614 through a DRC 612. Meanwhile, in the frequency division filtering module 616, frequency division filtering may be performed on the input signal. Considering the capabilities and limitations of the loudspeaker, several filter banks implemented through hardware or software may be used in the frequency division filtering module 616 for different frequency ranges. For example, three filter banks may be used for low, middle, and high frequency ranges, respectively. Therefore, the processes of signal detection and energy calculation, as well as the following dynamic gain calculation and equalization, may be performed separately in different frequency ranges, respectively.
[0034] In the signal detection and energy calculation module 606, after frequency division filtering, the input signal received from the frequency division filtering module 616 is detected and the signal energy is calculated. Based on the calculated signal energy, the dynamic gain calculation and equalization module 608 may calculate a dynamic gain. The signal processing performed in the signal detection and energy calculation module 606 and the dynamic gain calculation and equalization module 608 is the same as that performed in the signal detection and energy calculation module 106 and the dynamic gain calculation and equalization module 108 in Fig. 1. Please refer to Figs. 2 to 4 and the related descriptions above for the specific processing methods.
[0035] In the weighted summing module 618, the calculated and smoothed gain may be weighted summed according to different frequency ranges, where the weights used for the weighted summing are set according to different frequency ranges. Then, the adaptive equalization module 610 is dynamically adjusted based on the dynamic gain after the weighted summing, which will be described below with reference to FIG. 7.
[0036] 7 is a schematic diagram illustrating a method for performing dynamic equalization adjustment based on dynamic gain after weighted summation according to one or more embodiments of the present disclosure. The dynamic gain after weighted summation may be used in a dynamic equalization module, so that dynamic equalization processing can be performed on the input signal. For example, the dynamic equalization (EQ) module may include several EQ filters implemented through software or hardware. The center frequency of each band in these EQ filters and the effective bandwidth of each band may be selected and designed based on the maximum performance of the loudspeaker and the tuning direction of the acoustic engineer. Meanwhile, the gain element for each band may be calculated by a different function based on the leveled dynamic gain.
[0037] For example, the dynamic gain G after weighting may be applied to three dynamic equalization bands. The center frequencies of each band are set to 50 Hz, 1 kHz, and 10 kHz, with effective bandwidths of 10 Hz, 100 Hz, and 2 kHz, respectively. The gain elements are then respectively F 1 (G), F 2 (G) and F 3 (G), where F i ( * ) are different functions of the gain G, which may be linear or nonlinear. Those skilled in the art can understand that the above embodiment is only for more clearly illustrating the present solution, and does not specifically limit the number of bands and the number of EQ filters. Multiple bands of EQ may be designed according to actual requirements, for example, EQ_1, EQ_2, ..., EQ_n.
[0038] 8 illustrates a schematic of an adaptive equalization method for an audio system according to one or more embodiments of the present disclosure. As shown in FIG. 8, in S802, an input signal is detected and a signal energy of the input signal is estimated. In S804, a voice signal status is determined based on the estimated signal energy. In S806, a dynamic gain calculation is performed based on the estimated signal energy and the determined voice signal status. In S808, the calculated dynamic gain is used to adjust an equalization parameter, thereby performing a dynamic equalization process on the input signal.
[0039] The method and system provided by the present disclosure further improves the performance of a particular audio system by applying dynamic EQ curves to better match the performance of the transducers in the audio system with a digitally controlled hardware output amplifier. The solution proposed by the present disclosure can be used to provide low frequency extension at low volumes, protect loudspeakers, and preserve dynamic range at high volumes, with more control in these aspects than conventional methods.
[0040] Clause 1. An adaptive equalization method for an audio system, comprising: detecting an input signal; estimating a signal energy of the input signal; determining a voice signal status based on the estimated signal energy; performing a dynamic gain calculation based on the estimated signal energy and the voice signal status; and adjusting equalization parameters using the calculated dynamic gain, thereby performing a dynamic equalization process on the input signal.
[0041] Clause 2. The method of clause 1, wherein determining the speech signal status based on the estimated signal energy includes: continuously detecting the estimated signal energy for each frame of the input signal; comparing the estimated signal energy with an energy threshold; and determining that the speech signal status is a speech signal being played if the estimated signal energy is greater than or equal to the energy threshold; or, if the estimated signal energy is less than the energy threshold, starting a time measurement; and, if the estimated signal energy is again detected to be greater than or equal to the energy threshold before the end of the time measurement, determining that the speech signal status is a speech signal being played; otherwise, determining that the speech signal status is a speech signal that has already been paused.
[0042] Clause 3. A method according to any of the preceding clauses, comprising: performing a dynamic gain calculation based on the estimated signal energy and the audio signal status, if the audio signal status is determined to be an audio signal being played, performing the dynamic gain calculation, or if the audio signal status is determined to be an audio signal that is already paused, not performing the dynamic gain calculation, and initializing parameters used for the dynamic gain calculation when start of playback of the audio signal is detected.
[0043] Clause 4. The method of any of the preceding clauses, wherein performing a dynamic gain calculation includes calculating a signal energy difference between the estimated signal energy and a target energy, determining whether the signal energy difference is within an adjustment range, and if the signal energy difference is within the adjustment range, smoothing the signal energy difference, or if the signal energy difference is not within the adjustment range, first limiting the signal energy difference and then smoothing the limited signal energy difference, and calculating the dynamic gain based on the smoothed signal energy difference.
[0044] Clause 5. The method of any of the preceding clauses, further comprising a charger for charging the battery, the control unit setting different values for charging parameters of the charger based on whether the wearable device is in an on-charging mode or an off-charging mode.
[0045] Clause 6. The method of any of the preceding clauses, further comprising smoothing the calculated dynamic gains.
[0046] Clause 7. The method of any of the preceding clauses, further comprising performing a weighted summation process of the leveled dynamic gain according to different frequency ranges, wherein weights used for the weighted summation process are set according to the different frequency ranges.
[0047] Clause 8. The method of any of the preceding clauses, further comprising calculating gain factors for equalization of different bands based on the dynamic gain after the weighted summation process, thereby performing dynamic equalization processing on the input signal.
[0048] Clause 9. The method of any of the preceding clauses, wherein calculating the gain factor includes calculating the gain factor using gain functions corresponding to different bands.
[0049] Clause 10. An adaptive equalization system for an audio system, comprising: a memory configured to store computer-executable instructions; and a processor configured to execute the computer-executable instructions to perform a method according to any one of the preceding clauses 1 to 9.
[0050] The description of each embodiment is provided for the purpose of illustration and description. The embodiments may be appropriately modified and changed in response to the above description, and these modifications and changes may be obtained by implementing the method. For example, unless otherwise indicated, one or more of the described methods may be implemented by suitable devices and / or combinations of devices. The method may be implemented by executing stored instructions using one or more logic devices (e.g., processors) in combination with one or more additional hardware elements (storage devices, memories, hardware network interfaces / antennas, switches, actuators, clock circuits, etc.). The described methods and related operations may also be performed in various orders, in parallel, and / or simultaneously, different from the order described in this application. The described systems are illustrative in nature and may include additional elements and / or omit elements. The subject matter of the present disclosure includes combinations of the various disclosed systems and configurations, as well as other features, functions, and / or properties, all of which are novel and not obvious.
[0051] The system may include additional or different logic and may be implemented in many different ways. The processor may be implemented as a microprocessor, a microcontroller, an application specific integrated circuit (ASIC), discrete logic, or a combination thereof, and / or other types of circuitry or logic. Similarly, the memory may be DRAM, SRAM, flash memory, or other types of memory. The parameters (e.g., status and thresholds) and other data structures may be stored and managed separately, may be combined into a single memory or database, or may be logically and physically organized in many different ways. Programs and sets of instructions may be parts of a single program, separate programs, or distributed across multiple memories and processors.
[0052] As used in this application, elements or steps recited in the singular form and followed by the word "one / a" shall be understood as not excluding a plurality of the aforementioned elements or steps, unless such exclusion is expressly stated. Furthermore, references to "one embodiment" or "one example" of the present disclosure are not intended to be interpreted as excluding the existence of additional embodiments that also incorporate the recited features. The present invention has been described above with reference to specific embodiments. However, those skilled in the art will understand that various changes and modifications can be made therein without departing from the broader spirit and scope of the invention as set forth in the appended claims.
Claims
1. An adaptive equalization method for an audio system, comprising: detecting an input signal and estimating the signal energy of the input signal; determining an audio signal status based on the estimated signal energy; performing a calculation of a dynamic gain based on the estimated signal energy and the audio signal status; adjusting equalization parameters using the calculated dynamic gain, thereby performing dynamic equalization processing on the input signal. The adaptive equalization method as described above.
2. The determining of the audio signal status based on the estimated signal energy includes: continuously detecting the estimated signal energy for each frame of the input signal; comparing the estimated signal energy with an energy threshold; when the estimated signal energy is greater than or equal to the energy threshold, determining that the audio signal status is a reproduced audio signal; or when the estimated signal energy is less than the energy threshold, starting a time measurement; when it is detected again that the estimated signal energy is greater than or equal to the energy threshold before the time measurement ends, determining that the audio signal status is a reproduced audio signal; otherwise, determining that the audio signal status is a paused audio signal. The method according to Claim 1, including the above steps.
3. The performing of the calculation of the dynamic gain based on the estimated signal energy and the audio signal status includes: when it is determined that the audio signal status is a reproduced audio signal, performing the calculation of the dynamic gain; or when it is determined that the audio signal status is a paused audio signal, not performing the calculation of the dynamic gain, and initializing parameters used for the calculation of the dynamic gain when the start of the reproduction of the audio signal is detected. The method according to Claim 2, including the above steps.
4. The performing of the calculation of the dynamic gain includes: calculating a difference in signal energy between the estimated signal energy and a target energy; determining whether the difference in signal energy is within an adjustment range; When the difference in the signal energy is within the adjustment range, equalizing the difference in the signal energy, or when the difference in the signal energy is not within the adjustment range, first limiting the difference in the signal energy and then equalizing the limited difference in the signal energy, and calculating the dynamic gain based on the equalized difference in the signal energy, The method according to claim 3, comprising.
5. The method according to claim 4, further comprising equalizing the calculated dynamic gain.
6. The method according to claim 1, further comprising performing frequency division filtering on the input signal before estimating the signal energy of the input signal.
7. Performing weighted addition processing of the equalized dynamic gain according to different frequency ranges, wherein the weights used for the weighted addition processing are set according to the different frequency ranges, the method according to claim 6, further comprising performing.
8. After the weighted addition processing, calculating gain elements for equalization of different bands based on the dynamic gain, thereby performing dynamic equalization processing on the input signal, the method according to claim 7, further comprising calculating.
9. The method according to claim 8, wherein calculating the gain elements includes calculating the gain elements using gain functions corresponding to different bands.
10. An adaptive equalization system for an audio system, comprising a memory configured to store computer-executable instructions, and a processor configured to execute the computer-executable instructions so as to perform the method according to any one of claims 1 to 9, the adaptive equalization system.