Nothing Special   »   [go: up one dir, main page]

CN111796791A - Bass enhancement method, system, electronic device and storage medium - Google Patents

Bass enhancement method, system, electronic device and storage medium Download PDF

Info

Publication number
CN111796791A
CN111796791A CN202010536876.3A CN202010536876A CN111796791A CN 111796791 A CN111796791 A CN 111796791A CN 202010536876 A CN202010536876 A CN 202010536876A CN 111796791 A CN111796791 A CN 111796791A
Authority
CN
China
Prior art keywords
signal
loudspeaker
parameters
nonlinear
bass enhancement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010536876.3A
Other languages
Chinese (zh)
Inventor
蓝睿智
吴锐兴
叶利剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
AAC Technologies Pte Ltd
Original Assignee
AAC Technologies Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by AAC Technologies Pte Ltd filed Critical AAC Technologies Pte Ltd
Priority to CN202010536876.3A priority Critical patent/CN111796791A/en
Priority to PCT/CN2020/096692 priority patent/WO2021248526A1/en
Publication of CN111796791A publication Critical patent/CN111796791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The invention provides a bass enhancement method, a system, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring an input original audio signal, and generating a bass enhancement signal of the original audio signal; acquiring nonlinear parameters of a loudspeaker; and carrying out nonlinear predistortion treatment on the bass enhanced signal according to the nonlinear parameters of the loudspeaker to obtain an output signal, wherein the output signal is output by the loudspeaker. The bass enhancement method can reduce the nonlinear distortion in the bass enhancement processing and obviously improve the effect of virtual bass.

Description

