Virtual bass generation method, virtual bass module and audio processing chip
By generating and modulating and demodulating odd-order harmonics and even-order harmonics, the problem that odd-order harmonics and even-order harmonics are difficult to harmonize in the existing technology is solved, the self-harmonicity of higher-order harmonics is realized, and the Virtual bass effect.
Patent Information
- Application Number
- CN201811191130.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-10-12
AI Technical Summary
It is difficult for the existing virtual bass method to effectively harmonize odd-order harmonics and even-order harmonics, resulting in poor combination effect of higher-order harmonics.
By generating odd-order harmonics and even-order harmonics of the low-frequency fundamental wave, and using the modulation and demodulation of the first high-frequency carrier and the second high-frequency carrier, the corresponding even-order harmonics or odd-order harmonics are generated to synthesize a complete odd-even Multiply the higher harmonics and combine them with the original sound.
It achieves the unification of odd-order harmonic and even-order harmonic characteristics, obtains its own harmonic high-order harmonics, and improves the effect of virtual bass.
Smart Images

Figure CN109068233B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio signal processing, and in particular to a virtual bass generation method, a virtual bass module and an audio processing chip. Background Art
[0002] A speaker is a common audio playback device, which, driven by a power amplifier, can achieve electro-acoustic conversion and play corresponding audio signals.
[0003] The performance of a speaker can be measured by multiple indicators. The low-frequency resonance frequency is a very important indicator, which determines the low-frequency lower edge of the speaker's frequency response (that is, the low-frequency resonance frequency of the speaker limits the playback effect of low-frequency audio signals).
[0004] Since excessive use of low-frequency gain to increase the low-frequency area below the low-frequency lower edge of the speaker's frequency response will not only damage the sound quality, but also easily cause internal hardware damage to the speaker. Therefore, corresponding calculation methods (such as virtual bass) are usually used to compensate the sound source signal to improve the low-frequency playback effect.
[0005] In the process of implementing the present invention, the applicant found that the related technology has the following problems: the existing virtual bass method is to generate high-order harmonics in the low-frequency area, and then use these high-order harmonics that are higher than the low-frequency resonance frequency point to insert the bass effect.
[0006] In the process of generating high-order harmonics, a generation method can usually only generate a single odd harmonic or even harmonic. In order to synthesize high-order harmonics with complete frequency doubling, it is necessary to use different methods to generate odd harmonics and even harmonics and then combine them.
[0007] Since odd harmonics or even harmonics generated by different generation methods have different characteristics (such as harmonic energy or harmonic attenuation speed), the combination effect of odd harmonics and high harmonics is poor and it is not easy to harmonize. Summary of the invention
[0008] The main technical problem solved by the embodiments of the present invention is that the characteristics of odd harmonics and even harmonics obtained by different generation methods are different and difficult to harmonize.
[0009] In order to solve the above technical problems, an embodiment of the present invention provides a virtual bass generation method. The virtual bass generation method comprises:
[0010] Generate odd harmonics of a low-frequency fundamental wave; based on the odd harmonics, generate even harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; the difference between the first high-frequency carrier and the low-frequency fundamental wave is equal to the second high-frequency carrier; synthesize the odd harmonics and the even harmonics to obtain higher harmonics with complete odd and even multiples; combine the higher harmonics with the original sound according to a preset ratio.
[0011] Optionally, based on the odd harmonics, even harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier, including:
[0012] According to the modulation principle, the odd harmonics are multiplied with the first high-frequency carrier, and during demodulation, they are multiplied with the second high-frequency carrier to obtain a demodulated frequency wave;
[0013] Non-target frequency points of the demodulated frequency wave are filtered out to generate even harmonics of the low-frequency fundamental wave.
[0014] To solve the above technical problems, an embodiment of the present invention further provides another virtual bass generation method. The virtual bass generation method comprises:
[0015] Generate even harmonics of a low-frequency fundamental wave; based on the even harmonics, generate odd harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; the sum of the first high-frequency carrier and the low-frequency fundamental wave is equal to the second high-frequency carrier; synthesize the odd harmonics and the even harmonics to obtain higher harmonics with complete odd and even multiples; combine the higher harmonics with the original sound according to a preset ratio.
[0016] Optionally, based on the even harmonics, odd harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier, including:
[0017] According to the modulation principle, the even harmonics are multiplied with the first high frequency carrier, and during demodulation, they are multiplied with the second high frequency carrier to obtain a demodulated frequency wave;
[0018] Non-target frequency points of the demodulated frequency wave are filtered out to generate odd harmonics of the low-frequency fundamental wave.
[0019] Optionally, the first high-frequency carrier and the second high-frequency carrier are ultra-high-frequency carrier signals relative to odd harmonics or even harmonics.
[0020] In order to solve the above technical problems, an embodiment of the present invention further provides a virtual bass module. The virtual bass module includes: a harmonic generator, which is used to generate odd harmonics of a low-frequency fundamental wave, and based on the odd harmonics, generates even harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; a high-order harmonic synthesizer, which is used to modify and synthesize the odd harmonics and even harmonics to generate high-order harmonics with complete odd and even multiples; and a virtual bass synthesizer, which combines the high-order harmonics with the original sound.
[0021] In order to solve the above technical problems, an embodiment of the present invention further provides a virtual bass module. The virtual bass module includes: a harmonic generator, which is used to generate even harmonics of a low-frequency fundamental wave, and based on the even harmonics, generates odd harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; a high-order harmonic synthesizer, which is used to modify and synthesize the odd harmonics and even harmonics to generate high-order harmonics with complete odd and even multiples; a virtual bass synthesizer, which combines the high-order harmonics with the original sound.
[0022] Optionally, the high-order harmonic synthesizer includes: a modulation and demodulation unit and a bandpass filter;
[0023] The modulation and demodulation unit is used to: multiply the odd harmonic or the even harmonic with the first high frequency carrier and the second high frequency carrier to obtain a demodulated frequency wave;
[0024] The bandpass filter is used to filter out non-target frequency points in the demodulated frequency wave to obtain corresponding even harmonics or odd harmonics.
[0025] Optionally, when the odd harmonic is used as a basis, the difference between the first high-frequency carrier and the low-frequency fundamental wave is equal to the second high-frequency carrier;
[0026] When based on the odd harmonics, the sum of the first high-frequency carrier and the low-frequency fundamental wave is equal to the second high-frequency carrier.
[0027] Optionally, the high-order harmonic synthesizer includes: an equalizer and a modification filter;
[0028] The equalizer is used to adjust the gain values of the odd harmonics and the even harmonics; the modified filter is used to coordinately adjust the odd harmonics and the even harmonics.
[0029] To solve the above technical problems, an embodiment of the present invention further provides an audio processing chip. The audio processing chip includes: a decoding module, the decoding module is used to decode the received audio signal; the virtual bass module as described above, the virtual bass module is used to add corresponding virtual bass to the audio signal; and
[0030] A power amplifier is used to amplify the audio signal output by the virtual bass module to provide a signal power that meets the requirements of the speaker.
[0031] Optionally, the audio signal is a digital audio signal, and the audio processing chip also includes a digital-to-analog converter; the digital-to-analog converter is respectively connected to the virtual bass module and the power amplifier, and is used to convert the digital audio signal output by the virtual bass module into an analog audio signal.
[0032] The virtual bass generation method provided in the embodiment of the present invention is based on odd harmonics or even harmonics generated by nonlinear methods, etc., and uses the modulation and demodulation principle to generate corresponding even harmonics or odd harmonics. The odd harmonics and even harmonics obtained in this way have unified characteristics, and self-harmonic high-order harmonics can be obtained to provide better virtual bass effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0034] Figure 1 A schematic diagram of an application environment provided by an embodiment of the present invention;
[0035] Figure 2 A schematic diagram of the structure of an audio processing chip provided by an embodiment of the present invention;
[0036] Figure 3 A connection timing diagram of a virtual bass module provided by an embodiment of the present invention;
[0037] Figure 4 A schematic diagram of the structure of a harmonic generator provided by an embodiment of the present invention;
[0038] Figure 5 A method flow chart of a virtual bass generation method provided by an embodiment of the present invention;
[0039] Figure 6 A flowchart of a method for generating virtual bass according to another embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0041] The low-frequency resonance frequency point of the speaker (also called the resonance frequency or resonant frequency) is the maximum impedance value that appears in the low-frequency band on the speaker impedance curve. It determines the lower edge of the speaker's frequency response range. The area below the low-frequency resonance frequency point in the audio signal is the low-frequency area that the speaker cannot play.
[0042] In order to compensate for the bass playback effect in the low-frequency area, an algorithmic remedy such as virtual bass is usually used to simulate the low-frequency playback effect in the form of high-order harmonic interpolation above the low-frequency resonance frequency point.
[0043] Figure 1 The application environment of the virtual bass provided by the embodiment of the present invention. Figure 1 As shown, the application environment includes an audio source device 10 , an audio processing chip 20 and a speaker 30 .
[0044] The audio source device 10 is any type of intelligent or non-intelligent hardware device for providing audio signals to be played, including mobile phones, computers, tablet computers, USB flash drives, MP3 players, etc. It has at least one output port for outputting identifiable audio signals.
[0045] In some embodiments, the audio source device 10 may have an operation or control system that receives user instructions and calls corresponding digital audio signals to output from one or more output ports.
[0046] The audio processing chip 20 is an electronic circuit component connected to the sound source device 10 and used to adjust or modify the audio signal. The audio processing chip 20 can be composed of one or more interconnected functional modules to achieve corresponding modification effects.
[0047] For example, Figure 2 As shown, the audio processing chip 20 may include a decoding module 21 for decoding, a virtual bass module 22 for adding a corresponding virtual bass sound effect to the audio signal, and a power amplifier 23 for amplifying the audio signal to meet the signal power required by the speaker.
[0048] The decoding module 21 can receive and decode the original audio signal from the sound source device 10. The virtual bass module 22 can generate corresponding high-order harmonics from the audio signal in the low-frequency area to compensate for the bass effect of the speaker. The power amplifier 23 is placed at the last position to amplify the adjusted and modified audio signal to provide sufficient signal power to drive the speaker to play sound.
[0049] Of course, the audio processing chip 20 can also choose to add other different sound effect modules (such as active noise reduction modules) according to actual needs without being limited to the virtual bass module.
[0050] In some embodiments, when the audio source device 10 provides a digital audio signal. Figure 2 As shown, the audio processing chip 20 may also be provided with an analog-to-digital converter 24 accordingly, and the conversion between the digital audio signal and the analog audio signal is realized through the analog-to-digital converter 24.
[0051] The audio processing chip 20 can be implemented in any suitable electronic computing platform, for example, in the form of an audio processing chip. The audio processing chip 20 can be integrated into the sound source device 10 or the speaker 30 as a hardware functional unit according to actual needs. In other embodiments, the audio processing chip 20 can also be a separate component, which is independently provided from the sound source device 10 or the speaker 30.
[0052] The speaker 30 can be any type of electro-acoustic conversion device (such as a dynamic speaker, a moving iron speaker, a headphone or a stereo, etc.), and is a terminal device that ultimately generates sound. It is connected to the sound source device 10 through the audio processing chip 20 to play the audio data processed by the audio processing chip 20.
[0053] There is a physical transmission channel for transmitting data and instructions between the sound source device 10, the audio processing chip 20 and the speaker 30. The physical transmission channel can be a data transmission channel established based on a wireless radio frequency network (such as Bluetooth, WiFi or infrared), or a data transmission channel formed by connecting wired devices (such as USB connection or I2C bus). Based on the physical transmission channel, processed or unprocessed audio signals can be transmitted in any suitable format or communication protocol.
[0054] Conventional high-order harmonic generation methods require the use of two different methods to generate odd harmonics and even harmonics respectively, which may lead to poor coordination and difficulty in harmony due to the different characteristics between the two. The virtual bass module provided by the embodiment of the present invention can generate odd harmonics and even harmonics in the same way, which is conducive to obtaining self-harmonious high-order harmonics and improving the effect of virtual bass.
[0055] Figure 3 FIG. 2 is a schematic diagram of the structure of the virtual bass module 22 provided in an embodiment of the present invention. Figure 3 As shown, the virtual bass module may include: a filter 31, a harmonic generator 32, a high-order harmonic synthesizer 33 and a virtual bass synthesizer 34.
[0056] Wherein, the filter 31 is located at the input end of the virtual bass module, and is used to detect the low-frequency fundamental wave of the input audio signal in the low-frequency area. The filter parameters of the filter can be set in multiple groups, respectively adapted to speakers with different resonance frequencies. When in use, appropriate filter parameters can be selected according to the actual speaker 30 selected to be used, so as to obtain the low-frequency fundamental wave in the low-frequency area.
[0057] The low-frequency fundamental wave serves as basic data for audio signal processing and can be provided to subsequent functional modules for performing virtual bass sound enhancement operations.
[0058] The harmonic generator 32 is used to generate odd harmonics of the low-frequency fundamental wave, and based on the odd harmonics, generates even harmonics of the low-frequency fundamental wave through modulation and demodulation of the first high-frequency carrier and the second high-frequency carrier.
[0059] The harmonic generator 32 can use any existing algorithm or calculation method to generate odd harmonics of the low-frequency fundamental wave (for example, a nonlinear method). The odd harmonics refer to harmonics whose frequencies are odd multiples of the frequency of the low-frequency fundamental wave. In this embodiment, they are represented by fm, 3fm, ..., nfm, where n is an odd number and fm is the low-frequency fundamental wave.
[0060] After generating odd harmonics, the harmonic generator 32 further utilizes the modulation and demodulation principle to generate corresponding even harmonics through the first high frequency carrier and the second high frequency carrier that meet the specific frequency condition requirements.
[0061] The high-order harmonic synthesizer 33 is connected to the harmonic generator 32, and can modify the odd harmonics and even harmonics output by the synthesized harmonic generator 32 (for example, simple gain and filtering adjustment), so as to synthesize high-order harmonics that are self-harmonious and have complete odd and even frequency multiples. The modification and synthesis can be carried out in a corresponding manner according to the actual situation, such as filtering or EQ gain processing.
[0062] Specifically, the high-order harmonic synthesizer 33 may include an equalizer and a modification filter. The equalizer is used to adjust the gain values of the odd harmonics and the even harmonics. The modification filter is used to coordinate and adjust the odd harmonics and the even harmonics.
[0063] Of course, the functional modules specifically included in the high-order harmonic synthesizer 33 may be increased or adjusted according to actual needs, and the odd harmonics and even harmonics may be adjusted accordingly.
[0064] After obtaining the high-order harmonics with complete frequency doubling through the high-order harmonic synthesizer 33, the virtual bass synthesizer 34 finally combines the high-order harmonics with the original sound to achieve the bass compensation effect of the virtual bass.
[0065] The virtual bass synthesizer 34 can combine the high-order harmonics with the original sound according to a preset ratio, and output them to the subsequent functional module. The preset ratio is an empirical value and can be set according to the actual needs.
[0066] The original sound refers to the initial audio data output by the sound source device. After being processed by the above virtual bass module, bass sound effects can be added to the low-frequency area of the original sound.
[0067] Although only the virtual bass realization method when the harmonic generator 32 generates odd harmonics is described in the embodiment of the present invention, it can be understood by those skilled in the art that the harmonic generator 32 can also generate even harmonics, and based on the even harmonics, the odd harmonics are obtained by adopting a corresponding method (using the first high-frequency carrier and the second high-frequency carrier).
[0068] The specific process of generating odd harmonics and even harmonics by the harmonic generator is described in detail below with reference to specific examples. Figure 4 As shown, the harmonic generator 32 includes: a harmonic generating unit 321 , a modulation and demodulation unit 322 and a bandpass filter 323 .
[0069] In some embodiments, the harmonic generation unit 321 generates odd harmonics f of the low-frequency fundamental wave by nonlinear means. m , 3f m ,……,nf m (n is an odd number). Then, the odd harmonic is multiplied by the first high frequency carrier by the modulation and demodulation unit, and multiplied by the second high frequency carrier during demodulation to obtain a demodulated frequency wave.
[0070] Among them, the first high-frequency carrier f 1 With the second high frequency carrier f 2 The first high frequency carrier f 1 With the low frequency fundamental wave f m The difference is equal to the second high frequency carrier f 2 The condition, that is, f 1 -f m =f 2 .
[0071] With fundamental frequency fm For example, it is respectively combined with the first high frequency carrier f 1 and the second high frequency carrier f 2 The result of multiplication is shown in formula (1):
[0072] cos(f 1 *t)*cos(f m *t)*cos(f 2 *t) (1)
[0073] After transforming formula (1), we can get:
[0074] 1 / 4{cos((f 1 +f 2 +f m )t)+cos((f 1 -f 2 +f m )t)+cos((f 1 +f 2 -f m )t)+cos((f 1 -f 2 -f m )t)}
[0075] Because f 1 -f m =f 2 Therefore, the four frequency points after demodulation of the second high frequency carrier are: 1 / 4(2f 1 )、1 / 4(2f m )、1 / 4(2f 1 -2f m ) and 1 / 4(0).
[0076] When the frequencies of the first high-frequency carrier and the second high-frequency carrier are much higher than the low-frequency fundamental wave (i.e., f 1 >>f m ), the frequency difference between the unwanted non-target frequency and the desired target frequency in the above four frequency points is very large. Therefore, it is very simple to filter out the unwanted non-target frequency points through a bandpass filter to obtain the required 2f m .
[0077] Similarly, if we use the triple frequency 3f m Respectively with the first high frequency carrier f 1 and the second high frequency carrier f 2 After multiplication, we can get the result shown in formula (3):
[0078] cos(f 1 *t)*cos(f m*t)*cos(f 2 *t) (2)
[0079] After transforming formula (2), we can get:
[0080] 1 / 4{cos((f 1 +f 2 +3f m )t)+cos((f 1 -f 2 +3f m )t)+cos((f 1 +f 2 -3f m )t)+cos((f 1 -f 2 -3f m )t)}
[0081] Similarly, according to f 1 -f m =f 2 Finally, the following four frequency points can be obtained: 1 / 4(2f 1 +2f m )、1 / 4(4f m )、1 / 4(2f 1 -4f m ) and 1 / 4(-2f m ).
[0082] In f 1 >>3f m Under the premise of ignoring the negative frequency and filtering out the non-target frequency through a bandpass filter, the required 4f m .
[0083] In other embodiments, the harmonic generation unit 321 uses a nonlinear method to first generate even harmonics 2f of the low-frequency fundamental wave. m , 4f m ,……,nf m (n is an even number). Then, the modulation and demodulation unit multiplies the even harmonic by the first high frequency carrier, and multiplies it by the second high frequency carrier during demodulation to obtain a demodulated frequency wave.
[0084] Among them, the first high-frequency carrier f 1 With the second high frequency carrier f 2 The first high frequency carrier f 1 With the low frequency fundamental wave f m The sum is equal to the second high frequency carrier f 2 The condition, that is, f 1 +f m =f 2.
[0085] At double frequency 2f m For example, it is respectively combined with the first high frequency carrier f 1 and the second high frequency carrier f 2 The result of multiplication is shown in formula (3):
[0086] cos(f 1 *t)*cos(2f m *t)*cos(f 2 *t) (3)
[0087] After transforming formula (3), we can get:
[0088] 1 / 4{cos((f 1 +f 2 +2f m )t)+cos((f 1 -f 2 +2f m )t)+cos((f 1 +f 2 -2f m )t)+cos((f 1 -f 2 -2f m )t)}
[0089] Because f 1 +f m =f 2 Therefore, the four frequency points finally obtained are: 1 / 4(2f 1 +3f m )、1 / 4(f m )、1 / 4(2f 1 -f m ) and 1 / 4(-3f m ).
[0090] When the frequencies of the first high-frequency carrier and the second high-frequency carrier are much higher than the low-frequency fundamental wave (i.e., f 1 >>2f m ), the frequency difference between the unwanted non-target frequency points and the desired target frequency points among the above four frequency points is very large. Therefore, the negative frequency can be ignored and the unwanted non-target frequency points can be simply filtered out by a bandpass filter to obtain the required f m .
[0091] Similarly, if we use the quadruple frequency 4f m Respectively with the first high frequency carrier f 1 and the second high frequency carrier f 2 After multiplication, we can get the result shown in formula (4):
[0092] cos(f 1 *t)*cos(4f m *t)*cos(f 2 *t) (4)
[0093] After transforming formula (4), we can get:
[0094] 1 / 4{cos((f 1 +f 2 +4f m )t)+cos((f 1 -f 2 +4f m )t)+cos((f 1 +f 2 -4f m )t)+cos((f 1 -f 2 -4f m )t)}
[0095] Similarly, according to f 1 +f m =f 2 Finally, the following four frequency points can be obtained: 1 / 4(2f 1 +5f m )、1 / 4(3f m )、1 / 4(2f 1 -3f m ) and 1 / 4(-5f m ).
[0096] In f 1 >>4f m Under the premise of ignoring the negative frequency and filtering out the non-target frequency through a bandpass filter, the required odd-multiple frequency 3f can be obtained. m .
[0097] Based on the information provided by the embodiment of the present invention m , 2f m 、3f m and 4f m A specific processing example of the invention can be easily thought of by those skilled in the art that the same principle or inventive idea can be extended to other nf m In the example, based on odd or even multiples, the required even or odd multiples are obtained. m Based on the first high frequency carrier and the second high frequency carrier, 6f is obtained m .
[0098] It should be noted that, although the hardware circuit modules in the above audio processing chip are described only by functional naming in the embodiments of the present invention, those skilled in the art can select any suitable existing electronic components or devices to implement the functions to be performed by the hardware circuit modules disclosed in the embodiments of the present invention.
[0099] The specific implementation of each functional module by software, hardware or software and hardware can be determined by the requirements of the actual application. For example, when the chip cost requirements are relatively strict, the software and hardware can be implemented in combination to reduce the required chip circuit area and increase flexibility.
[0100] In some embodiments, the one or more functional modules can be provided as separate components. In other embodiments, two or more functional modules can be integrated into the same hardware circuit or circuit chip.
[0101] Based on the hardware functional module of the audio processing chip disclosed in the above embodiment, the embodiment of the present invention also provides a corresponding virtual bass generation method. Based on the virtual bass generation method, self-harmonic high-order harmonics can be obtained to provide better bass effect.
[0102] Figure 5 A method for generating virtual bass provided by an embodiment of the present invention. Figure 5 As shown, the virtual bass generation method may include the following steps:
[0103] 510. Generate odd harmonics of a low-frequency fundamental wave.
[0104] The odd harmonics refer to harmonics whose frequencies are odd multiples of the low-frequency fundamental wave. m 、3f m , 5f m ... indicates. m The required odd harmonics may be generated in any suitable manner, for example, simply by a nonlinear approach.
[0105] 520. Based on the odd harmonics, generate even harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier.
[0106] The first high frequency carrier and the second high frequency carrier should meet the following requirement: the difference between the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier.
[0107] By using the principle of modulation and demodulation, a result containing even harmonic components can be generated. The desired even harmonics can be obtained by simply and quickly separating the demodulation result through simple bandpass filtering and other methods.
[0108] 530. Synthesize the odd harmonics and the even harmonics to obtain high-order harmonics with complete odd and even frequency multiples.
[0109] Since even harmonics and odd harmonics are obtained based on the same method (even harmonics are obtained by transforming odd harmonics), they have the same characteristics and can easily obtain self-harmonic high-order harmonics.
[0110] 540. Combine the high-order harmonics and the original sound according to a preset ratio.
[0111] After obtaining the high-order harmonics with complete odd and even frequencies, they can be combined with the original audio data and provided to the speaker for playback, thereby enhancing the bass effect of the speaker.
[0112] The original sound refers to the initial audio data provided by the sound source device without sound effect processing. The preset ratio is an empirical value and can be set by those skilled in the art according to the actual needs.
[0113] Specifically, step 520 can be implemented by the following steps: first, according to the modulation principle, the odd harmonics are multiplied with the first high frequency carrier, and then, during demodulation, they are multiplied with the second high frequency carrier to obtain a demodulated frequency wave.
[0114] Finally, non-target frequency points of the demodulated frequency wave are filtered out to generate even harmonics of the low-frequency fundamental wave.
[0115] The non-target frequency points are some unnecessary frequency points contained in the demodulated frequency waves after the first high frequency carrier and the second high frequency carrier are used for modulation and demodulation.
[0116] Preferably, when the first high frequency carrier and the second high frequency carrier use an ultra-high frequency carrier signal, the frequency difference between the non-target frequency point and the required target frequency point in the demodulation result will be very significant. Thus, the target frequency point can be conveniently selected from the demodulation result by using a bandpass filter.
[0117] The ultra-high frequency carrier signal is a relative concept, which is used to indicate that the frequency difference between the first high frequency carrier and the second high frequency carrier and the low frequency fundamental wave is very large, for example, 100 times or 1000 times the frequency of the low frequency fundamental wave. The greater the frequency difference between the first high frequency carrier and the second high frequency carrier and the low frequency fundamental wave, the easier it is to pick out the non-target frequency point. Those skilled in the art can select the first high frequency carrier and the second high frequency carrier with appropriate frequencies according to the actual needs.
[0118] In other embodiments, the same virtual bass realization process described above may be completed based on the even harmonics of the low-frequency fundamental wave to obtain self-harmonic high-order harmonics. Figure 6 Another embodiment of the present invention provides a method for generating virtual bass. Figure 6 As shown, the virtual bass generation method may include the following steps:
[0119] 610. Generate even harmonics of a low-frequency fundamental wave.
[0120] The even harmonics refer to harmonics whose frequencies are even multiples of the low-frequency fundamental wave. m 、4f m 、6f m ... indicates. m The required even harmonics may be generated in any suitable manner, for example, simply by using a nonlinear load.
[0121] 620. According to the modulation principle, the even harmonics are multiplied with the first high-frequency carrier, and during demodulation, they are multiplied with the second high-frequency carrier to obtain a demodulated frequency wave.
[0122] The first high frequency carrier and the second high frequency carrier need to meet the following condition: the sum of the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier.
[0123] 630. Filter out non-target frequency points of the demodulated frequency wave to generate odd harmonics of the low-frequency fundamental wave. After the modulation and demodulation are completed, a bandpass filter can be selected to filter out unnecessary components to obtain the desired odd harmonics.
[0124] 640. Synthesize the odd harmonics and the even harmonics to obtain high-order harmonics with complete odd and even frequency multiples.
[0125] and Figure 5 The same thing about the embodiments shown is that the odd harmonics and even harmonics obtained by the above method are both generated by the same method and have the same characteristics, so it is easy to generate self-harmonic high-order harmonics.
[0126] 650. Combine the high-order harmonics and the original sound according to a preset ratio.
[0127] The original sound combined with the high-order harmonics achieves the effect of virtual bass. The part originally in the low-frequency area can be simulated by high-order harmonic interpolation, and when played by the speaker, it can have a better bass feeling.
[0128] Professionals should further realize that the exemplary virtual bass implementation steps described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the composition and steps of each example according to function. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.
[0129] Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. The computer software may be stored in a computer-readable storage medium, and when the program is executed, it may include the process of the embodiments of the above methods. The storage medium may be a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0130] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A virtual bass generation method, characterized in that: include: Generate odd harmonics of low-frequency fundamental wave; Based on the odd harmonics, even harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of the first high-frequency carrier and the second high-frequency carrier; The difference between the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier; Synthesizing the odd harmonics and the even harmonics to obtain high-order harmonics with complete odd-even frequency multiplication; combining the high-order harmonics with the original sound according to a preset ratio; Based on the odd harmonics, even harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of the first high-frequency carrier and the second high-frequency carrier, including: According to the modulation principle, the odd harmonics are multiplied with the first high-frequency carrier, and during demodulation, they are multiplied with the second high-frequency carrier to obtain a demodulated frequency wave; Non-target frequency points of the demodulated frequency wave are filtered out to generate even harmonics of the low-frequency fundamental wave.
2. The virtual bass generation method according to claim 1, characterized in that: The first high frequency carrier and the second high frequency carrier are ultra-high frequency carrier signals relative to the odd harmonics.
3. A virtual bass generation method, characterized in that: include: Generate even harmonics of low-frequency fundamental wave; Based on the even harmonics, odd harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of the first high-frequency carrier and the second high-frequency carrier; The sum of the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier; Synthesizing the odd harmonics and the even harmonics to obtain high-order harmonics with complete odd-even frequency multiplication; combining the high-order harmonics with the original sound according to a preset ratio; Based on the even harmonics, odd harmonics of the low-frequency fundamental wave are generated by modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier, including: According to the modulation principle, the even harmonics are multiplied with the first high frequency carrier, and during demodulation, they are multiplied with the second high frequency carrier to obtain a demodulated frequency wave; Non-target frequency points of the demodulated frequency wave are filtered out to generate odd harmonics of the low-frequency fundamental wave.
4. The virtual bass generation method according to claim 3, characterized in that: The first high frequency carrier and the second high frequency carrier are ultra-high frequency carrier signals relative to the even harmonics.
5. A virtual bass module, characterized in that: include: A harmonic generator, the harmonic generator is used to generate odd harmonics of a low-frequency fundamental wave, and based on the odd harmonics, generates even harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; The difference between the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier; A high-order harmonic synthesizer, the high-order harmonic synthesizer is used to synthesize the odd harmonics and the even harmonics to generate high-order harmonics with complete odd-even frequency multiples; A virtual bass synthesizer, the virtual bass synthesizer is used to combine the high-order harmonics with the original sound according to a preset ratio; The harmonic generator is specifically used for: according to the modulation principle, multiplying the odd harmonics with the first high-frequency carrier, and during demodulation, multiplying them with the second high-frequency carrier to obtain a demodulated frequency wave; filtering out non-target frequency points of the demodulated frequency wave to generate even harmonics of the low-frequency fundamental wave.
6. A virtual bass module, characterized in that: include: A harmonic generator, the harmonic generator is used to generate even harmonics of a low-frequency fundamental wave, and based on the even harmonics, generates odd harmonics of the low-frequency fundamental wave through modulation and demodulation of a first high-frequency carrier and a second high-frequency carrier; The sum of the first high frequency carrier and the low frequency fundamental wave is equal to the second high frequency carrier; A high-order harmonic synthesizer, the high-order harmonic synthesizer is used to synthesize the odd harmonics and the even harmonics to generate high-order harmonics with complete odd-even frequency multiples; A virtual bass synthesizer, the virtual bass synthesizer is used to combine the high-order harmonics with the original sound according to a preset ratio; The harmonic generator is specifically used to: according to the modulation principle, multiply the even harmonics with the first high-frequency carrier, and during demodulation, multiply them with the second high-frequency carrier to obtain a demodulated frequency wave; Non-target frequency points of the demodulated frequency wave are filtered out to generate odd harmonics of the low-frequency fundamental wave.
7. The virtual bass module according to claim 5 or 6, characterized in that: The harmonic generator comprises: a harmonic generating unit, a modulation and demodulation unit and a bandpass filter; The harmonic generating unit is used to generate odd harmonics or even harmonics of the low-frequency fundamental wave; The modulation and demodulation unit is used to: multiply the odd harmonic or the even harmonic with the first high frequency carrier and the second high frequency carrier respectively to obtain a demodulated frequency wave; The bandpass filter is used to filter out non-target frequency points in the demodulated frequency wave to obtain corresponding even harmonics or odd harmonics.
8. The virtual bass module according to claim 5 or 6, characterized in that: The high-order harmonic synthesizer includes: an equalizer and a modification filter; The equalizer is used to adjust the gain values of the odd harmonics and the even harmonics; The modification filter is used for adjusting the odd harmonics and the even harmonics.
9. An audio processing chip, characterized in that: include: A decoding module, the decoding module is used to decode the received audio signal; The virtual bass module according to any one of claims 5 to 8, wherein the virtual bass module is used to add corresponding virtual bass to the audio signal; as well as A power amplifier is used to amplify the audio signal output by the virtual bass module to provide a signal power that meets the requirements of the speaker.
10. The audio processing chip according to claim 9, characterized in that: The audio signal is a digital audio signal; The audio processing chip also includes: a digital-to-analog converter; the digital-to-analog converter is connected to the virtual bass module and the power amplifier respectively, and is used to convert the digital audio signal output by the virtual bass module into an analog audio signal.
