Signal processing method, apparatus, device, and computer-readable storage medium
By controlling the amplitude and dynamic range of multi-band signals, the problem of overall loudness loss caused by excessive energy in special frequency bands in multi-band dynamic range control technology is solved, and efficient and high-quality output of signal processing is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GOERTEK INC
- Filing Date
- 2023-04-23
- Publication Date
- 2026-07-24
AI Technical Summary
In multi-band dynamic range control technology, there is a problem of overall loudness loss due to excessively high energy in special frequency bands.
By acquiring multiple sub-band signals of the input signal, determining the target frequency point and adjusting the amplitude, generating the second sub-band signal, determining the dynamic range control gain to perform dynamic range control, forming the third sub-band signal, and superimposing them to form the output signal.
It solves the problem of overall loudness loss caused by excessive energy in special frequency bands, ensuring that the overall loudness of the output signal does not decrease, and improving the efficiency and effectiveness of signal processing.
Smart Images

Figure CN116506770B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital signal processing technology, and more particularly to signal processing methods, apparatus, devices, and computer-readable storage media. Background Technology
[0002] In digital signal processing, excessively strong audio signals can damage speaker components. To control the audio signal within a certain range before it reaches the speaker, Multi-Band Dynamic Range Controller (MBDRC) technology is commonly used. This technology adjusts the dynamic range of the input audio signal by compressing large-amplitude signals before the output signal to avoid clipping distortion, while amplifying small-amplitude signals to make them easily perceptible to the human ear. The working principle of MBDRC is as follows: it divides the input audio signal into M frequency bands, processes each band by applying band-dependent gain, and then combines the processed signals to generate the output signal that will be sent to the speaker.
[0003] In related technologies, multi-band dynamic range control technology suffers from the problem of overall loudness loss due to excessively high energy in specific frequency bands. For example, if a certain amount of pre-attenuation is applied to the entire frequency band, when there is a specific frequency band with excessively high energy in a certain band, the attenuation amount for that frequency band will be higher. This will cause the energy of other frequency bands in that band to be attenuated excessively, reducing the overall sound signal output energy, decreasing the overall loudness of the sound, and ultimately resulting in a poor overall listening experience.
[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main objective of this invention is to provide a signal processing method, apparatus, device, and computer-readable storage medium, which aims to solve the problem of overall loudness loss due to excessively high energy in special frequency bands in multi-band dynamic range control technology.
[0006] To achieve the above objectives, the present invention provides a signal processing method, the signal processing method comprising the following steps: After acquiring multiple first sub-frequency band signals corresponding to the input signal, the target frequency point and the amplitude adjustment value of the target frequency point are determined based on the amplitude value of each frequency point in the first sub-frequency band signal, wherein the amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold. The target frequency point is amplitude adjusted according to the amplitude adjustment value to generate a second sub-frequency band signal; Determine the dynamic range control gain corresponding to each second sub-band signal, and perform dynamic range control on each second sub-band signal based on the dynamic range control gain to form a third sub-band signal; The third sub-band signals corresponding to each of the first sub-band signals are superimposed to form the output signal.
[0007] Optionally, the step of determining the target frequency and the amplitude adjustment value of the target frequency based on the amplitude values of each frequency point in the first sub-frequency band includes: Based on the amplitude value, the frequency point corresponding to the amplitude value being greater than or equal to the preset amplitude threshold is taken as the target frequency point; The amplitude adjustment value is determined based on the first difference between the amplitude value of the target frequency point and the amplitude value of the remaining frequency points.
[0008] Optionally, the second difference between the amplitude value of the target frequency point after amplitude adjustment and the amplitude value of the remaining frequency points in the second sub-frequency band signal is within a preset difference range.
[0009] Optionally, the step of determining the target frequency and the amplitude adjustment value of the target frequency based on the amplitude values of each frequency point in the first sub-frequency band signal after acquiring the multiple first sub-frequency band signals corresponding to the input signal includes: After acquiring the first sub-frequency band signal, the phase adjustment value corresponding to each first sub-frequency band signal is determined based on the phase difference between each first sub-frequency band signal. The first sub-band signal is phase-shifted based on the phase adjustment value; Based on the amplitude values of each frequency point in the phase-shifted first sub-band signal, determine the target frequency point and the amplitude adjustment value of the target frequency point.
[0010] Optionally, the step of phase-shifting the first sub-band signal based on the phase adjustment value includes: The second filter parameters of the second filter corresponding to the first sub-band signal are determined according to the phase adjustment value. The second filter is set in the frequency division processing branch for processing the first sub-band signal. Different first sub-band signals correspond to different frequency division processing branches. Based on the second filter parameters, the second filters in each frequency division processing branch are controlled to perform phase shifting on the first sub-band signal.
[0011] Optionally, the step of determining the second filter parameters of the second filter corresponding to the first sub-band signal based on the phase adjustment value includes: Obtain the phase response function of the second filter; Based on the phase response function, the initial solution and the order of the second filter are calculated using the group delay decomposition algorithm; Based on the order and the initial solution, the second filter parameters corresponding to the phase adjustment value are calculated using a genetic algorithm.
[0012] Optionally, before the step of determining the target frequency and the amplitude adjustment value of the target frequency based on the amplitude values of each frequency point in the first sub-frequency band signal after acquiring the multiple first sub-frequency band signals corresponding to the input signal, the method further includes: Receive the frequency division setting command input by the user, and determine the first filter parameters of the first filter in each frequency division processing branch according to the frequency division setting command; Based on the first filter parameters, the first filter in each of the frequency division processing branches is controlled to generate the corresponding first sub-band signal.
[0013] Furthermore, to achieve the above objectives, the present invention also provides a signal processing apparatus, the signal processing apparatus comprising: Signal input terminal; A preset number of frequency division processing branches are provided, and each of the frequency division processing branches is connected in parallel between the signal input terminal and the signal synthesis unit. A signal synthesis unit, wherein the signal synthesis unit is connected to the output terminal of each of the frequency division processing branches; Each of the frequency division processing branches includes: A first filter, wherein the input terminal of the first filter is connected to the signal input terminal; An amplitude adjustment unit, wherein the input terminal of the amplitude adjustment unit is connected to the output terminal of the first filter; A dynamic range control unit, the input of which is connected to the output of the amplitude adjustment unit.
[0014] Optionally, each of the frequency division processing branches further includes: A second filter is connected between the first filter and the amplitude adjustment unit.
[0015] In addition, to achieve the above objectives, the present invention also provides an apparatus comprising the signal processing device described above; The device further includes: a memory, a processor, and a signal processing program stored in the memory and executable on the processor, wherein the signal processing program, when executed by the processor, implements the steps of the signal processing method as described above.
[0016] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a signal processing program, which, when executed by a processor, implements the steps of the signal processing method described above.
[0017] This invention proposes a signal processing method, apparatus, device, and computer-readable storage medium. After acquiring multiple first sub-frequency band signals corresponding to an input signal, a target frequency point and an amplitude adjustment value for the target frequency point are determined based on the amplitude values of each frequency point in the first sub-frequency band signals. The amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold. The amplitude of the target frequency point is then adjusted according to the amplitude adjustment value to generate a second sub-frequency band signal. Furthermore, a dynamic range control gain corresponding to each second sub-frequency band signal is determined, and dynamic range control is performed on each second sub-frequency band signal based on the dynamic range control gain to form a third sub-frequency band signal. Finally, the third sub-frequency band signals corresponding to each first sub-frequency band signal are superimposed to form an output signal. By adjusting the amplitude of the target frequency points of each first sub-frequency band signal, the generated second frequency band signal does not contain special frequency bands with excessively high energy, thereby solving the problem of overall loudness loss caused by the presence of special frequency bands with excessively high energy. Attached Figure Description
[0018] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a schematic diagram of the architecture of the signal processing device involved in the embodiments of the present invention; Figure 3 This is a flowchart illustrating the first embodiment of the signal processing method of the present invention; Figure 4 This is a detailed flowchart of step S10 in the first embodiment of the signal processing method of the present invention; Figure 5 This is a detailed flowchart of step S10 in the second embodiment of the signal processing method of the present invention; Figure 6 This is a detailed flowchart of step S14 in the second embodiment of the signal processing method of the present invention.
[0019] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0020] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0021] The main solution of this invention is as follows: After acquiring multiple first sub-frequency band signals corresponding to the input signal, a target frequency point and an amplitude adjustment value for the target frequency point are determined based on the amplitude values of each frequency point in the first sub-frequency band signals, wherein the amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold; the amplitude of the target frequency point is adjusted according to the amplitude adjustment value to generate a second sub-frequency band signal; the dynamic range control gain corresponding to each second sub-frequency band signal is determined, and dynamic range control is performed on each second sub-frequency band signal based on the dynamic range control gain to form a third sub-frequency band signal; the third sub-frequency band signals corresponding to each first sub-frequency band signal are superimposed to form an output signal.
[0022] like Figure 1 As shown, Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.
[0023] The devices involved in the terminal of this invention can be near-ear open-back devices, including but not limited to AR (Augmented Reality) devices, VR (Virtual Reality) devices, smart audio glasses, neckband speakers, open-back headphones, etc., and can also be far-ear open-back devices, including but not limited to speakers, televisions, etc.
[0024] like Figure 1 As shown, the device may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; a communication bus 1002; and a speaker 1006. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0025] Optionally, the device may also include a camera, RF (Radio Frequency) circuitry, sensors, audio circuitry, a WiFi module, and so on. Sensors may include light sensors, motion sensors, and other sensors. Specifically, light sensors may include ambient light sensors and proximity sensors. The ambient light sensor can adjust the brightness of the device's display screen according to the ambient light level, while the proximity sensor can turn off the display screen and / or backlight when the device is moved close to the ear. As a type of motion sensor, a gravity accelerometer can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify device posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition functions (such as pedometers, tapping), etc. Of course, the device may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which will not be elaborated here.
[0026] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0027] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a signal processing program.
[0028] exist Figure 1 In the device shown, network interface 1004 is mainly used to connect to the backend server and communicate with it; user interface 1003 is mainly used to connect to the client (user terminal) and communicate with it; and processor 1001 can be used to call the signal processing program stored in memory 1005 and perform the following operations: After acquiring multiple first sub-frequency band signals corresponding to the input signal, the target frequency point and the amplitude adjustment value of the target frequency point are determined based on the amplitude value of each frequency point in the first sub-frequency band signal, wherein the amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold. The target frequency point is amplitude adjusted according to the amplitude adjustment value to generate a second sub-frequency band signal; Determine the dynamic range control gain corresponding to each second sub-band signal, and perform dynamic range control on each second sub-band signal based on the dynamic range control gain to form a third sub-band signal; The third sub-band signals corresponding to each of the first sub-band signals are superimposed to form the output signal.
[0029] Furthermore, the processor 1001 can call the signal processing program stored in the memory 1005 and also perform the following operations: Based on the amplitude value, the frequency point corresponding to the amplitude value being greater than or equal to the preset amplitude threshold is taken as the target frequency point; The amplitude adjustment value is determined based on the first difference between the amplitude value of the target frequency point and the amplitude value of the remaining frequency points.
[0030] Furthermore, the processor 1001 can call the signal processing program stored in the memory 1005 and also perform the following operations: After acquiring the first sub-frequency band signal, the phase adjustment value corresponding to each first sub-frequency band signal is determined based on the phase difference between each first sub-frequency band signal. The first sub-band signal is phase-shifted based on the phase adjustment value; Based on the amplitude values of each frequency point in the phase-shifted first sub-band signal, determine the target frequency point and the amplitude adjustment value of the target frequency point.
[0031] Furthermore, the processor 1001 can call the signal processing program stored in the memory 1005 and also perform the following operations: The second filter parameters of the second filter corresponding to the first sub-band signal are determined according to the phase adjustment value. The second filter is set in the frequency division processing branch for processing the first sub-band signal. Different first sub-band signals correspond to different frequency division processing branches. Based on the second filter parameters, the second filters in each frequency division processing branch are controlled to perform phase shifting on the first sub-band signal.
[0032] Furthermore, the processor 1001 can call the signal processing program stored in the memory 1005 and also perform the following operations: Obtain the phase response function of the second filter; Based on the phase response function, the initial solution and the order of the second filter are calculated using the group delay decomposition algorithm; Based on the order and the initial solution, the second filter parameters corresponding to the phase adjustment value are calculated using a genetic algorithm.
[0033] Furthermore, the processor 1001 can call the signal processing program stored in the memory 1005 and also perform the following operations: Receive the frequency division setting command input by the user, and determine the first filter parameters of the first filter in each frequency division processing branch according to the frequency division setting command; Based on the first filter parameters, the first filter in each of the frequency division processing branches is controlled to generate the corresponding first sub-band signal.
[0034] Optionally, the device further includes a signal processing unit, such as... Figure 2 As shown, Figure 2 A schematic diagram of the signal processing device architecture is shown.
[0035] Optionally, the signal processing device includes: Signal input terminal 100; A preset number of frequency division processing branches 200 are provided, and each of the frequency division processing branches 200 is connected in parallel between the signal input terminal 100 and the signal synthesis unit 300. A signal synthesis unit 300 is provided, which is connected to the output terminals of each of the frequency division processing branches 200. Each of the frequency division processing branches 200 includes: A first filter 201, the input terminal of which is connected to the signal input terminal 100; Amplitude adjustment unit 203, the input terminal of which is connected to the output terminal of the first filter 201; A dynamic range control unit 204, the input terminal of which is connected to the output terminal of the amplitude adjustment unit 203; Each of the frequency division processing branches 200 further includes: The second filter 202 is connected between the first filter 201 and the amplitude adjustment unit 203.
[0036] Optionally, the signal input terminal 100 is used to acquire the input signal and transmit the input signal to the first filter 201 of each frequency division processing branch 200 to generate first sub-frequency band signals with different frequency band ranges. The input signal is an audio signal. The first filter 201 corresponding to different frequency division processing branches 200 is different. For example, the first filter 201 may include a low-pass filter, a high-pass filter, and a mid-pass filter. The first sub-frequency band signal includes low-frequency band signal, high-frequency band signal, mid-frequency band signal, etc. The frequency of the frequency band range corresponding to the low-frequency band signal is lower than the frequency of the frequency band range corresponding to the mid-frequency band signal, and the frequency of the frequency band range corresponding to the mid-frequency band signal is lower than the frequency of the frequency band range corresponding to the high-frequency band signal. The preset number can be user-defined or configured before the system leaves the factory. The preset number is greater than or equal to 2 segments, and the preset number can be 3 segments or 4 segments. It is not limited here.
[0037] Optionally, each of the frequency division processing branches 200 corresponds to a different frequency band range and is used to process the frequency band signal of the corresponding frequency band range to output a corresponding third sub-frequency band signal, wherein there is no phase difference between any two third sub-frequency band signals; and / or after superimposing the third sub-frequency band signals, the superimposed signal has no phase difference, in which case the phase difference between any two third sub-frequency band signals can be an integer multiple of 360 degrees.
[0038] Optionally, the frequency division processing branch 200 further includes a second filter 200, which is used to perform phase adjustment on the first sub-band signals corresponding to each of the frequency division processing branches 200, and use the phase-adjusted first sub-band signals as second sub-band signals, wherein there is no phase difference between any two second sub-band signals; and / or, the phase difference between any two second sub-band signals can be an integer multiple of 360 degrees. Optionally, after obtaining each first sub-band signal through the first filter 201, the second filter 202 in each frequency division processing branch 200 performs phase adjustment on each first sub-band signal to generate a second sub-band signal; optionally, the method by which the second filter 202 performs phase adjustment on each first sub-band signal includes: determining the phase difference between each first sub-band signal, determining the phase adjustment value corresponding to each first sub-band signal based on the phase difference, and performing phase shift on each sub-band signal based on the phase adjustment value; the phase adjustment value can be the value required to ensure that there is no phase difference between any two adjusted first sub-band signals. The phase adjustment value can also be the phase adjustment value required to ensure that the output signal generated after superimposing the adjusted first sub-frequency band signals has no phase difference. For example, if each of the first sub-frequency band signals is a low-frequency band signal, a high-frequency band signal, and a mid-frequency band signal, and the phase difference between the low-frequency band signal and the high-frequency band signal is 180 degrees, and the phase difference between the high-frequency band signal and the mid-frequency band signal is -180 degrees, the phase adjustment value of the low-frequency band signal can be determined to be -180 degrees, the phase adjustment value of the high-frequency band signal is 0 degrees, and the corresponding phase adjustment value of the mid-frequency band signal is +180 degrees. Then, the phase difference between any two of the adjusted first sub-frequency band signals is 0. Alternatively, the phase adjustment value of the low-frequency band signal can be set to +180 degrees, the phase adjustment value of the high-frequency band signal to 0 degrees, and the phase adjustment value of the corresponding mid-frequency band signal to -180 degrees. Then, the phase difference between the adjusted low-frequency band signal and the adjusted high-frequency band signal is 360 degrees, and the phase difference between the adjusted high-frequency band signal and the adjusted mid-frequency band signal is -360 degrees. Based on the phase difference of 360 degrees, the superimposed sub-band signal has no phase difference.
[0039] Optionally, the frequency division processing branch 200 further includes an amplitude adjustment unit 203. The amplitude adjustment unit 203 is used to adjust the amplitude value of the target frequency point in the first sub-frequency band signal, so that the second difference between the adjusted amplitude value corresponding to the target frequency point and the amplitude value of the remaining frequency points is within a preset difference range, and the adjusted target frequency point and the remaining frequency points generate the second sub-frequency band signal. Optionally, when the second difference between the adjusted amplitude value corresponding to the target frequency point and the amplitude value of the remaining frequency points is controlled within the preset difference range, based on the positive correlation between the energy value and the amplitude value of the frequency point, when the amplitude value of each frequency point of the second sub-frequency band signal is dynamically controlled in the subsequent process, the determined dynamic range control gain matches the second sub-frequency band signal, and the problem of excessively large or small dynamic range control gain leading to low loudness will not occur.
[0040] Optionally, the target frequency of the first sub-band signal is a frequency with an amplitude value greater than or equal to a preset amplitude threshold. The amplitude adjustment unit 203 adjusts the amplitude value of the target frequency by determining an amplitude adjustment value for the target frequency, and adjusting the amplitude of the target frequency according to the amplitude adjustment value. The amplitude adjustment value can be the required amplitude reduction for the target frequency. The method of adjusting the amplitude of the target frequency according to the amplitude adjustment value can be to limit the amplitude of the target frequency based on the amplitude adjustment value, thereby limiting the amplitude of the target frequency to the difference between the unadjusted amplitude value corresponding to the target frequency and the amplitude adjustment value. The amplitude adjustment of a frequency point can be achieved by compressing the amplitude value of the target frequency point based on the amplitude adjustment value, so that the amplitude value of the target frequency point is compressed to the difference between the unadjusted amplitude value of the target frequency point and the amplitude adjustment value; or by compressing the amplitude value of the target frequency point based on the amplitude adjustment value, and then limiting the amplitude value of the target frequency point when the amplitude value of the target frequency point is still greater than or equal to a preset amplitude threshold, thereby combining amplitude compression technology and amplitude limiting technology to adjust the amplitude value of the target frequency point to the difference between the unadjusted amplitude value of the target frequency point and the amplitude adjustment value. For example, in the first sub-band signal including frequency point 1, frequency point 2, frequency point 3, and frequency point 4, the corresponding amplitude values are 2.3dB, 2.2dB, 1.8dB, and 5.2dB, respectively. The preset amplitude threshold is 3dB, and the preset difference range is [0, 0.5dB]. Then, frequency point 4 is determined as the target frequency point, and the amplitude adjustment value is determined to be 3.2dB. Then, the amplitude value of the adjusted frequency point 4 is (5.2dB-3.2dB=2dB). At this time, the difference between the amplitude value of the adjusted frequency point 4 and the amplitude values of frequency point 1, frequency point 2, and frequency point 3 are all within the preset difference range, and the amplitude value of the adjusted frequency point 4 is lower than the preset amplitude threshold.
[0041] Optionally, the frequency division processing branch 200 further includes a dynamic range control unit 204, which is used to perform dynamic range control on the second sub-band signal of the frequency division processing branch 200 to form a third sub-band signal. Optionally, the dynamic range control unit 204 performs dynamic range control on the second sub-band signal of the frequency division processing branch 200 by determining the dynamic range control gain corresponding to the second sub-band signal of the frequency division processing branch 200, and performing dynamic range control on the second sub-band signal based on the dynamic range control gain. Optionally, determining the dynamic range control gain corresponding to the second sub-band signal of the frequency division processing branch 200 includes obtaining the amplitude value dynamic range, determining the dynamic range control gain corresponding to the second sub-band signal based on the amplitude value dynamic range, so that the amplitude range of the formed third sub-frequency signal is within the amplitude value dynamic range. The amplitude value dynamic range can be determined according to the maximum output power of the device, or it can be a user-defined setting, which is not limited here.
[0042] Optionally, the positions of the second filter 202 and the amplitude adjustment unit 203 in the frequency division processing branch 200 can be interchanged. In one embodiment, the second filter 202 is placed between the first filter 201 and the amplitude adjustment unit 203, that is, the input terminal of the second filter 202 is connected to the output terminal of the first filter 201, and the output terminal of the second filter 202 is connected to the input terminal of the amplitude adjustment unit 203. After obtaining the phase-shifted first sub-band signal based on the second filter 202, the phase-shifted second sub-band signal is then adjusted based on the amplitude adjustment unit 203. In one embodiment, the amplitude of a sub-band signal is adjusted. In another embodiment, the second filter 202 can be positioned between the amplitude adjustment unit 203 and the dynamic range control unit 204, i.e., the input of the second filter 202 is connected to the output of the amplitude adjustment unit 203, and the output of the second filter 202 is connected to the input of the dynamic range control unit 204. After acquiring the second sub-band signal based on the amplitude adjustment unit 203, the second sub-band signal is phase-shifted, and then dynamic range control is performed based on the phase-shifted second sub-band signal. Optionally, this embodiment uses the example of positioning the second filter 202 between the first filter 201 and the amplitude adjustment unit 203, with the input of the first filter 201 connected to the signal input 100, and the output of the amplitude adjustment unit 203 connected to the input of the dynamic range control unit 204.
[0043] Optionally, the frequency division processing branch 200 further includes a signal synthesis unit 300. The input terminal of the signal synthesis unit 300 is connected to the output terminal of the dynamic range control unit 204, and the output terminal of the signal synthesis unit 300 is connected to a signal output terminal. The signal synthesis unit 300 is used to superimpose the third sub-band signals corresponding to each frequency division branch to form an output signal. Optionally, after forming the output signal, the output signal is output through the signal output terminal to play the processed input signal.
[0044] In this embodiment, an amplitude adjustment unit 203 is provided before the dynamic range control unit 204 of the signal processing device. The amplitude adjustment unit 203 is used to adjust the amplitude value of the target frequency point to achieve the effect of smoothing out the energy of the target frequency point. This ensures that the second difference between the adjusted amplitude value of the target frequency point and the amplitude value of the remaining frequency points in each sub-band signal is within a preset difference range. Consequently, there are no special frequency points with excessively high energy in the second sub-band signals of each frequency band range, thus solving the problem of loss of overall loudness due to excessively high energy in special frequency bands. In addition, a second filter 202 is provided before the dynamic range control unit 204 of the signal processing device to adjust the phase of the first sub-band signals of each frequency band range. This ensures that there is no phase difference after the phase-shifted first sub-band signals are superimposed. This invention solves the problem of output signal distortion caused by phase differences between sub-band signals. Furthermore, this embodiment uses multiple frequency division processing branches 200 to process each sub-band signal in parallel, reducing the number of filters required to achieve phase-free sub-band signal synthesis. It should be noted that traditional frequency division processing units, when dividing the input signal into different frequency bands for independent processing, require at least two second-order filters for both high-frequency and low-frequency branches to ensure no phase difference between the output signals of the high-frequency and low-frequency branches. This results in traditional frequency division filters requiring at least four second-order filters when processing the input signal in two different frequency bands, leading to a complex structure and high cost. In contrast, the signal processing device of this application has a simple structure, lower computational load, and improved signal processing efficiency.
[0045] First Embodiment Optionally, refer to Figure 3 The first embodiment of the signal processing method of the present invention provides a signal processing method, the method comprising: Step S10: After acquiring multiple first sub-frequency band signals corresponding to the input signal, determine the target frequency point and the amplitude adjustment value of the target frequency point based on the amplitude value of each frequency point in the first sub-frequency band signal, wherein the amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold. Step S20: Adjust the amplitude of the target frequency point according to the amplitude adjustment value to generate a second sub-band signal; Step S30: Determine the dynamic range control gain corresponding to each of the second sub-band signals, and perform dynamic range control on each of the second sub-band signals based on the dynamic range control gain to form a third sub-band signal; Step S40: Superimpose the third sub-band signals corresponding to each first sub-band signal to form an output signal.
[0046] In this embodiment, the execution entity is as follows: Figures 1-2 The signal processing device of the illustrated apparatus performs frequency division on the input signal through various frequency division processing branches to obtain multiple first sub-frequency signals corresponding to the input signal; then it performs amplitude adjustment to adjust the amplitude value of special frequency points with excessively high energy, and uses the amplitude-adjusted first sub-frequency band signal as the second sub-frequency band signal; then it performs dynamic range control to dynamically control the range of each second sub-frequency band signal, and uses the dynamically range-controlled second sub-frequency band signal as the third sub-frequency band signal, thereby ensuring that the amplitude value of each second sub-frequency band signal is within the dynamic range of amplitude value. By applying negative gain to the high-frequency signal, the problem of signal distortion caused by signal clipping due to excessively high amplitude of the high-frequency signal is prevented, while the output effect of the low-frequency signal is improved by applying positive gain to the low-frequency signal; after generating the second sub-frequency band signal, a signal synthesis operation is performed, including superimposing the third sub-frequency band signals corresponding to each first sub-frequency band signal to form an output signal.
[0047] Optionally, the frequency division operation can be performed in the following ways: Receive the frequency division setting command input by the user, and determine the first filter parameters of the first filter in each frequency division processing branch according to the frequency division setting command; Based on the first filter parameters, the first filter in each of the frequency division processing branches is controlled to generate the corresponding first sub-band signal.
[0048] Optionally, the frequency division setting instruction includes, but is not limited to, the number of segments, several frequency division thresholds, and a preset number of frequency division processing branches. The first filter parameters of the first filter include frequency passband, cutoff frequency, and filter type. After setting a preset number of frequency division processing branches according to the preset number of frequency division processing branches in the frequency division setting instruction, at least one of the filter type, frequency passband, and cutoff frequency of the first filter of each first filter is determined according to the frequency division thresholds in the frequency division processing instruction. Then, based on the first filter parameters, the first filters in each of the frequency division processing branches are controlled to generate corresponding first sub-frequency band signals. The method of generating the corresponding first sub-frequency band signal includes using the frequency division threshold as the division point, obtaining the signal within the frequency passband, and using the signal within the frequency passband as the first sub-frequency band signal. For example, the frequency division threshold is set to 40Hz, 100Hz, 400Hz, 2000Hz, and 10000Hz, while the frequency range of the input signal is usually 20Hz-20000Hz. At this time, the input signal is divided into 6 first sub-frequency band signals by the 5 set frequency division thresholds, namely 0Hz-40Hz, 40Hz-100Hz, 100Hz-400Hz, 400Hz-2000Hz, 2000Hz-10000Hz, and 10000Hz-20000Hz. Optionally, after acquiring a preset number of first sub-band signals, the amplitude adjustment operation includes: acquiring the amplitude value of each frequency point in each first sub-band signal, determining a target frequency point and an amplitude adjustment value for the target frequency point, wherein the amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold, and then adjusting the amplitude of the target frequency point according to the amplitude adjustment, so that the adjusted amplitude value of the target frequency point is equal to the difference between the unadjusted amplitude value and the amplitude adjustment value, thereby reducing the energy of the target frequency point. Based on reducing the energy of the target frequency point, the problem of loss of loudness caused by excessive energy of the target frequency point is solved.
[0049] Optionally, refer to Figure 4 Step S10 includes: Step S11: Based on the amplitude value, the frequency point corresponding to the amplitude value being greater than or equal to the preset amplitude threshold is taken as the target frequency point; Step S12: Determine the amplitude adjustment value based on the first difference between the amplitude value of the target frequency point and the amplitude value of the remaining frequency points.
[0050] Optionally, after acquiring each first sub-frequency band signal, the first sub-frequency band signal is input to the amplitude adjustment unit of the corresponding frequency division processing branch. Upon receiving the first sub-frequency band signal, the amplitude adjustment unit acquires the amplitude value of each frequency point in the first sub-frequency band signal, compares the amplitude value of each frequency point with a preset amplitude threshold, and if it is determined that the amplitude value of at least one frequency point is greater than or equal to the preset amplitude threshold, that frequency point is designated as the target frequency point. Optionally, the preset amplitude threshold can be a user-defined setting or a setting configured before the signal processing device leaves the factory. For example, if the first sub-frequency band signal includes frequency points 1, 2, 3, and 4, with corresponding amplitude values of 2.3dB, 2.2dB, 1.8dB, and 5.2dB respectively, and the preset amplitude threshold is 3dB, then frequency point 4 is determined as the target frequency point.
[0051] Optionally, in one embodiment, the difference between the amplitude values of each frequency point can be obtained pairwise. When the difference between the amplitude value of at least one frequency point and the amplitude values of the remaining frequency points exceeds a preset difference range, that frequency point is taken as the target frequency point, that is, the frequency point whose amplitude value far exceeds the amplitude values of the remaining frequency points is taken as the target frequency point. For example, in the first sub-band signal including frequency points 1, 2, 3, and 4, the corresponding amplitude values are 2.3dB, 2.2dB, 1.8dB, and 5.2dB, respectively. The differences between frequency point 1 and frequency points 2, 3, and 4 are 0.1dB, 0.5dB, and -2.9dB, respectively; the differences between frequency point 2 and frequency points 1, 3, and 4 are -0.1dB, 0.4dB, and -3dB, respectively. B; The differences between frequency point 3 and frequency points 1, 2, and 4 are -0.5dB, -0.4dB, and -3.4dB, respectively; The differences between frequency point 4 and frequency points 1, 2, and 3 are 2.9dB, 3dB, and 3.4dB, respectively; When the preset difference range is [0dB, 1dB], it is determined that the difference between the amplitude value of frequency point 4 and the amplitude values of frequency points 1, 2, and 3 is greater than 1dB, and therefore frequency point 4 is determined as the target frequency point.
[0052] Optionally, after determining the target frequency, the amplitude adjustment value is determined based on the first difference between the amplitude value of the target frequency and the amplitude values of the remaining frequency. In one embodiment, the average value of the differences between the first differences can be obtained and the average value of the differences can be used as the amplitude adjustment value. Alternatively, the first difference with the largest value can be selected and the first difference can be used as the amplitude adjustment value. Or, the first difference with the smallest value can be selected and the first difference can be used as the amplitude adjustment value.
[0053] Optionally, the amplitude adjustment value can also be determined by determining the amplitude value of the target frequency point and using the difference between the amplitude value and the preset amplitude threshold as the amplitude adjustment value, or by using the preset amplitude threshold as the amplitude adjustment value.
[0054] Optionally, the method for determining the target frequency and the amplitude adjustment value of the target frequency can also be to display an amplitude adjustment page, which displays the amplitude values of each frequency in each first sub-band signal, obtain the setting operation for the amplitude adjustment page, determine the target frequency based on the frequency corresponding to the setting operation, and determine the amplitude adjustment value of the target frequency based on the amplitude adjustment operation corresponding to the setting operation, so that the user can adjust the amplitude value of the target frequency to be clipped according to their own needs, thereby improving the accuracy of audio adjustment.
[0055] Optionally, after determining the target frequency and the amplitude adjustment value, the amplitude of the target frequency is adjusted according to the amplitude adjustment value to reduce the amplitude value of the target frequency by the amplitude adjustment value, so that the second difference between the amplitude value of the target frequency and the amplitude value of the remaining frequency is within a preset difference range.
[0056] Optionally, after adjusting the amplitude value of the target frequency point based on the amplitude adjustment unit and generating the second sub-band signal, dynamic range control is performed to form the third sub-band signal. The dynamic range control is performed by determining the dynamic range control gain corresponding to each of the second sub-band signals, and then performing dynamic range control on each of the second sub-band signals based on the dynamic range control gain. Optionally, different second sub-band signals correspond to different dynamic range control gains. The dynamic range control gain can be an adjustment factor. In this case, the dynamic range control unit includes a multiplier. The multiplier is used to multiply the amplitude value of each frequency point in the second sub-band signal by the adjustment factor to obtain the frequency point after amplitude adjustment. The frequency point after amplitude adjustment is used as the third sub-band signal. The adjustment factor can be a positive gain factor, such as 1.5 times, or a negative gain factor, such as -1.5 times. Optionally, the dynamic range control gain can be a compensation value. In this case, the dynamic range control unit includes an adder or a subtractor. The compensation value can be a positive gain compensation value, such as +10dB; the compensation value can also be a negative gain compensation value, such as -10dB. The amplitude values of each frequency point of the second sub-band signal are added to or subtracted from the compensation value to obtain the amplitude-adjusted frequency points. The amplitude-adjusted frequency points are used as the third sub-band signal.
[0057] Optionally, after forming the third sub-frequency band signal corresponding to each first sub-frequency band signal, a signal synthesis operation is performed to add the third sub-frequency band signals to form the output signal corresponding to the input signal.
[0058] In this embodiment, after the input signal is divided into multiple first sub-band ranges with different frequency bands, the frequency point with an amplitude value greater than or equal to a preset amplitude threshold is selected as the target frequency point. Then, the amplitude value of the target frequency point is adjusted according to the amplitude adjustment value to reduce the amplitude value of the target frequency point. This makes the second difference between the amplitude value of the target frequency point after amplitude adjustment and the amplitude value of the remaining frequency points in the second sub-band signal within a preset difference range, thereby eliminating some of the energy of the frequency point with excessive energy. Then, the second sub-band signal is formed by the target frequency point with reduced energy and the remaining frequency points. Then, dynamic range control and signal synthesis are performed on the second sub-band signal in sequence to form an output signal. This solves the problem of audio loudness loss caused by excessive energy of the target frequency point, and improves the accuracy of audio processing and the quality of audio output.
[0059] Second Embodiment Optionally, to prevent audio signal distortion due to a phase difference in the third sub-band signal, this embodiment adjusts the phase of the first sub-band signal so that there is no phase difference after the third sub-band signal is superimposed. (Refer to...) Figure 5 Step S10 includes: Step S13: After obtaining the first sub-band, determine the phase adjustment value corresponding to each first sub-band signal based on the phase difference between each first sub-band signal; Step S14: Phase shift the first sub-band signal based on the phase adjustment value; Step S15: Determine the target frequency and the amplitude adjustment value of the target frequency based on the amplitude values of each frequency point in the phase-shifted first sub-band signal.
[0060] Optionally, after obtaining the first sub-frequency band, the phase difference between the first sub-frequency signals is obtained, and the phase adjustment value corresponding to each first sub-frequency band signal is determined according to the phase difference. The phase adjustment value can be the phase adjustment value required to make there no phase difference between any two pairs of the adjusted first sub-frequency band signals, or it can be the phase adjustment value required to make there no phase difference in the output signal generated after superimposing the adjusted first sub-frequency band signals. For example, if each first sub-frequency band signal is a low-frequency band signal, a high-frequency band signal, and a mid-frequency band signal, and the phase difference between the low-frequency band signal and the high-frequency band signal is 180 degrees, and the phase difference between the high-frequency band signal and the mid-frequency band signal is -180 degrees, the phase adjustment value of the low-frequency band signal can be determined to be -180 degrees, the phase adjustment value of the high-frequency band signal is 0 degrees, and the phase adjustment value corresponding to the mid-frequency band signal is +180 degrees. Then, the phase difference between any two pairs of the adjusted first sub-frequency band signals is 0. Alternatively, the phase adjustment value of the low-frequency band signal can be set to +180 degrees, the phase adjustment value of the high-frequency band signal to 0 degrees, and the phase adjustment value of the corresponding mid-frequency band signal to -180 degrees. Then, the phase difference between the adjusted low-frequency band signal and the adjusted high-frequency band signal is 360 degrees, and the phase difference between the adjusted high-frequency band signal and the adjusted mid-frequency band signal is -360 degrees. Based on the phase difference of 360 degrees, the superimposed sub-band signal has no phase difference.
[0061] Optionally, after determining the phase adjustment value, the first sub-band signal is phase-shifted based on the phase adjustment value. The method of phase-shifting the first sub-band signal based on the phase adjustment value includes: designing a second filter for the frequency division processing branch to which the first sub-band signal belongs based on the phase adjustment value. The designed second filter has the function of phase-shifting the signal based on the phase adjustment value. The method of designing the second filter specifically refers to determining the filter parameters required for the second filter to phase-shift the signal. The second filter includes cascaded all-pass filters. (Refer to...) Figure 6 Step S14 includes: Step S141: Determine the second filter parameters of the second filter corresponding to the first sub-band signal according to the phase adjustment value. The second filter is set in the frequency division processing branch for processing the first sub-band signal. Different first sub-band signals correspond to different frequency division processing branches. Step S142: Based on the second filter parameters, control the second filter in each frequency division processing branch to perform phase shift on the first sub-band signal.
[0062] Optionally, the second filter parameters are the filter parameters required when the second filter adjusts the phase to perform phase shift on the signal. Optionally, the second filter parameters can be determined based on the phase adjustment value by calculating the second filter parameters using a genetic algorithm, a particle swarm algorithm, a whale swarm algorithm, or the Levenberg-Marquardt algorithm. Optionally, the algorithm for calculating the second filter parameters described in this embodiment can also be other feasible optimization algorithms, which are not limited here. This embodiment uses the calculation of the second filter parameters based on a genetic algorithm as an example for analysis.
[0063] Optionally, the step of determining the second filter parameters of the second filter corresponding to the first sub-band signal based on the phase adjustment value includes: Obtain the phase response function of the second filter; Based on the phase response function, the initial solution and the order of the second filter are calculated using the group delay decomposition algorithm; Based on the order and the initial solution, the second filter parameters corresponding to the phase adjustment value are calculated using a genetic algorithm.
[0064] Optionally, the phase response function of each of the second filters is first generated. After the phase response function gradually approaches the phase adjustment value, there is no phase difference between any two of the phase-shifted first sub-band signals formed by the second filters, or there is no phase difference after the phase-shifted first sub-band signals are synthesized. That is, this embodiment is essentially to solve the parameters of the second filters so that their phase response function approaches the required phase response, and the required phase response is the phase adjustment value.
[0065] Optionally, after generating the phase response function, a group delay decomposition algorithm is used to calculate the initial solution corresponding to the phase response function and the order of the second filter. This includes differentiating the phase response function to obtain the group delay curve corresponding to the phase response function, adding a fixed delay value to the group delay curve so that the area enclosed by the group delay curve and the horizontal and vertical coordinate axes is an integer multiple of 2π N, resulting in a new group delay curve. The order of the phase compensation filter is then determined to be the product of 2 and the integer multiple (2N). The fixed delay value is the delay value required to make the area enclosed by the new group delay curve and the horizontal and vertical coordinate axes an integer multiple of 2π. The area enclosed by the new group delay curve and the horizontal and vertical coordinate axes is then divided into an integer multiple (N) sub-regions, each with an area of 2π. The phase and magnitude of each pole are obtained based on each sub-region, and the initial solution is calculated based on the phase and magnitude of each pole.
[0066] Optionally, after obtaining the initial solution and the order, based on the order and the initial solution, a genetic algorithm is used to calculate the second filter parameters corresponding to the phase adjustment value. Specifically, the initial solution is used as the initial chromosome in the population of the genetic algorithm, and the population is evolved and upgraded according to the evolutionary strategy based on the initial chromosome, including: calculating the fitness of each initial chromosome in the population, sorting each initial chromosome according to the fitness of each initial chromosome, selecting the initial chromosome with high fitness based on the sorting result, using the remaining initial chromosomes to generate new chromosomes through crossover and / or mutation strategies, and using the high-fitness initial chromosomes as the next set of chromosomes, and recalculating the next set of chromosomes in the population. The fitness of the body is determined by sorting each next group of chromosomes according to their fitness. Based on the sorting results, the next group of chromosomes with high fitness is selected. The remaining next group of chromosomes are updated with new chromosomes generated by crossover and / or mutation strategies and the next group of chromosomes with high fitness. The process is then repeated to recalculate the fitness of the next group of chromosomes in the population until the number of iterations meets the preset number of iterations or the difference between the fitness of the current group and the fitness of the previous group is less than or equal to a threshold. The optimal solution at this point is used as the second filter parameter corresponding to the phase adjustment value. That is, the second filter parameter is the filter parameter required when the phase response function approximates the phase adjustment value.
[0067] Optionally, after determining the second filter parameters, the second filters in each frequency division processing branch are controlled to perform phase shift on the first sub-band signal based on the second filter parameters, so as to achieve phase compensation of the first sub-band signal.
[0068] Optionally, after phase-shifting the first sub-band signal based on the phase adjustment value, a target frequency and an amplitude adjustment value for the target frequency are determined according to the amplitude values of each frequency point in the phase-shifted first sub-band signal. Then, the amplitude of the target frequency is adjusted according to the amplitude adjustment value to generate a second sub-band signal. Next, the dynamic range control gain corresponding to each second sub-band signal is determined. Based on the dynamic range control gain, dynamic range control is performed on each second sub-band signal to form a third sub-band signal. Finally, the third sub-band signals corresponding to each first sub-band signal are superimposed to form an output signal.
[0069] In this embodiment, the second filter is used to phase-shift each of the first sub-frequency band signals, so that there is no phase difference between the first sub-frequency band signals, and / or there is no phase difference after the first sub-frequency band signals are superimposed. This solves the problem of signal distortion caused by phase difference and improves the output quality of the signal.
[0070] Furthermore, embodiments of the present invention also propose a computer-readable storage medium storing a signal processing program, which, when executed by a processor, implements the steps of the various embodiments described above.
[0071] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0072] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0074] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A signal processing method, characterized in that, The signal processing method includes the following steps: After acquiring multiple first sub-frequency band signals corresponding to the input signal, a target frequency point and an amplitude adjustment value for the target frequency point are determined based on the amplitude values of each frequency point in the first sub-frequency band signals. The amplitude value of the target frequency point is greater than or equal to a preset amplitude threshold. Determining the target frequency point includes: acquiring the difference between each pair of amplitude values of each frequency point in the first sub-frequency band signals; when the difference between the amplitude value of at least one frequency point and the amplitude values of the remaining frequency points exceeds a preset difference range, that frequency point is taken as the target frequency point. Determining the amplitude adjustment value of the target frequency point includes: determining the amplitude adjustment value based on a first difference between the amplitude value of the target frequency point and the amplitude values of the remaining frequency points. The target frequency point is amplitude adjusted according to the amplitude adjustment value to generate a second sub-frequency band signal; Determine the dynamic range control gain corresponding to each second sub-band signal, and perform dynamic range control on each second sub-band signal based on the dynamic range control gain to form a third sub-band signal; The third sub-band signals corresponding to each of the first sub-band signals are superimposed to form the output signal.
2. The signal processing method as described in claim 1, characterized in that, The step of determining the target frequency point and the amplitude adjustment value of the target frequency point based on the amplitude values of each frequency point in the first sub-frequency band signal includes: Based on the amplitude value, the frequency point corresponding to the amplitude value being greater than or equal to the preset amplitude threshold is taken as the target frequency point; The amplitude adjustment value is determined based on the first difference between the amplitude value of the target frequency point and the amplitude value of the remaining frequency points.
3. The signal processing method as described in claim 2, characterized in that, The second difference between the amplitude value of the target frequency point after amplitude adjustment and the amplitude value of the remaining frequency points in the second sub-frequency band signal is within a preset difference range.
4. The signal processing method as described in claim 1, characterized in that, After acquiring multiple first sub-frequency band signals corresponding to the input signal, the step of determining the target frequency point and the amplitude adjustment value of the target frequency point based on the amplitude value of each frequency point in the first sub-frequency band signal includes: After acquiring the first sub-frequency band signal, the phase adjustment value corresponding to each first sub-frequency band signal is determined based on the phase difference between each first sub-frequency band signal. The first sub-band signal is phase-shifted based on the phase adjustment value; Based on the amplitude values of each frequency point in the phase-shifted first sub-band signal, determine the target frequency point and the amplitude adjustment value of the target frequency point.
5. The signal processing method as described in claim 4, characterized in that, The step of phase-shifting the first sub-band signal based on the phase adjustment value includes: The second filter parameters of the second filter corresponding to the first sub-band signal are determined according to the phase adjustment value. The second filter is set in the frequency division processing branch for processing the first sub-band signal. Different first sub-band signals correspond to different frequency division processing branches. Based on the second filter parameters, the second filters in each frequency division processing branch are controlled to perform phase shifting on the first sub-band signal.
6. The signal processing method as described in claim 5, characterized in that, The step of determining the second filter parameters of the second filter corresponding to the first sub-band signal based on the phase adjustment value includes: Obtain the phase response function of the second filter; Based on the phase response function, the initial solution and the order of the second filter are calculated using the group delay decomposition algorithm; Based on the order and the initial solution, the second filter parameters corresponding to the phase adjustment value are calculated using a genetic algorithm.
7. The signal processing method according to any one of claims 1-6, characterized in that, Before the step of determining the target frequency point and the amplitude adjustment value of the target frequency point based on the amplitude values of each frequency point in the first sub-frequency band signal after acquiring the multiple first sub-frequency band signals corresponding to the input signal, the method further includes: Receive the frequency division setting command input by the user, and determine the first filter parameters of the first filter in each frequency division processing branch according to the frequency division setting command; Based on the first filter parameters, the first filter in each of the frequency division processing branches is controlled to generate the corresponding first sub-band signal.
8. A signal processing apparatus, characterized in that, The signal processing device includes: Signal input terminal; A preset number of frequency division processing branches are provided, and each of the frequency division processing branches is connected in parallel between the signal input terminal and the signal synthesis unit. A signal synthesis unit, wherein the signal synthesis unit is connected to the output terminal of each of the frequency division processing branches; Each of the frequency division processing branches includes: A first filter, wherein the input terminal of the first filter is connected to the signal input terminal; An amplitude adjustment unit is provided, the input of which is connected to the output of the first filter. The amplitude adjustment unit is used to adjust the amplitude of a target frequency point according to an amplitude adjustment value for that target frequency point, generating a second sub-band signal. Determining the target frequency point includes: acquiring the difference between each pair of amplitude values of each frequency point in the first sub-band signal; when the difference between the amplitude value of at least one frequency point and the amplitude values of the remaining frequency points exceeds a preset difference range, that frequency point is taken as the target frequency point; determining the amplitude adjustment value of the target frequency point includes: determining the amplitude adjustment value based on a first difference between the amplitude value of the target frequency point and the amplitude values of the remaining frequency points. A dynamic range control unit, the input of which is connected to the output of the amplitude adjustment unit.
9. The signal processing apparatus as described in claim 8, characterized in that, Each of the frequency division processing branches further includes: A second filter is connected between the first filter and the amplitude adjustment unit.
10. A device, characterized in that, The device includes the signal processing apparatus as described in any one of claims 8-9; The device further includes: a memory, a processor, and a signal processing program stored in the memory and executable on the processor, wherein the signal processing program, when executed by the processor, implements the steps of the signal processing method as described in any one of claims 1 to 7.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a signal processing program, which, when executed by a processor, implements the steps of the signal processing method as described in any one of claims 1 to 7.