Bass enhancement method, system, electronic device and storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of speaker technology, and in particular, to a bass enhancement method, system, electronic device, and storage medium.
[ background of the invention ]
The use of audio output devices including speakers has become commonplace, such as televisions, stereos, computers, smart phones, headsets, and the like. In general, an audio speaker is an electroacoustic transducer that generates sound in response to an electrical audio signal input.
In order to increase or enhance the playing effect and improve the output of low-frequency sound, the playing device may be provided with a bass boost function. The general method is to perform frequency division processing on an audio signal to obtain a high-frequency signal and a low-frequency signal, and then add harmonics to the low-frequency signal to enhance bass. And finally, superposing the high-frequency information and the harmonic signals after bass enhancement to obtain bass enhancement signals corresponding to the original audio signals.
However, the actual speaker is affected by various factors, which may cause the added harmonic component to deviate from the designed harmonic ratio to different degrees, resulting in poor bass enhancement effect.
[ summary of the invention ]
In view of the above, it is necessary to provide a bass enhancement method, system, electronic device and storage medium for solving the problem that the above-mentioned speaker is affected by various factors and the bass enhancement effect is not good.
The technical scheme of the invention is as follows:
in one aspect, a bass enhancement method is provided, including:
acquiring an input original audio signal, and generating a bass enhancement signal of the original audio signal;
acquiring nonlinear parameters of a loudspeaker;
and carrying out nonlinear predistortion treatment on the bass enhanced signal according to the nonlinear parameters of the loudspeaker to obtain an output signal, and outputting the output signal by the loudspeaker.
Optionally, the generating the bass enhanced signal of the original audio signal includes:
generating an adjusted low-frequency signal according to a low-frequency signal in the original audio signal;
and acquiring a high-frequency signal in the original audio signal, and superposing the adjusted low-frequency signal and the high-frequency signal to obtain the bass enhancement signal.
Optionally, the generating an adjusted low-frequency signal according to a low-frequency signal in the original audio signal includes:
acquiring a low-frequency signal in the original audio signal;
and generating a harmonic wave adjusting signal, and adding the harmonic wave adjusting signal to the low-frequency signal to obtain an adjusted low-frequency signal.
Optionally, the method further includes:
performing loudspeaker response prediction according to the parameters of the loudspeaker to obtain predicted response information of the loudspeaker, wherein the parameters of the loudspeaker comprise linear parameters of the loudspeaker;
the generating a harmonic adjustment signal includes:
and generating a harmonic wave adjusting signal of the low-frequency signal according to the predicted response information of the loudspeaker.
Optionally, the predicting a speaker response according to the parameter of the speaker to obtain predicted response information of the speaker includes:
and carrying out loudspeaker response prediction according to the nonlinear parameters and the linear parameters of the loudspeaker to obtain predicted response information of the loudspeaker.
Optionally, the method further includes:
before loudspeaker response prediction is carried out according to the nonlinear parameters and the linear parameters of the loudspeaker, whether the nonlinear parameters of the loudspeaker are higher than a preset parameter threshold value is judged;
if the non-linear parameter and the linear parameter are higher than the preset non-linear parameter, triggering the step of predicting the loudspeaker response according to the non-linear parameter and the linear parameter of the loudspeaker;
and if not, performing loudspeaker response prediction according to the linear parameters of the loudspeaker to obtain predicted response information of the loudspeaker.
Optionally, the method further includes:
acquiring condition parameters of the loudspeaker, and updating the nonlinear parameters according to the condition parameters and a mapping relation between preset condition parameters and the nonlinear parameters, wherein the condition parameters include but are not limited to one or more of ambient temperature, working time and input signal power dynamic range.
In another aspect, a bass enhancement system is provided, comprising:
the virtual bass enhancement module is used for receiving an input original audio signal, generating a bass enhancement signal of the original audio signal and inputting the bass enhancement signal into the nonlinear compensation module;
the nonlinear parameter module is used for acquiring nonlinear parameters of the loudspeaker;
the nonlinear compensation module is used for carrying out nonlinear predistortion processing on the bass enhancement signal according to the nonlinear parameter to obtain an output signal, and the output signal is output by the loudspeaker.
In another aspect, an electronic device is provided, comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps as described in the first aspect and any one of its possible implementations.
In another aspect, a computer storage medium is provided, which stores one or more instructions adapted to be loaded by a processor and to perform the steps of the first aspect and any possible implementation thereof.
The invention has the beneficial effects that: according to the nonlinear parameters of the loudspeaker, the signal is pre-distorted, and the distortion of the system caused by nonlinearity is compensated in advance at the input end, so that the nonlinear distortion in the bass enhancement processing can be reduced, and the effect of virtual bass is obviously improved.
[ description of the drawings ]
FIG. 1 is a schematic flow chart of a bass enhancement method provided by the present invention;
FIG. 2 is a schematic flow diagram of another bass enhancement method provided by the present invention;
FIG. 3 is a schematic diagram of a bass enhancement system according to the present invention;
FIG. 4 is a schematic process flow diagram of a bass enhancement system provided in the present invention;
FIG. 5 is a schematic view of a processing flow of a virtual bass boost module according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
[ detailed description ] embodiments
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiments of the present invention will be described below with reference to the drawings.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a bass enhancing method according to an embodiment of the present invention. The method can comprise the following steps:
the method comprises the steps of acquiring an input original audio signal and generating a bass enhanced signal of the original audio signal.
An execution subject of the embodiment of the present invention may be a bass enhancement system including a speaker that can perform bass enhancement processing on an original audio signal and output a processed audio signal. In one embodiment, the bass enhancement system described above may be applied to a variety of electronic devices, which may be terminal devices including, but not limited to, mobile terminals, headsets, audio playback devices, and other portable devices such as laptop computers, tablet computers, or desktop computers.
The original audio signal is an audio signal to be finally output from the speaker, and for different electronic devices, music may be selectively played through different operation modes, and a corresponding audio signal is obtained for output, which is not limited herein. That is, the embodiment of the present invention performs bass enhancement processing on the original audio signal, generates a bass enhancement signal of the original audio signal, and then plays the bass enhancement signal through a speaker.
In one embodiment, the generating the bass enhanced signal of the original audio signal includes:
generating an adjusted low-frequency signal according to a low-frequency signal in the original audio signal;
and acquiring a high-frequency signal in the original audio signal, and superposing the adjusted low-frequency signal and the high-frequency signal to obtain the bass enhancement signal.
Specifically, the original audio signal may first pass through a low-pass filter and a high-pass filter to perform frequency division processing, so as to obtain a corresponding low-frequency signal and a corresponding high-frequency signal. The bass enhancement is performed on the low-frequency signal, and after the low-frequency signal is adjusted, the high-frequency signal and the low-frequency signal are superposed to obtain the bass enhancement signal of the original audio signal. The low-frequency signal and the high-frequency signal are relative, that is, the original audio signal is divided into two parts according to the frequency, and different judgment standards can be provided according to different requirements.
Further, the generating the adjusted low frequency signal according to the low frequency signal in the original audio signal includes:
acquiring a low-frequency signal in the original audio signal;
and generating a harmonic wave adjusting signal, and adding the harmonic wave adjusting signal to the low-frequency signal to obtain an adjusted low-frequency signal.
Specifically, after the low-frequency signal in the original audio signal is obtained through the low-pass filter, the harmonic adjustment signal of the low-frequency signal can be generated through the harmonic generation module, the harmonic adjustment signal is added to the low-frequency signal, the bass effect is virtualized by adding the harmonic, meanwhile, the band-pass filtering can be performed after the harmonic generation module, the too-high frequency and the noise are further filtered, and the harmonic signal after bass enhancement, namely the adjusted low-frequency signal, is obtained.
102. Nonlinear parameters of the loudspeaker are obtained.
At larger amplitudes, the loudspeaker will exhibit more or less non-linear behavior and will have signal components that are not present in the input signal. In the linear distortion of a loudspeaker, the distortion object is the amplitude and/or phase of an output signal, while the nonlinear distortion implies that the output signal contains frequency components which do not exist in an input signal.
Specifically, the nonlinear problem of the speaker vibration can be generally analyzed by using an indirect test method, that is, a circuit model of the speaker is built in advance, and then a speaker analyzer is used for testing and a method of adaptive fitting operation is used for obtaining related nonlinear parameters of the speaker.
Optionally, the nonlinear problem of the speaker vibration may be analyzed by directly testing the speaker through a speaker testing system and a distance meter, so as to directly obtain the nonlinear parameter of the speaker. Specifically, a dc bias voltage signal may be applied to the speaker to bias the voice coil of the speaker in the magnetic gap, and then the offset displacement of the voice coil of the speaker under the dc bias voltage signal is measured by a distance meter such as a laser distance meter, and under the condition that the dc bias voltage signal values at the two ends of the speaker are kept unchanged, an ac analysis signal is output to the speaker to be tested by the speaker test system to obtain an impedance curve and a displacement-voltage transfer function curve of the voice coil of the speaker to be tested at the offset position, and then the values of the nonlinear parameters of the speaker to be tested under the bias state of the voice coil are calculated according to the curves.
The magnitude of the direct current bias voltage signal can be changed for a plurality of times, the steps are repeated, the bias displacement of the voice coil of the loudspeaker to be tested in the magnetic gap under the corresponding direct current bias voltage signal is measured, and the value of the nonlinear parameter of the loudspeaker to be tested under the corresponding bias displacement of the voice coil is obtained through calculation.
In an optional implementation manner, a condition parameter of the speaker may be obtained, and the non-linear parameter is updated according to the condition parameter and a mapping relationship between a preset condition parameter and the non-linear parameter, where the condition parameter includes, but is not limited to, one or more of an ambient temperature, an operating time, and a dynamic range of input signal power.
The nonlinear characteristic curve of the loudspeaker can also be obtained through simulation or measurement, and may include a preset mapping relationship between condition parameters and nonlinear parameters, where the condition parameters are all factors affecting nonlinear distortion of the loudspeaker, and may include, but are not limited to, one or more of ambient temperature, operating time, and input signal power dynamic range, for example, the mapping relationship between ambient temperature and the nonlinear parameters of the loudspeaker. Further, the nonlinear parameter of the speaker may be periodically updated, and the specific method is to obtain the condition parameter of the current speaker, determine the nonlinear parameter of the current speaker according to the condition parameter and the mapping relationship between the preset condition parameter and the nonlinear parameter, and achieve the real-time speaker nonlinear parameter obtaining.
In summary, the nonlinear parameter of the speaker offline test may be obtained in different manners, or the nonlinear parameter updated online in the working state of the speaker is determined through the obtained nonlinear characteristic curve, which is not limited in the embodiment of the present invention.
103. And carrying out nonlinear predistortion processing on the bass enhanced signal according to the nonlinear parameter of the loudspeaker to obtain an output signal, wherein the output signal is output by the loudspeaker.
Specifically, a corresponding compensation signal may be generated according to the nonlinear parameter of the speaker, and the compensation signal may be used to perform nonlinear predistortion processing on the bass boost signal.
The compensation process can be implemented by a non-linear filter, which is a non-linear compensator that cancels the non-linear behavior of the loudspeaker by controlling the excitation signal without changing the loudspeaker structure. Ideally, the nonlinear filter may form an all-pass filter with the actual speaker.
Before the output of the loudspeaker, a corresponding compensation signal is added through pre-distortion processing, distortion caused by nonlinearity is pre-compensated at an input end, and the obtained output signal can be output by the loudspeaker. Therefore, the sound signal played by the loudspeaker is linear response of the input electric signal, the phenomenon of harmonic component proportion distortion caused by nonlinear distortion can be obviously reduced, and further the played sound signal is basically consistent with the expected response of bass enhancement, so that the effect of virtual bass is obviously improved.
According to the invention, an input original audio signal is obtained, a bass enhancement signal of the original audio signal is generated, a nonlinear parameter of a loudspeaker is obtained, then the bass enhancement signal is subjected to nonlinear predistortion treatment according to the nonlinear parameter of the loudspeaker, and an output signal is obtained and output by the loudspeaker. The bass enhancement method can reduce the nonlinear distortion in the bass enhancement processing and obviously improve the effect of virtual bass.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another bass enhancement method according to an embodiment of the present invention. As shown in fig. 2, the method may include:
201. the method comprises the steps of acquiring an input original audio signal and generating a bass enhanced signal of the original audio signal.
An execution subject of the embodiment of the present invention may be a bass enhancement system including a speaker that can perform bass enhancement processing on an original audio signal and output a processed audio signal. In one embodiment, the bass enhancement system described above may be applied to a variety of electronic devices, which may be terminal devices including, but not limited to, mobile terminals, headsets, audio playback devices, and other portable devices such as laptop computers, tablet computers, or desktop computers.
The step 201 may refer to the detailed description in the step 101 shown in fig. 1, and is not described herein again.
And acquiring a low-frequency signal in the original audio signal, and performing loudspeaker response prediction according to the loudspeaker parameters to acquire the predicted response information of the loudspeaker, wherein the loudspeaker parameters comprise the linear parameters of the loudspeaker.
Specifically, the original audio signal may first pass through a low-pass filter and a high-pass filter to perform frequency division processing, so as to obtain a corresponding low-frequency signal and a corresponding high-frequency signal. The parameters of the loudspeaker include linearity parameters of the loudspeaker,
the output effect of the loudspeaker is influenced by loudspeaker parameters, which may include linearity parameters and/or non-linearity parameters. The response of the speaker may be predicted in consideration of the influence of the parameters of the speaker, and the predicted response information of the speaker is obtained, and then step 203 is performed.
And generating a harmonic adjustment signal of the low-frequency signal according to the predicted response information of the loudspeaker.
In order to enhance the bass signal, a mode of adding harmonic waves can be used, in the embodiment of the invention, the predicted response information of the loudspeaker can be used as reference to generate a harmonic wave adjusting signal of the low-frequency signal, and the proper harmonic waves can be better generated to enhance the low-frequency signal by combining the property of the loudspeaker, so that the bass enhancement effect is improved.
In an alternative embodiment, the step 203 comprises:
and carrying out loudspeaker response prediction according to the nonlinear parameters and the linear parameters of the loudspeaker to obtain the predicted response information of the loudspeaker.
The non-linear parameters may also be included, and the non-linear parameters of the speaker may be obtained by a related method in the embodiment shown in fig. 1, which is not described herein again.
In other words, in the embodiment of the present invention, pure signal processing may be directly performed according to the obtained low-frequency signal to generate a harmonic, or after speaker response prediction is performed according to a linear parameter or a nonlinear parameter of a speaker, a harmonic may be generated according to predicted response information.
Optionally, before performing speaker response prediction according to the nonlinear parameter and the linear parameter of the speaker, determining whether the nonlinear parameter of the speaker is higher than a preset parameter threshold;
if the non-linear parameter is higher than the linear parameter, triggering the step of predicting the loudspeaker response according to the non-linear parameter and the linear parameter of the loudspeaker;
if not, the loudspeaker response prediction is carried out according to the linear parameters of the loudspeaker, and the predicted response information of the loudspeaker is obtained.
In an optional implementation manner, a preset parameter threshold may be provided, a non-linear parameter value of the speaker may be determined first, if the non-linear parameter of the speaker is higher than the preset parameter threshold, it indicates that the non-linear influence of the speaker is relatively large, and the non-linear parameter may be considered to perform speaker response prediction, for example, the speaker response prediction may be performed according to the non-linear parameter and the linear parameter of the speaker; and if the nonlinear parameter of the loudspeaker is not higher than the preset parameter threshold, the nonlinear influence of the loudspeaker is relatively small, the loudspeaker response prediction can be carried out without considering the nonlinear parameter, and only the linear parameter which is convenient to calculate by using a relative rule is used for prediction.
Step 204 may be performed after obtaining the harmonic adjustment signal.
And adding the harmonic wave adjusting signal to the low-frequency signal to obtain an adjusted low-frequency signal.
205. And acquiring a high-frequency signal in the original audio signal, and superposing the adjusted low-frequency signal and the high-frequency signal to obtain the bass enhancement signal.
206. And carrying out nonlinear predistortion processing on the bass enhanced signal according to the nonlinear parameter of the loudspeaker to obtain an output signal, wherein the output signal is output by the loudspeaker.
Step 204 and step 205 may refer to the specific description in step 102 in the embodiment shown in fig. 1, and step 206 may refer to the specific description in step 103 in the embodiment shown in fig. 1, which is not described herein again.
With the continuous development of the mobile phone industry, various mobile phone manufacturers pay more and more attention to the usability and multimedia performance of the system. In the audio aspect, the demands of consumers for multimedia video and audio are also increasing. Meanwhile, a loudspeaker in the intelligent terminal is limited by volume, and a loudspeaker with an overlarge size cannot be selected. While smaller size loudspeakers have poor low frequency playback capability, i.e. insufficient bass performance.
Typical systems, which are based entirely on signal processing, do not take into account the non-linear distortion problem of practical loudspeakers. In a loudspeaker system which is actually used, under the condition that a driving voltage is large, large nonlinear distortion (THD) can be generated, intermodulation distortion (IMD) can be generated on a low-frequency signal and a high-frequency signal, added harmonic components are caused, distortion is generated under the action of the THD and the IMD, a large deviation is generated on the proportion of designed harmonic waves, and the effect of virtual bass is seriously reduced.
In the embodiment of the invention, by acquiring the input original audio signal, generating the bass enhancement signal of the original audio signal, acquiring the low-frequency signal in the original audio signal, performing speaker response prediction according to the parameters of the speaker to obtain predicted response information of the speaker, the parameters of the loudspeaker comprise linear parameters of the loudspeaker, and harmonic wave adjusting signals of the low-frequency signals are generated according to the predicted response information of the loudspeaker, adding the harmonic adjustment signal to the low-frequency signal to obtain an adjusted low-frequency signal, obtaining a high-frequency signal in the original audio signal, superimposing the adjusted low-frequency signal and the high-frequency signal to obtain the bass enhancement signal, harmonic adjustment is used in a bass enhancement link according to the predicted response of the loudspeaker, and the linear and/or nonlinear characteristics of the loudspeaker are considered; and carrying out nonlinear predistortion processing on the bass enhancement signal according to the nonlinear parameter of the loudspeaker to obtain an output signal, wherein the output signal is output by the loudspeaker, so that the nonlinear distortion in the bass enhancement processing can be further reduced, and the effect of virtual bass is remarkably improved.
Based on the description of the bass enhancement method embodiment, the embodiment of the invention also discloses a bass enhancement system. Referring to fig. 3, a bass enhancement system 300 includes:
a virtual bass boost module 310, configured to receive an input original audio signal, generate a bass boost signal of the original audio signal, and input the bass boost signal to the nonlinear compensation module 320;
the nonlinear parameter module 320 is configured to obtain a nonlinear parameter of the speaker;
the nonlinear compensation module 320 is configured to perform nonlinear predistortion processing on the bass enhancement signal according to the nonlinear parameter to obtain an output signal, where the output signal is output by the speaker.
Optionally, the virtual bass boost module 310 includes: a low-pass processing unit 311, a high-pass processing unit 312, and an integration unit 313;
the low-pass processing unit 311 is configured to generate an adjusted low-frequency signal according to a low-frequency signal in the original audio signal;
the high-pass processing unit 312 is configured to obtain a high-frequency signal in the original audio signal;
the integration unit 313 is configured to superimpose the adjusted low frequency signal and the high frequency signal to obtain the bass enhancement signal, and input the bass enhancement signal to the nonlinear compensation module.
Optionally, the low-pass processing unit 311 includes: a low-pass filter 3111 and a harmonic generation unit 3112;
the low-pass filter 3111 is configured to obtain a low-frequency signal in the original audio signal;
the harmonic generation unit 3112 is configured to generate a harmonic adjustment signal, and add the harmonic adjustment signal to the low frequency signal to obtain an adjusted low frequency signal.
Optionally, the bass enhancement system 300 further includes a control module 330, configured to perform speaker response prediction according to parameters of the speaker, so as to obtain predicted response information of the speaker, where the parameters of the speaker include linear parameters of the speaker;
specifically, harmonic generation section 3112 is configured to generate a harmonic adjustment signal of the low frequency signal based on the predicted response information of the speaker.
Optionally, the control module 330 is specifically configured to:
and carrying out loudspeaker response prediction according to the nonlinear parameters and the linear parameters of the loudspeaker to obtain the predicted response information of the loudspeaker.
Optionally, the control module 330 is further configured to, before performing speaker response prediction according to the nonlinear parameter and the linear parameter of the speaker, determine whether the nonlinear parameter of the speaker is higher than a preset parameter threshold;
if the non-linear parameter is higher than the linear parameter, triggering the step of predicting the loudspeaker response according to the non-linear parameter and the linear parameter of the loudspeaker;
if not, the loudspeaker response prediction is carried out according to the linear parameters of the loudspeaker, and the predicted response information of the loudspeaker is obtained.
Optionally, the nonlinear parameter module 320 is further configured to:
acquiring condition parameters of the loudspeaker, and updating the nonlinear parameters according to the condition parameters and a mapping relation between preset condition parameters and the nonlinear parameters, wherein the condition parameters include but are not limited to one or more of ambient temperature, working time and input signal power dynamic range.
According to an embodiment of the present invention, the steps involved in the methods shown in fig. 1 and fig. 2 may be performed by the modules in the bass enhancement system 300 shown in fig. 3, and are not described herein again.
For example, reference may be made to a schematic processing flow diagram of a bass enhancement system shown in fig. 4, which includes a non-linearity compensation module 5, which may correspond to the non-linearity parameter module 320.
As shown in fig. 4, the original audio signal 1 is input to a virtual bass enhancement module 2 for processing, and the virtual bass enhancement module 2 includes a pure signal processing mode without including a speaker model (without using speaker parameters) or a signal processing mode according to the speaker model (only using a linear parameter model or using a complete non-linear parameter model); the non-linearity parameters 3 of the loudspeaker comprise non-linearity parameters tested off-line or non-linearity parameters updated on-line. The audio signal 4 after the virtual bass enhancement may be input to the nonlinear compensation module 5 for nonlinear predistortion processing, so as to obtain the audio signal 6 after the nonlinear predistortion processing and the virtual bass enhancement, and may be output through a speaker.
Further, reference may be made to a virtual bass boost module process flow diagram of the type shown in fig. 5, in which the functionality of the virtual bass boost module 2 in fig. 4 is refined. Specifically, as shown in fig. 5, 1 is still the original audio signal; 2-1 low-pass filtering: acquiring a low-frequency part in an original audio signal; 2-2 high-pass filtering: acquiring a high-frequency part in an original audio signal; 2-3 low frequency part of original audio signal, which is virtual bass enhanced; 2-4 medium-high frequency part in original audio signal, which is not enhanced by virtual bass; a 2-5 harmonic generation module, which may correspond to the harmonic generation unit 3112, and which may directly perform pure signal processing according to the 2-3 signal to generate a harmonic, or may generate a harmonic according to a predicted response after performing speaker response prediction according to a nonlinear parameter 3 (linear parameter or nonlinear parameter); 2-6 low-frequency signals after virtual bass enhancement; 2-7, superposing the medium-high frequency signal and the low-frequency signal after virtual bass enhancement; 2-8 virtual bass enhanced audio signal.
The function of the bass enhancement system 300 in the embodiment of the present invention is explained more clearly by the above description, and the distortion of the system due to the non-linearity is pre-compensated at the input end by pre-distorting the signal using the non-linearity compensation algorithm by identifying the linear and non-linear parameters of the loudspeaker system. Therefore, the sound signal played by the loudspeaker system is the linear response of the input electric signal, the phenomenon of harmonic component proportion distortion caused by nonlinear distortion can be obviously reduced, and further the played sound signal is basically consistent with the expected response of bass enhancement, so that the effect of virtual bass is obviously improved.
In the bass enhancement system 300 in the embodiment of the present invention, the bass enhancement system 300 may obtain an input original audio signal, generate a bass enhancement signal of the original audio signal, obtain a nonlinear parameter of a speaker, and perform a nonlinear predistortion process on the bass enhancement signal according to the nonlinear parameter of the speaker to obtain an output signal, which is output by the speaker, so that the nonlinear distortion in the bass enhancement process may be reduced, and the effect of virtual bass may be significantly improved.
Based on the description of the method embodiment and the device embodiment, the embodiment of the invention also provides electronic equipment. Referring to fig. 6, the electronic device at least includes a processor 610, a nonvolatile storage medium 620, an internal memory 630, and a network interface 640, wherein the processor 610, the nonvolatile storage medium 620, the internal memory 630, and the network interface 640 may be connected by a system bus 650 or other means, and may communicate with other devices through the network interface 640.
A non-volatile storage medium 620, i.e., a computer storage medium, may be stored in the memory, the computer storage medium storing a computer program and an operating system, and the internal memory 630 also storing a computer program comprising program instructions that the processor can use to execute. The processor 610 (or CPU) is a computing core and a control core of the terminal, and is adapted to implement one or more instructions, and in particular, is adapted to load and execute the one or more instructions so as to implement a corresponding method flow or a corresponding function; in one embodiment, the processor 610 according to the embodiment of the present invention may be configured to perform a series of processes, including the method according to the embodiment shown in fig. 1 and fig. 2, and so on.
The embodiment of the invention also provides a computer storage medium (Memory), which is a Memory device in the terminal and is used for storing programs and data. It is understood that the computer storage medium herein may include a built-in storage medium in the terminal, and may also include an extended storage medium supported by the terminal. The computer storage medium provides a storage space that stores an operating system of the terminal. Also stored in the memory space are one or more instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor. The computer storage medium may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory; and optionally at least one computer storage medium located remotely from the processor.
In one embodiment, one or more instructions stored in a computer storage medium may be loaded and executed by a processor to perform the corresponding steps in the above embodiments; in particular implementations, one or more instructions in the computer storage medium may be loaded by the processor and executed to perform any step of the method in fig. 1 and/or fig. 2, which is not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the division of the module is only one logical division, and other divisions may be possible in actual implementation, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. The shown or discussed mutual coupling, direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)), or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The usable medium may be a read-only memory (ROM), or a Random Access Memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a magnetic tape, a magnetic disk, or an optical medium, such as a Digital Versatile Disk (DVD), or a semiconductor medium, such as a Solid State Disk (SSD).

Claims (10)

1. A bass enhancement method, comprising:
acquiring an input original audio signal, and generating a bass enhancement signal of the original audio signal;
acquiring nonlinear parameters of a loudspeaker;
and carrying out nonlinear predistortion treatment on the bass enhanced signal according to the nonlinear parameters of the loudspeaker to obtain an output signal, wherein the output signal is output by the loudspeaker.
2. The bass enhancement method of claim 1, wherein the generating a bass enhancement signal of the original audio signal comprises:
generating an adjusted low-frequency signal according to a low-frequency signal in the original audio signal;
and acquiring a high-frequency signal in the original audio signal, and superposing the adjusted low-frequency signal and the high-frequency signal to obtain the bass enhancement signal.
3. The bass enhancement method of claim 2, wherein the generating an adjusted low frequency signal from a low frequency signal in the original audio signal comprises:
acquiring a low-frequency signal in the original audio signal;
and generating a harmonic wave adjusting signal, and adding the harmonic wave adjusting signal to the low-frequency signal to obtain an adjusted low-frequency signal.
4. The bass enhancement method of claim 3, further comprising:
performing loudspeaker response prediction according to the parameters of the loudspeaker to obtain predicted response information of the loudspeaker, wherein the parameters of the loudspeaker comprise linear parameters of the loudspeaker;
the generating a harmonic adjustment signal includes:
and generating a harmonic wave adjusting signal of the low-frequency signal according to the predicted response information of the loudspeaker.
5. The bass enhancement method of claim 4, wherein the performing speaker response prediction according to the parameters of the speaker to obtain predicted response information of the speaker comprises:
and carrying out loudspeaker response prediction according to the nonlinear parameters and the linear parameters of the loudspeaker to obtain predicted response information of the loudspeaker.
6. The method of claim 5, further comprising:
before loudspeaker response prediction is carried out according to the nonlinear parameters and the linear parameters of the loudspeaker, whether the nonlinear parameters of the loudspeaker are higher than a preset parameter threshold value is judged;
if the non-linear parameter and the linear parameter are higher than the preset non-linear parameter, triggering the step of predicting the loudspeaker response according to the non-linear parameter and the linear parameter of the loudspeaker;
and if not, performing loudspeaker response prediction according to the linear parameters of the loudspeaker to obtain predicted response information of the loudspeaker.
7. The method of claim 1, further comprising:
acquiring condition parameters of the loudspeaker, and updating the nonlinear parameters according to the condition parameters and a mapping relation between preset condition parameters and the nonlinear parameters, wherein the condition parameters include but are not limited to one or more of ambient temperature, working time and input signal power dynamic range.
8. A bass enhancement system, comprising:
the virtual bass enhancement module is used for receiving an input original audio signal, generating a bass enhancement signal of the original audio signal and inputting the bass enhancement signal into the nonlinear compensation module;
the nonlinear parameter module is used for acquiring nonlinear parameters of the loudspeaker;
the nonlinear compensation module is used for carrying out nonlinear predistortion processing on the bass enhancement signal according to the nonlinear parameter to obtain an output signal, and the output signal is output by the loudspeaker.
9. A storage medium storing a computer program of instructions which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A computer device comprising at least one memory storing a program of computer instructions which, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1 to 7, at least one processor.
CN202010536876.3A 2020-06-12 2020-06-12 Bass enhancement method, system, electronic device and storage medium Pending CN111796791A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010536876.3A CN111796791A (en) 2020-06-12 2020-06-12 Bass enhancement method, system, electronic device and storage medium
PCT/CN2020/096692 WO2021248526A1 (en) 2020-06-12 2020-06-18 Bass enhancement method and system, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010536876.3A CN111796791A (en) 2020-06-12 2020-06-12 Bass enhancement method, system, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN111796791A true CN111796791A (en) 2020-10-20

Family

ID=72803318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010536876.3A Pending CN111796791A (en) 2020-06-12 2020-06-12 Bass enhancement method, system, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN111796791A (en)
WO (1) WO2021248526A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511941A (en) * 2020-12-01 2021-03-16 恒玄科技(上海)股份有限公司 Audio output method and system and earphone
CN115442709A (en) * 2022-07-29 2022-12-06 荣耀终端有限公司 Audio processing method, virtual bass enhancement system, apparatus, and storage medium
WO2023274180A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Method and apparatus for improving sound quality of speaker
US11950089B2 (en) 2021-07-29 2024-04-02 Samsung Electronics Co., Ltd. Perceptual bass extension with loudness management and artificial intelligence (AI)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667945A (en) * 2005-04-01 2005-09-14 深圳市惠天通信技术有限公司 Linear audio power amplifying system with predistortion
WO2013181299A1 (en) * 2012-05-29 2013-12-05 Creative Technology Ltd Adaptive bass processing system
CN104936088A (en) * 2015-04-21 2015-09-23 上海大学 Mixed virtual bass enhancing method
CN106851514A (en) * 2017-02-25 2017-06-13 中山市天键电声有限公司 Nonlinear loudspeaker parameter test device system and method for testing
CN107231590A (en) * 2016-03-23 2017-10-03 哈曼国际工业有限公司 The technology that distortion for tuning loudspeaker is responded
CN110506425A (en) * 2017-02-17 2019-11-26 思睿逻辑国际半导体有限公司 Bass boost

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101613684B1 (en) * 2009-12-09 2016-04-19 삼성전자주식회사 Apparatus for enhancing bass band signal and method thereof
US10506347B2 (en) * 2018-01-17 2019-12-10 Samsung Electronics Co., Ltd. Nonlinear control of vented box or passive radiator loudspeaker systems
CN109996151A (en) * 2019-04-10 2019-07-09 上海大学 One kind mixing virtual bass boosting method based on the separation of wink steady-state signal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667945A (en) * 2005-04-01 2005-09-14 深圳市惠天通信技术有限公司 Linear audio power amplifying system with predistortion
WO2013181299A1 (en) * 2012-05-29 2013-12-05 Creative Technology Ltd Adaptive bass processing system
CN104936088A (en) * 2015-04-21 2015-09-23 上海大学 Mixed virtual bass enhancing method
CN107231590A (en) * 2016-03-23 2017-10-03 哈曼国际工业有限公司 The technology that distortion for tuning loudspeaker is responded
CN110506425A (en) * 2017-02-17 2019-11-26 思睿逻辑国际半导体有限公司 Bass boost
CN106851514A (en) * 2017-02-25 2017-06-13 中山市天键电声有限公司 Nonlinear loudspeaker parameter test device system and method for testing

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112511941A (en) * 2020-12-01 2021-03-16 恒玄科技(上海)股份有限公司 Audio output method and system and earphone
CN112511941B (en) * 2020-12-01 2023-06-13 恒玄科技(上海)股份有限公司 Audio output method and system and earphone
WO2023274180A1 (en) * 2021-06-30 2023-01-05 华为技术有限公司 Method and apparatus for improving sound quality of speaker
US11950089B2 (en) 2021-07-29 2024-04-02 Samsung Electronics Co., Ltd. Perceptual bass extension with loudness management and artificial intelligence (AI)
CN115442709A (en) * 2022-07-29 2022-12-06 荣耀终端有限公司 Audio processing method, virtual bass enhancement system, apparatus, and storage medium
WO2024021682A1 (en) * 2022-07-29 2024-02-01 荣耀终端有限公司 Audio processing method, virtual bass enhancement system, device, and storage medium

Also Published As

Publication number Publication date
WO2021248526A1 (en) 2021-12-16

Similar Documents

Publication Publication Date Title
CN111796791A (en) Bass enhancement method, system, electronic device and storage medium
CN111800713B (en) Signal nonlinear compensation method and device, electronic equipment and storage medium
US10165361B2 (en) System and method for loudspeaker protection
CN103634726B (en) A kind of Automatic loudspeaker equalization method
TW503668B (en) Method and device for generating digital filters for equalizing a loudspeaker
US9055367B2 (en) Integrated psychoacoustic bass enhancement (PBE) for improved audio
CN109379678B (en) Nonlinear compensation method, nonlinear compensation device, storage medium and terminal equipment
KR20140116152A (en) Bass enhancement system
CN111800723B (en) Active noise reduction earphone testing method and device, terminal equipment and storage medium
CN108401204A (en) A kind of novel active noise reduction earphone
CN110191221A (en) Audio-frequency processing method, circuit and terminal
CN108600915B (en) Audio output method and device, harmonic distortion filtering equipment and terminal
CN111796792B (en) Gesture motion judging method and device, electronic equipment and storage medium
US7003469B2 (en) Audio signal processing apparatus and method thereof
CN102576560B (en) electronic audio device
CN103796135A (en) Dynamic speaker management with echo cancellation
CN115835094A (en) Audio signal processing method, system, device, product and medium
CN111741409A (en) Method for compensating for non-linearity of speaker, speaker apparatus, device, and storage medium
JP2018026615A (en) Equalizer device and equalizer program
WO2024207203A1 (en) Tweeter temperature protection method for coaxial loudspeaker, and related device
US20130223636A1 (en) Measurement apparatus and measurement method
US20120158809A1 (en) Compensation Filtering Device and Method Thereof
US20120155673A1 (en) Compensation Filtering Device and Method Thereof
TW201801546A (en) Calibration characteristic obtaining method of earphone reproduction characteristic carries out acoustic coupling of right and left earphone in high accuracy
CN116013331A (en) Bass enhancement method and device, electronic equipment and 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