Data processing method and device for low-frequency signals and terminal equipment
By obtaining and basing the low-frequency signals in the car cockpit, the problems of inconsistent sound, muddy bass and insufficient volume in the car cockpit are solved, and the consistency of sound and bass effect are improved.
Patent Information
- Application Number
- CN202411902128.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-20
AI Technical Summary
The sounds in each position in the car cockpit are inconsistent, and there are problems of muddy bass and insufficient volume.
By acquiring the low-frequency signal of at least one channel, the low-frequency gain information of each channel is determined, and the low-frequency signal of each channel is equalized according to the target frequency response curve to obtain the target low-frequency signal.
A sound consistency in each position in the car is achieved, reducing the situation of muddy bass and insufficient volume.
Smart Images

Figure CN119767200A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of audio signal processing, and in particular, relates to a data processing method, device and terminal equipment for low-frequency signals. Background Art
[0002] Car audio equipment is a device installed inside a car and used to play audio signals, providing users with a good music experience.
[0003] However, due to the influence of the position of each passenger in the car cabin and the layout of the speakers, it is difficult to ensure that passengers in each position can get a consistent sense of hearing after the audio signal played by the speakers is reflected inside the car. In other words, the sound at each position in the car is inconsistent, and there will be problems such as muddy bass and insufficient volume. Summary of the invention
[0004] The embodiments of the present application provide a data processing method, apparatus and terminal device for low-frequency signals, aiming to solve the problems of inconsistent sound at each position, muddy bass and insufficient volume in the existing automobile cockpit.
[0005] In a first aspect, an embodiment of the present application provides a method for processing low-frequency signal data, the method comprising:
[0006] Acquire a low-frequency signal of at least one channel; wherein the low-frequency signal is an audio signal in any channel format, and different channel formats correspond to different numbers of channels;
[0007] Determine low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals;
[0008] Determine a first low-frequency signal of each channel according to each low-frequency gain information and each low-frequency signal;
[0009] A target frequency response curve is determined, and equalization processing is performed on the first low-frequency signal of each of the channels according to the target frequency response curve to obtain a target low-frequency signal of each of the channels.
[0010] In a possible implementation manner of the first aspect, determining the low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals includes:
[0011] Determine a total low-frequency signal according to each of the low-frequency signals;
[0012] Determining low-frequency proportion information of each of the channels according to the total low-frequency signal;
[0013] According to the low-frequency proportion information, low-frequency gain information corresponding to each of the channels is determined.
[0014] In a possible implementation manner of the first aspect, before performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, the method further includes:
[0015] Determine a channel configuration, and determine a signal allocation strategy for the first low-frequency signal according to the channel format and the channel configuration;
[0016] Allocating the first low-frequency signal of each of the channels to a corresponding channel based on the signal allocation strategy;
[0017] Determining a channel low-frequency signal of the channel according to a first low-frequency signal corresponding to the channel;
[0018] The equalizing process is performed on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, including:
[0019] The channel low-frequency signal of each channel is equalized according to the target frequency response curve to obtain the target low-frequency signal of each channel.
[0020] In a possible implementation manner of the first aspect, performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel includes:
[0021] Determining the filter coefficients to be determined based on the target frequency response curve;
[0022] Performing equalization processing on the first low-frequency signal of each of the channels according to the undetermined filter coefficients to obtain a second low-frequency signal of each of the channels;
[0023] Collecting an actual frequency response curve corresponding to each of the second low-frequency signals, and adjusting the undetermined filter coefficient according to the target frequency response curve and the actual frequency response curve to obtain a target filter coefficient;
[0024] The first low-frequency signal of each channel is processed based on the target filter coefficient to obtain a target low-frequency signal.
[0025] In a possible implementation manner of the first aspect, performing equalization processing on the first low-frequency signal of each channel according to the undetermined filter coefficient to obtain the second low-frequency signal of each channel includes:
[0026] Down-sampling the first low-frequency signal of each channel to obtain a low-frequency band signal of each channel;
[0027] Performing equalization processing on the bass-band signal of each of the channels based on the undetermined filter coefficients to obtain a processed bass-band signal;
[0028] The processed low-frequency band signal is up-sampled to obtain a second low-frequency signal of each channel.
[0029] In a possible implementation manner of the first aspect above, the method further includes:
[0030] Determine a delay adjustment value corresponding to each of the first low-frequency signals;
[0031] For each of the first low-frequency signals, delay processing is performed on the first low-frequency signal using the delay adjustment value corresponding to the first low-frequency signal.
[0032] In a possible implementation manner of the first aspect, acquiring a low-frequency signal of at least one channel includes:
[0033] Acquire an audio signal of at least one channel;
[0034] Determine a cutoff frequency, and separate the audio signal of any of the channels according to the cutoff frequency to obtain a low-frequency component in any of the audio signals;
[0035] For each of the channels, the low-frequency components corresponding to the channel are quantized according to the signal energy of the low-frequency components corresponding to the channel to obtain the low-frequency signal of each channel.
[0036] In a second aspect, a data processing device for a low-frequency signal comprises:
[0037] An acquisition module, used for acquiring a low-frequency signal of at least one channel; wherein the low-frequency signal is an audio signal in any channel format, and different channel formats correspond to different numbers of channels;
[0038] A determination module, configured to determine low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals, and to determine a first low-frequency signal of each of the channels according to each of the low-frequency gain information and each of the low-frequency signals;
[0039] The equalization module is used to determine a target frequency response curve, and perform equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain a target low-frequency signal of each channel.
[0040] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the low-frequency signal data processing method provided in the first aspect or any possible implementation of the first aspect is implemented.
[0041] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the low-frequency signal data processing method provided in the first aspect or any possible implementation of the first aspect is implemented.
[0042] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is run on a computer, the computer executes the low-frequency signal data processing method provided by the first aspect or any possible implementation of the first aspect.
[0043] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0044] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0045] In the embodiment of the present application, by acquiring a low-frequency signal of at least one channel, the low-frequency signal is an audio signal of any channel format, and different channel formats correspond to different numbers of channels. According to each low-frequency signal, low-frequency gain information corresponding to each channel is determined. According to the low-frequency gain information corresponding to each channel and the low-frequency signal of each channel, a first low-frequency signal of each channel is determined, and then the corresponding low-frequency signal can be gain-processed based on the low-frequency gain information of each channel to obtain the first low-frequency signal. Processing the low-frequency signal through the low-frequency gain information can reduce the situation of insufficient bass volume and turbid bass. Furthermore, by determining a target frequency response curve, and performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve, a target low-frequency signal of each channel is obtained. By playing the target low-frequency signal after the equalization processing of the target frequency response curve, the sound at each position in the vehicle can be made to be consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a flowchart of a method for processing low-frequency signal data provided by an embodiment of the present application;
[0047] Figure 2 is a flowchart of another method for processing low-frequency signal data provided by an embodiment of the present application;
[0048] Figure 3 is a schematic diagram of a low-frequency signal equalization processing method provided by an embodiment of the present application;
[0049] Figure 4 It is a flowchart of a method for processing low-frequency signal data provided by an embodiment of the present application;
[0050] Figure 5 It is a structural schematic diagram of a low-frequency signal data processing device provided by an embodiment of the present application;
[0051] Figure 6 It is a structural block diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application 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 application and are not used to limit the present application.
[0053] With the improvement of living standards and the continuous advancement of automobile technology, people have put forward more demands on car audio equipment. Car audio equipment is a device installed inside the car and used to play audio signals to provide users with a good music experience.
[0054] However, due to the influence of the position of each passenger in the car cabin and the layout of the speakers, it is difficult to ensure that passengers in each position can get a consistent sense of hearing after the audio signal played by the speakers is reflected inside the car. In other words, the sound at each position in the car is inconsistent, and there will be problems such as muddy bass and insufficient volume, which makes it difficult to meet users' needs for music experience.
[0055] In addition, in order to pursue better bass effects, people will also perform professional bass equalization processing on the speakers of car audio equipment, such as filter equalization technology that adjusts the filter coefficient to ensure that the low-frequency part of the output audio signal can be properly enhanced and balanced.
[0056] At present, the effect of bass equalization processing using filter equalization technology depends on the order of the filter. In order to output audio signals with better bass effects, such as outputting audio signals with higher fidelity or processing with better bass gain, a higher-order filter is required for bass equalization processing. However, bass equalization processing using a higher-order filter requires a higher algorithm calculation amount, which increases the algorithm calculation amount and reduces the efficiency of bass equalization.
[0057] Based on this, the present application provides a data processing method for a low-frequency signal, by acquiring a low-frequency signal of at least one channel, the low-frequency signal is an audio signal of any channel format, different channel formats correspond to different numbers of channels, and according to each low-frequency signal, the low-frequency gain information corresponding to each channel is determined, and then the corresponding low-frequency signal can be processed based on the low-frequency gain information of each channel to obtain a first low-frequency signal, and the low-frequency signal is processed by the low-frequency gain information to reduce the situation of insufficient bass volume and turbid bass, and by determining the target frequency response curve, the first low-frequency signal is equalized according to the target frequency response curve to obtain a target low-frequency signal, and by playing the target low-frequency signal after the target frequency response curve is equalized, the sound at each position in the vehicle can be made to be consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position.
[0058] See also Figure 1 , Figure 1 A flowchart of a method for processing low-frequency signal data provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0059] Step 101: Acquire a low-frequency signal of at least one channel.
[0060] The low-frequency signal may be an audio signal of any channel format, and specifically may be a low-frequency component in an audio signal whose frequency is lower than a preset cutoff frequency. Different channel formats may correspond to different numbers of channels. For example, a 2-channel format may correspond to two channels, including a left channel and a right channel, while a 5.1-channel format may correspond to six channels, including a left channel, a center channel, a right channel, a left rear surround channel, a right rear surround channel, and a low-frequency channel.
[0061] In actual applications, when an audio signal needs to be played through a car audio device, a low-frequency signal of at least one channel can be extracted from the audio signal to be played to obtain a low-frequency signal of at least one channel. An audio signal with a frequency lower than a preset cutoff frequency, that is, a low-frequency signal, can also be directly obtained.
[0062] It should be understood that since an audio signal usually includes audio data of at least one channel, the audio data of at least one channel and the low-frequency components in the audio data of each channel, that is, the low-frequency signal of each channel, can be extracted from the audio signal.
[0063] For example, when music needs to be played through a car audio device, usually, the channel format corresponding to the music to be played may include a mono format, a 2-channel format, and a 5.1-channel format, and then the audio signal of at least one channel of the music can be obtained, and the low-frequency signal in the audio signal of each channel can be extracted.
[0064] In an embodiment of the present application, step 101 may include steps 1011 to 1013:
[0065] Step 1011: Acquire an audio signal of at least one channel.
[0066] The audio signal may be a digital representation of the sound, which includes all the characteristics of the sound.
[0067] In a specific implementation, an audio signal to be played may be obtained, and an audio signal of at least one channel may be extracted from the audio signal.
[0068] Step 1012: determine a cutoff frequency, and separate the audio signal of any channel according to the cutoff frequency to obtain a low-frequency component in any audio signal.
[0069] The cutoff frequency can be used to determine the low-frequency component in the audio signal. The cutoff frequency can be user-defined or empirically determined. Usually, the cutoff frequency can be set to 500 Hz. The low-frequency component can be audio data in the audio signal with a frequency lower than the cutoff frequency.
[0070] After obtaining the audio signal of at least one channel, a predefined cutoff frequency can be determined, and then for each channel, the low-frequency components below the cutoff frequency in the audio signal of the channel can be determined and separated, thereby obtaining the low-frequency components of the audio signal in each channel.
[0071] Step 1013: for each channel, the low-frequency component corresponding to the channel is quantized according to the signal energy of the low-frequency component corresponding to the channel to obtain the low-frequency signal of each channel.
[0072] The signal energy may be the actual physical energy carried in the audio signal, which may generally be used to describe the power output of the audio signal and is related to the amplitude of the sound played when the audio signal is played.
[0073] After obtaining the low-frequency components of the audio signal in each channel, the signal energy of the low-frequency components in each channel can be calculated, and for each channel, the low-frequency components of the channel can be quantized by the signal energy of the low-frequency components in the channel to obtain the low-frequency signal of the channel, and then the low-frequency signal of each channel can be obtained.
[0074] In practical applications, the signal energy of the low-frequency component in each channel can be squared to obtain the square energy value of the low-frequency component in each channel. For each channel, the average square energy value of the low-frequency component in the channel can be calculated based on the square energy value of the low-frequency component in the channel.
[0075] It should be understood that since the audio signal is a digital signal obtained by sampling a continuous analog signal at a fixed time interval, that is, the audio signal can include the audio data sampled at each time point, and the audio signal can include multiple audio data. At the same time, since the analog signal can represent the amplitude of the sound fluctuation at different time points, and the sound amplitude can correspond to the signal energy, that is, the signal energy of the audio data sampled at each time point can be represented by the audio signal, the audio signal can include the signal energy of each audio data, so that the average value of the square value of the energy of the low-frequency component in the audio signal at each time point can be determined.
[0076] In practical applications, after obtaining the average value of the square energy of the low-frequency components in each channel, for each channel, the average value of the square energy of the low-frequency components in the channel can be squared to obtain the root mean square (RMS) value of the energy of the low-frequency components in the channel, thereby obtaining the RMS value of the low-frequency components in each channel, so as to quantify the low-frequency components in each channel based on the RMS value and obtain the low-frequency signal of each channel.
[0077] Step 102: determine low-frequency gain information corresponding to each channel according to each low-frequency signal, and determine a first low-frequency signal of each channel according to each low-frequency gain information and each low-frequency signal.
[0078] The low-frequency gain information may be information of gain processing on the low-frequency signal to balance the low-frequency signal of each channel, and the first low-frequency signal may be a low-frequency signal after gain processing on the low-frequency signal.
[0079] After obtaining the low-frequency signal of each channel, the low-frequency gain information corresponding to each channel can be determined, and for each channel, the low-frequency signal of the channel can be processed based on the low-frequency gain information of the channel to obtain the first low-frequency signal of the channel, and then the first low-frequency signal of each channel can be obtained.
[0080] In practical applications, the low-frequency gain information corresponding to each channel may be determined based on the signal strength of the low-frequency signal, or may be determined based on the signal energy of the low-frequency signal.
[0081] Exemplarily, the signal strength of the low-frequency component in each channel can be determined, and then based on the signal strength of the low-frequency component in each channel, the low-frequency gain information corresponding to each channel can be determined. For each channel, the low-frequency component of the channel can be processed according to the low-frequency gain information corresponding to the channel, so that the signal strength of the low-frequency component of each channel after processing is consistent, that is, the signal strength of the first low-frequency signal of each channel after processing is consistent, thereby achieving equalization of the low-frequency signal of each channel.
[0082] In another exemplary manner, the signal energy of the low-frequency components in each channel can be determined, and then based on the signal energy of the low-frequency components in each channel, the low-frequency gain information corresponding to each channel can be determined. For each channel, the low-frequency components of the channel can be processed by the low-frequency gain information corresponding to the channel, so that the signal energy of the low-frequency components of each channel after processing is consistent, that is, the signal energy of the first low-frequency signal of each channel after processing is consistent, thereby achieving equalization of the low-frequency signal of each channel.
[0083] In an embodiment of the present application, determining the low-frequency gain information corresponding to each channel according to each low-frequency signal in step 102 may include steps 1021 to 1023:
[0084] Step 1021: determine a total low-frequency signal according to each low-frequency signal.
[0085] After the low-frequency signal of each channel is obtained, the low-frequency signal of each channel in the audio signal may be combined to obtain a total low-frequency signal of the audio signal.
[0086] In practical applications, the low-frequency components of each channel may be summed in the frequency domain, or the low-frequency components of each channel may be superimposed in the time domain to obtain a total low-frequency signal of the audio signal.
[0087] Step 1022: Determine low-frequency ratio information of each channel according to the total low-frequency signal.
[0088] The low-frequency ratio information may be a ratio of the low-frequency signal to the total low-frequency signal.
[0089] After the total low-frequency signal of the audio signal is obtained, the ratio of the low-frequency signal in each channel to the total low-frequency signal can be determined, which is the low-frequency proportion information.
[0090] Step 1023: Determine low-frequency gain information corresponding to each channel according to the low-frequency proportion information.
[0091] After obtaining the low-frequency proportion information of each channel, for each channel, the low-frequency gain information of the channel can be determined based on the low-frequency proportion information of the channel, and then the low-frequency gain information of each channel can be obtained, and the corresponding low-frequency signal can be processed based on the low-frequency gain information to obtain the first low-frequency signal.
[0092] For example, the channel format of the audio signal can be 2 channels, that is, the audio signal can include a low-frequency signal of the left channel and a low-frequency signal of the right channel, and the ratio of the low-frequency signal in the left channel to the total low-frequency signal can be 30%, and the ratio of the low-frequency signal in the right channel to the total low-frequency signal can be 70%. Then, the low-frequency gain component of the left channel can be determined, so as to amplify the gain of the low-frequency signal of the left channel through the low-frequency gain component of the left channel, and the low-frequency gain component of the right channel can be determined, so as to reduce the gain of the low-frequency signal of the right channel through the low-frequency gain component of the right channel, so that the ratio of the low-frequency signal of the left channel to the total low-frequency signal after processing is consistent with the ratio of the low-frequency signal of the right channel to the total low-frequency signal after processing, thereby achieving equalization of the low-frequency signal of each channel, and by playing the processed low-frequency signal, the bass at each position in the car can be consistent, reducing the turbidity of the bass and the lack of volume.
[0093] Step 103: determine a target frequency response curve, and perform equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain a target low-frequency signal of each channel.
[0094] Among them, the target frequency response curve can be a frequency response curve that is expected to be achieved during the processing or playback of the audio signal. The target frequency response curve can be determined based on the user's listening needs, the environment in which the vehicle audio equipment is located, and the performance of the vehicle audio equipment. The target low-frequency signal can be a low-frequency signal after the first low-frequency signal is equalized.
[0095] After obtaining the first low-frequency signal of each channel, for each first low-frequency signal, a target frequency response curve corresponding to the first low-frequency signal can be determined, and according to the target frequency response curve, the parameters of the filter used for equalization processing are adjusted, that is, the parameters of the filter used for equalization processing of the channel are adjusted, and then the filter with adjusted parameters can be used to perform equalization processing on the first low-frequency signal to obtain the target low-frequency signal of the channel, thereby obtaining the target low-frequency signal of each channel.
[0096] Among them, the filter can be a device used to transmit signals in a specific frequency band in the input signal and attenuate signals in other frequency bands. The filter can include a finite impulse response filter (FIR), an analog filter, an adaptive filter, an infinite impulse response digital filter (IIR), and the like.
[0097] In an embodiment of the present application, before step 103, the following steps may also be included:
[0098] Determine the channel configuration, and determine the signal allocation strategy of the first low-frequency signal according to the channel format and the channel configuration, allocate the first low-frequency signal of each channel to the corresponding channel based on the signal allocation strategy, and determine the channel low-frequency signal of the channel according to the first low-frequency signal corresponding to the channel.
[0099] The channel configuration may be a configuration for playing audio signals in the vehicle audio device, which may be specifically related to the number and installation positions of the speakers in the vehicle audio device that can be used to play audio signals, and the channel configuration may include left and right channel configuration, five-channel configuration, eight-channel configuration, etc. The signal allocation strategy may be a strategy for allocating the audio signal of each channel to the corresponding channel, and different channels may correspond to different speakers.
[0100] Specifically, the vehicle audio equipment may also include a low-frequency speaker for playing low-frequency signals, and the channel configuration may be a configuration for playing low-frequency signals in the vehicle audio equipment, which may be specifically related to the number and installation positions of the low-frequency speakers in the vehicle audio equipment that can be used to play low-frequency signals.
[0101] After obtaining the first low-frequency signal, the number and installation positions of the loudspeakers in the vehicle audio device that can be used to play the audio signal can be determined, and the channel configuration of the vehicle audio device can be obtained.
[0102] Exemplarily, when it is determined that the vehicle audio equipment includes two speakers that can be used to play audio signals, and one of the speakers is installed on the left side of the vehicle and the other speaker is installed on the right side of the vehicle, it can be determined that the channel configuration of the vehicle audio equipment is a left-right channel configuration including a left channel and a right channel; and when the vehicle audio equipment includes five speakers that can be used to play audio signals, and they are respectively installed in the left front door, right front door, left rear door, right rear door, and center console of the vehicle, it can be determined that the channel configuration of the vehicle audio equipment is a five-channel configuration including a left channel, a right channel, a left rear surround channel, a right rear surround channel, and a center channel.
[0103] After the channel configuration of the vehicle audio device is obtained, the channel format of the audio signal can be determined, and then the signal distribution strategy of the first low-frequency signal can be determined according to the channel configuration of the vehicle audio device and the channel format of the audio signal.
[0104] In a specific implementation, when the channel configuration of the vehicle audio device matches the channel format of the audio signal, the signal allocation strategy is determined to be a strategy of allocating the first low-frequency signal to the matching channel.
[0105] Specifically, the 2-channel format can match the left and right channel configuration, that is, the first low-frequency signal of the left channel in the audio signal matches the left channel in the left and right channel configuration, and the first low-frequency signal of the right channel matches the right channel in the left and right channel configuration. The 2-channel format can match the left and right channel configuration; the 5.0-channel format can match the five-channel configuration, that is, the first low-frequency signals of the left channel, center channel, right channel, left rear surround channel, and right rear surround channel in the audio signal can match the left channel, center channel, right channel, left rear surround channel, and right rear surround channel in the five-channel configuration; the 5.1-channel format can match the six-channel configuration, that is, the first low-frequency signals of the left channel, center channel, right channel, left rear surround channel, right rear surround channel, and low-frequency channel in the audio signal can match the left channel, center channel, right channel, left rear surround channel, right rear surround channel, and low-frequency channel in the six-channel configuration, wherein the low-frequency channel corresponds to the subwoofer in the vehicle audio equipment.
[0106] When the channel configuration of the vehicle audio device does not match the channel format of the audio signal, the signal allocation strategy can be determined as a strategy for determining the channel corresponding to the first low-frequency signal of each channel in the audio signal and allocating each first low-frequency signal to the corresponding channel.
[0107] In actual applications, when the channel configuration of the vehicle audio equipment does not match the channel format of the audio signal, the first low-frequency signal of the left channel in the audio signal, the first low-frequency signal of the right channel, and the first low-frequency signal of the channel that is neither on the left nor on the right can be determined, and then the first low-frequency signal of the left channel and the first low-frequency signal of the channel that is neither on the left nor on the right can be allocated to the channel on the left side of the vehicle in the channel configuration of the vehicle audio equipment, and the first low-frequency signal of the right channel and the first low-frequency signal of the channel that is neither on the left nor on the right can be allocated to the channel on the right side of the vehicle in the channel configuration of the vehicle audio equipment.
[0108] For example, in the case where the channel format is a 5.0 channel format and the channel configuration is a left and right channel configuration, the channel on the left side of the audio signal can be determined as the left channel and the left rear surround channel, the channel on the right side of the audio signal is the right channel and the right rear surround channel, the channel that is neither on the left nor on the right side of the audio signal is the center channel, and the channel on the left side of the vehicle in the left and right channel configuration is the left channel, and the channel on the right side of the vehicle is the right channel. Furthermore, the signal allocation strategy can be determined as a strategy of allocating the first low-frequency signals of the left channel, the left rear surround channel, and the center channel to the left channel, and allocating the first low-frequency signals of the right channel, the right rear surround channel, and the center channel to the right channel.
[0109] For another example, in the case where the channel format is a 5.1 channel format and the channel configuration is a five-channel configuration, it can be determined that the channel on the left side of the audio signal is the left channel and the left rear surround channel, the channel on the right side of the audio signal is the right channel and the right rear surround channel, the channel that is neither on the left nor on the right side of the audio signal is the center channel and the low-frequency channel, and the channel on the left side of the vehicle in the five-channel configuration is the left channel and the left rear surround channel, and the channel on the right side of the vehicle is the right channel and the right rear surround channel. Then the signal allocation strategy can be determined as allocating the first low-frequency signal of the left channel, left rear surround channel, center channel, and low-frequency channel to the left channel and to the left rear surround channel, and allocating the first low-frequency signal of the right channel, right rear surround channel, center channel, and low-frequency channel to the right channel and to the right rear surround channel.
[0110] As an example, when the channel configuration of the vehicle audio device does not match the channel format of the audio signal, it is also possible to determine the channel in the audio signal that matches the channel configuration and assign the first low-frequency signal of the channel to the matching channel, as well as determine the channel in the audio signal that does not match the channel configuration and assign the first low-frequency signal of the channel to all channels.
[0111] For example, in the case where the channel format is a 5.1 channel format and the channel configuration is a five-channel configuration, it can be determined that the channels in the audio signal that match the five-channel configuration are the left channel, the center channel, the right channel, the left rear surround channel, and the right rear surround channel, and the channel in the audio signal that does not match the five-channel configuration is the low-frequency channel, and then the signal allocation strategy can be determined as allocating the first low-frequency signals of the left channel, the center channel, the right channel, the left rear surround channel, and the right rear surround channel to the matching left channel, the center channel, the right channel, the left rear surround channel, and the right rear surround channel, and allocating the low-frequency channel to all channels.
[0112] After the signal allocation strategy is determined, the first low-frequency signal of each channel may be allocated to the corresponding channel based on the signal allocation strategy, and the channel low-frequency signal of the channel may be determined according to the first low-frequency signal corresponding to the channel.
[0113] The channel low-frequency signal may be a low-frequency signal actually output by the channel.
[0114] In practical applications, after the first low-frequency signal of each channel is allocated according to the signal allocation strategy, there will be at least two first low-frequency signals allocated to a certain channel. For each channel, when at least two first low-frequency signals are allocated to the channel, all first low-frequency signals allocated to the channel can be merged to obtain the channel low-frequency signal of the channel. When one first low-frequency signal is allocated to the channel, it can be determined that the first low-frequency signal is the channel low-frequency signal of the channel.
[0115] Specifically, the at least two first low-frequency signals may be combined by summing each first low-frequency signal in the frequency domain or superimposing each first low-frequency signal in the time domain.
[0116] In an embodiment of the present application, step 103 may be performed in the following manner:
[0117] The channel low-frequency signal of each channel is equalized according to the target frequency response curve to obtain the target low-frequency signal of each channel.
[0118] After obtaining the channel low-frequency signal of each channel, for each channel, the parameters of the filter used for equalization processing can be adjusted according to the target frequency response curve, that is, the parameters of the filter used for equalization processing of the channel can be adjusted, and then the filter with adjusted parameters can be used to equalize the channel low-frequency signal of the channel to obtain the target low-frequency signal of the channel, thereby obtaining the target low-frequency signal of each channel.
[0119] In an embodiment of the present application, the following steps may also be included:
[0120] A delay adjustment value corresponding to each low-frequency signal is determined, and for each first low-frequency signal, the delay adjustment value corresponding to the first low-frequency signal is used to perform delay processing on the first low-frequency signal.
[0121] The delay adjustment value can be used to perform delay adjustment on the low-frequency signal, and the delay processing can perform delayed playback processing on the low-frequency signal of each channel, and the delay time is related to the delay adjustment value.
[0122] After obtaining the target low-frequency signal, the target low-frequency signal can be played through the vehicle audio device, and an actual frequency response curve of the vehicle audio device when actually playing the target low-frequency signal can be collected.
[0123] Specifically, the actual frequency response curve may be a frequency response curve actually played by the vehicle-mounted audio device, and the actual frequency response curve may include a frequency response curve corresponding to each speaker in the vehicle-mounted audio device.
[0124] After obtaining the actual frequency response curve, the synchronization of each speaker can be determined according to the target frequency response curve and the frequency response curve corresponding to each speaker, that is, the time delay between the frequency response curve corresponding to each speaker and the target frequency response curve can be determined. For each speaker, the time delay corresponding to the speaker can be determined as the delay adjustment value of the channel where the speaker is located, and the low-frequency signal of the channel is delayed by the delay adjustment value to obtain the low-frequency signal of the channel after delay processing, and then the low-frequency signal of each channel after delay processing can be obtained and played, so that each speaker can play the low-frequency signal after delay processing, and the time delay between the frequency response curve of each speaker playing the low-frequency signal after delay processing and the target frequency response curve is less than the preset delay, thereby reducing the situation where the sound at each position in the car has inconsistent playback time, and improving the synchronization of the car audio equipment in playing low-frequency signals.
[0125] In the embodiment of the present application, by acquiring a low-frequency signal of at least one channel, the low-frequency signal is an audio signal of any channel format, and different channel formats correspond to different numbers of channels. According to each low-frequency signal, low-frequency gain information corresponding to each channel is determined. According to the low-frequency gain information corresponding to each channel and the low-frequency signal of each channel, a first low-frequency signal of each channel is determined, and then the corresponding low-frequency signal can be gain-processed based on the low-frequency gain information of each channel to obtain the first low-frequency signal. Processing the low-frequency signal through the low-frequency gain information can reduce the situation of insufficient bass volume and turbid bass. Furthermore, by determining a target frequency response curve, and performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve, a target low-frequency signal of each channel is obtained. By playing the target low-frequency signal after the equalization processing of the target frequency response curve, the sound at each position in the vehicle can be made to be consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position.
[0126] See also Figure 2 , Figure 2 A flowchart of another method for processing low-frequency signal data provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0127] Step 201: Acquire a low-frequency signal of at least one channel.
[0128] Step 202: determine low-frequency gain information corresponding to each channel according to each low-frequency signal, and determine a first low-frequency signal of each channel according to each low-frequency gain information and each low-frequency signal.
[0129] Step 203: determine the target frequency response curve.
[0130] For the relevant descriptions of steps 201 to 203, please refer to steps 101 to 103, which will not be repeated here.
[0131] Step 204: determining the filter coefficients to be determined based on the target frequency response curve.
[0132] The undetermined filter coefficients may be coefficients determined by the filter based on a target frequency response curve.
[0133] After the target frequency response curve is obtained, the coefficients of the filter to be determined can be determined according to the target frequency response curve.
[0134] In practical applications, a suitable window function can be used to truncate the target frequency response curve to obtain the undetermined filter coefficients of finite length, or the target frequency response curve can be sampled in the frequency domain to obtain a series of frequency response values of sampling points, and then the frequency response values of the sampling points can be converted into filter coefficients using the inverse Fourier transform, which are the undetermined filter coefficients.
[0135] Specifically, the undetermined filter coefficients can be used to adjust the gain of the low-frequency signal at different frequencies, so that the signal gain of each frequency in the low-frequency signal tends to be consistent, thereby achieving balanced processing of the low-frequency signal. Exemplarily, the parameters of the filter, such as the cutoff frequency, bandwidth and other parameters, can be adjusted according to the target frequency response curve to obtain the undetermined filter coefficients, so as to enhance or attenuate the signals of different frequencies in the low-frequency signal based on the adjusted filter, thereby achieving balanced processing of the low-frequency signal.
[0136] For example, the amplitude of some frequencies in the low-frequency signal is relatively low, and these frequencies can be gained by adjusting the filter coefficients. The amplitude of some frequencies in the low-frequency signal is relatively high, and these frequencies can be attenuated by adjusting the filter coefficients, so that the signal gains of each frequency in the processed low-frequency signal tend to be consistent, thereby achieving balanced processing of the low-frequency signal.
[0137] Step 205 : performing equalization processing on the first low-frequency signal of each channel according to the filter coefficient to be determined, so as to obtain the second low-frequency signal of each channel.
[0138] The second low-frequency signal may be a low-frequency signal obtained by performing equalization processing on the first low-frequency signal.
[0139] After the coefficients of the filter to be determined are obtained, a filter having coefficients equal to the coefficients of the filter to be determined may be used to perform equalization processing on the first low-frequency signal of each channel to obtain the second low-frequency signal of each channel.
[0140] In practical applications, a filter whose coefficients are the to-be-determined filter coefficients can be used to perform amplitude-frequency response equalization processing on the first low-frequency signal, that is, the gain of the first low-frequency signal at different frequencies is adjusted by the to-be-determined filter coefficients to obtain a second low-frequency signal, so that the signal gains of each frequency in the second low-frequency signal tend to be consistent.
[0141] In an embodiment of the present application, step 205 may include steps 2051 to 2053:
[0142] Step 2051: down-sample the first low-frequency signal of each channel to obtain a low-frequency band signal of each channel.
[0143] The low-frequency band signal may be a frequency band retained after downsampling processing of the first low-frequency signal.
[0144] After obtaining the undetermined filter coefficients, the corresponding downsampling method can be determined, and the first low-frequency signal of each channel can be downsampled using the corresponding downsampling method to retain part of the frequency band in the first low-frequency signal, that is, the bass band signal, thereby obtaining the bass band signal of each channel.
[0145] Exemplarily, the down-sampling method may include any down-sampling method such as a discarding method, a linear interpolation method, etc.
[0146] Step 2052: Perform equalization processing on the bass-band signal of each channel based on the filter coefficient to be determined, to obtain a processed bass-band signal.
[0147] After obtaining the bass band signal, a filter with coefficients to be determined may be used to perform equalization processing on the bass band signal of each channel. Specifically, the bass band signal may be subjected to amplitude-frequency response equalization processing to obtain a processed bass band signal.
[0148] Step 2053: up-sample the processed low-frequency band signal to obtain a second low-frequency signal of each channel.
[0149] After obtaining the processed bass-band signal, up-sampling processing can be performed on the processed bass-band signal in each channel, and the processed bass-band signal can be restored to the original sampling rate to obtain a second low-frequency signal of each channel, that is, the signal length of the second low-frequency signal obtained by up-sampling processing is the same as the length of the first low-frequency signal.
[0150] In practical applications, by downsampling the low-frequency signal, some frequency bands in the low-frequency signal can be retained, and then only some frequency bands in the low-frequency signal need to be equalized, which reduces the amount of calculation for the equalization processing and improves the efficiency of the equalization processing of the low-frequency signal.
[0151] See also Figure 3 , Figure 3 A schematic diagram of a low-frequency signal equalization processing method provided by an embodiment of the present application is shown. Figure 3 As shown, a first low-frequency signal of at least one channel can be obtained, and the first low-frequency signal of each channel can be down-sampled to obtain a bass-band signal of each channel. Then, a filter of each channel can be used to perform equalization processing on the bass-band signal of the channel to obtain a processed bass-band signal, and the processed bass-band signal can be up-sampled to obtain a second low-frequency signal of each channel.
[0152] Step 206 , collecting the actual frequency response curve corresponding to the second low-frequency signal, and adjusting the filter coefficients to be determined according to the target frequency response curve and the actual frequency response curve to obtain the target filter coefficients.
[0153] The target filter coefficient may be a filter coefficient that enables the sound at each position in the vehicle to be consistent with the target frequency response curve or have a similarity greater than a preset similarity threshold. The preset similarity threshold may be user-defined or obtained based on experience.
[0154] After obtaining the second low-frequency signal, the second low-frequency signal can be played through the vehicle audio device, and the actual frequency response curve of the vehicle audio device when actually playing the second low-frequency signal can be collected, so as to determine the amplitude-frequency difference between the actual frequency response curve of the second low-frequency signal and the target frequency response curve. When the amplitude-frequency difference is greater than a preset difference threshold, the undetermined filter coefficient is adjusted based on the amplitude-frequency difference, and the adjusted undetermined filter coefficient is used to perform equalization processing on the first low-frequency signal to obtain the second low-frequency signal after re-equalization processing, and the operation of determining the amplitude-frequency difference between the actual frequency response curve of the second low-frequency signal and the target frequency response curve is performed based on the second low-frequency signal after re-equalization processing. When the amplitude-frequency difference between the actual frequency response curve of the second low-frequency signal and the target frequency response curve is less than or equal to the preset difference threshold, the undetermined filter coefficient is determined to be the target filter coefficient.
[0155] Specifically, the preset difference threshold may be user-defined or obtained based on experience.
[0156] It should be understood that each channel in the vehicle audio equipment can correspond to a filter, and the filter deployed in each channel is used to perform equalization processing on the low-frequency signal of the channel, and then the actual frequency response curve of each channel can be collected separately, so as to adjust the filter coefficient of the filter of the channel based on the actual frequency response curve of each channel and the target frequency response curve, that is, adjust the undetermined filter coefficient of the channel to obtain the target filter coefficient of the channel, so as to obtain the target filter coefficient of each channel, so that when the audio signal is played subsequently, the low-frequency signal in the audio signal can be equalized and played using the target filter coefficient.
[0157] Step 207: Process the first low-frequency signal of each channel based on the target filter coefficient to obtain a target low-frequency signal of each channel.
[0158] After the target filter coefficients are obtained, a filter whose coefficients are the target filter coefficients may be used to perform equalization processing on the first low-frequency signal of each channel to obtain the target low-frequency signal of each channel.
[0159] In practical applications, by real-time acquisition of the actual frequency response curve played by the car audio equipment, the filter coefficient of the filter can be adjusted in real time so that the filter can perform bass equalization processing on the currently played audio signal, that is, equalize the low-frequency signal in the audio signal.
[0160] In an embodiment of the present application, by acquiring a low-frequency signal of at least one channel, determining low-frequency gain information corresponding to each channel according to each low-frequency signal, and processing the corresponding low-frequency signal based on the low-frequency gain information to obtain a first low-frequency signal, determining a target frequency response curve, determining a to-be-determined filter coefficient based on the target frequency response curve, performing equalization processing on the first low-frequency signal according to the to-be-determined filter coefficient to obtain a second low-frequency signal, collecting an actual frequency response curve corresponding to the second low-frequency signal, adjusting the to-be-determined filter coefficient according to the target frequency response curve and the actual frequency response curve to obtain a target filter coefficient, processing the low-frequency signal based on the target filter coefficient to obtain a target low-frequency signal, and performing equalization processing on the low-frequency signal using the target filter coefficient can make the sound at each position in the vehicle consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position.
[0161] See also Figure 4 , Figure 4 A schematic flow chart of a method for processing low-frequency signal data provided by an embodiment of the present application is shown, which may specifically include the following steps:
[0162] Step 401: Acquire an audio signal of at least one channel, and perform a low-frequency quantization analysis operation on the audio signal of each channel to obtain a low-frequency signal of each channel.
[0163] Specifically, the low-frequency quantization analysis operation includes separating the low-frequency components in the audio signal and quantizing the low-frequency components according to the signal energy of the low-frequency components.
[0164] Step 402 : allocating the low frequency signal to a corresponding channel in the vehicle audio device according to the channel format of the audio signal and the channel configuration of the vehicle audio device.
[0165] Step 403, determining the undetermined filter coefficients of the filters in each channel according to the target frequency response curve, and for each channel, performing equalization processing on the low-frequency signal of the channel based on the undetermined filter coefficients corresponding to the channel to obtain a processed low-frequency signal.
[0166] Step 404 , collecting the actual frequency response curve of the low-frequency signal after playing and processing in each channel, and adjusting the coefficient of the filter in each channel to the target filter coefficient according to the actual frequency response curve and the target frequency response curve.
[0167] Step 405 , determining a delay adjustment value corresponding to the low-frequency signal in each channel according to the actual frequency response curve of each channel, and performing delay processing on the low-frequency signal based on the delay adjustment value to obtain a target low-frequency signal of each channel.
[0168] In an embodiment of the present application, an audio signal of at least one channel is acquired, and a low-frequency quantization analysis operation is performed on the audio signal of each channel to obtain a low-frequency signal of each channel. The low-frequency signal is allocated to a corresponding channel in the vehicle audio device according to the channel format of the audio signal and the channel configuration of the vehicle audio device. The undetermined filter coefficients of the filter in each channel are determined according to the target frequency response curve. For each channel, the low-frequency signal of the channel is equalized based on the undetermined filter coefficient corresponding to the channel to obtain a processed low-frequency signal. The actual frequency response curve of the processed low-frequency signal played on each channel is collected, and the processed low-frequency signal is equalized according to the actual frequency response curve. The filter coefficients in each channel are adjusted to the target filter coefficients by using the target filter coefficients, and the equalization processing of the low-frequency signal by using the target filter coefficients can make the sound at each position in the vehicle consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position. By determining the delay adjustment value corresponding to the low-frequency signal in each channel according to the actual frequency response curve of each channel, and delay processing of the low-frequency signal based on the delay adjustment value to obtain the target low-frequency signal of each channel, the inconsistency of the sound playback time at each position in the vehicle can be reduced, thereby improving the synchronization of the low-frequency signal playback by the vehicle audio equipment.
[0169] See also Figure 5 , Figure 5A schematic diagram of the structure of a low-frequency signal data processing device provided by an embodiment of the present application is shown, which may specifically include the following modules:
[0170] An acquisition module 501 is used to acquire a low-frequency signal of at least one channel; wherein the low-frequency signal is an audio signal in any channel format, and different channel formats correspond to different numbers of channels;
[0171] A determination module 502, configured to determine low-frequency gain information corresponding to each channel according to each low-frequency signal, and determine a first low-frequency signal of each channel according to each low-frequency gain information and each low-frequency signal;
[0172] The equalization module 503 is used to determine a target frequency response curve, and perform equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain a target low-frequency signal of each channel.
[0173] In one implementation, the determination module 502 may also be used to:
[0174] Determine a total low-frequency signal based on each low-frequency signal;
[0175] According to the total low-frequency signal, determine the low-frequency proportion information of each channel;
[0176] According to the low-frequency ratio information, the low-frequency gain information corresponding to each channel is determined.
[0177] In one implementation, the device further includes:
[0178] an allocation module, configured to determine a channel configuration before performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, and determine a signal allocation strategy of the first low-frequency signal according to the channel format and the channel configuration;
[0179] Allocating the first low-frequency signal of each channel to the corresponding channel based on the signal allocation strategy;
[0180] Determine a channel low-frequency signal of the channel according to a first low-frequency signal corresponding to the channel;
[0181] In one implementation, the above-mentioned balancing module 503 may also be used for:
[0182] The channel low-frequency signal of each channel is equalized according to the target frequency response curve to obtain the target low-frequency signal of each channel.
[0183] In one implementation, the above-mentioned balancing module 503 may also be used for:
[0184] Determine the filter coefficients to be determined based on the target frequency response curve;
[0185] Performing equalization processing on the first low-frequency signal of each channel according to the filter coefficient to be determined, so as to obtain the second low-frequency signal of each channel;
[0186] Acquiring an actual frequency response curve corresponding to the second low-frequency signal, and adjusting the undetermined filter coefficient according to the target frequency response curve and the actual frequency response curve to obtain the target filter coefficient;
[0187] The first low-frequency signal of each channel is processed based on the target filter coefficient to obtain a target low-frequency signal of each channel.
[0188] In one implementation, the above-mentioned balancing module 503 may also be used for:
[0189] Down-sampling the first low-frequency signal of each channel to obtain a low-frequency band signal of each channel;
[0190] Performing equalization processing on the bass-band signal of each channel based on the undetermined filter coefficient to obtain a processed bass-band signal;
[0191] The processed low-frequency band signal is up-sampled to obtain a second low-frequency signal of each channel.
[0192] In one implementation, the device further includes:
[0193] The delay module is used to determine the delay adjustment value corresponding to each low-frequency signal, and for each first low-frequency signal, use the delay adjustment value corresponding to the first low-frequency signal to perform delay processing on the first low-frequency signal.
[0194] In one implementation, the acquisition module 501 may also be used to:
[0195] Acquire an audio signal of at least one channel;
[0196] Determine the cutoff frequency, and separate the audio signal of any channel according to the cutoff frequency to obtain the low-frequency component in any audio signal;
[0197] For each channel, the low-frequency component corresponding to the channel is quantized according to the signal energy of the low-frequency component corresponding to the channel to obtain the low-frequency signal of each channel.
[0198] In the embodiment of the present application, by acquiring a low-frequency signal of at least one channel, the low-frequency signal is an audio signal of any channel format, and different channel formats correspond to different numbers of channels. According to each low-frequency signal, low-frequency gain information corresponding to each channel is determined. According to the low-frequency gain information corresponding to each channel and the low-frequency signal of each channel, a first low-frequency signal of each channel is determined, and then the corresponding low-frequency signal can be gain-processed based on the low-frequency gain information of each channel to obtain the first low-frequency signal. Processing the low-frequency signal through the low-frequency gain information can reduce the situation of insufficient bass volume and turbid bass. Furthermore, by determining a target frequency response curve, and performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve, a target low-frequency signal of each channel is obtained. By playing the target low-frequency signal after the equalization processing of the target frequency response curve, the sound at each position in the vehicle can be made to be consistent with the target frequency response curve, thereby reducing the inconsistency of the sound at each position.
[0199] It should be noted that the information interaction, execution process and other contents between the above-mentioned devices are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0200] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0201] See also Figure 6 , Figure 6 A structural block diagram of a terminal device provided by an embodiment of the present application is shown as follows: Figure 6 As shown, this embodiment provides a terminal device 61, which includes: at least one processor 611, a memory 612, and a computer program 6121 stored in the memory 612 and executable on at least one processor 611, and when the processor 611 executes the computer program 6121, the steps in any of the above-mentioned method embodiments are implemented.
[0202] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments can be implemented.
[0203] An embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0204] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the camera device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium.
[0205] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for processing low-frequency signal data, characterized in that: The method comprises: Acquire a low-frequency signal of at least one channel; wherein the low-frequency signal is an audio signal in any channel format, and different channel formats correspond to different numbers of channels; Determine low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals; Determine a first low-frequency signal of each channel according to each low-frequency gain information and each low-frequency signal; A target frequency response curve is determined, and equalization processing is performed on the first low-frequency signal of each of the channels according to the target frequency response curve to obtain a target low-frequency signal of each of the channels.
2. The method for processing low-frequency signal data according to claim 1, characterized in that: The step of determining low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals includes: Determine a total low-frequency signal according to each of the low-frequency signals; Determining low-frequency proportion information of each of the channels according to the total low-frequency signal; According to the low-frequency proportion information, low-frequency gain information corresponding to each of the channels is determined.
3. The data processing method of low-frequency signal according to claim 1, characterized in that: Before performing equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, the method further includes: Determine a channel configuration, and determine a signal allocation strategy for the first low-frequency signal according to the channel format and the channel configuration; Allocating the first low-frequency signal of each of the channels to a corresponding channel based on the signal allocation strategy; Determining a channel low-frequency signal of the channel according to a first low-frequency signal corresponding to the channel; The equalizing process is performed on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, including: The channel low-frequency signal of each channel is equalized according to the target frequency response curve to obtain the target low-frequency signal of each channel.
4. The data processing method of low-frequency signal according to claim 1, characterized in that: The equalizing process is performed on the first low-frequency signal of each channel according to the target frequency response curve to obtain the target low-frequency signal of each channel, including: Determining the filter coefficients to be determined based on the target frequency response curve; Performing equalization processing on the first low-frequency signal of each of the channels according to the undetermined filter coefficients to obtain a second low-frequency signal of each of the channels; Collecting an actual frequency response curve corresponding to each of the second low-frequency signals, and adjusting the undetermined filter coefficient according to the target frequency response curve and the actual frequency response curve to obtain a target filter coefficient; The first low-frequency signal of each channel is processed based on the target filter coefficient to obtain a target low-frequency signal of each channel.
5. The method for processing low-frequency signal data as claimed in claim 4, characterized in that: The equalizing process is performed on the first low-frequency signal of each channel according to the undetermined filter coefficient to obtain the second low-frequency signal of each channel, including: Down-sampling the first low-frequency signal of each channel to obtain a low-frequency band signal of each channel; Performing equalization processing on the bass-band signal of each of the channels based on the undetermined filter coefficients to obtain a processed bass-band signal; The processed low-frequency band signal is up-sampled to obtain a second low-frequency signal of each channel.
6. The method for processing low-frequency signal data according to any one of claims 1 to 5, characterized in that: The method further comprises: Determine a delay adjustment value corresponding to each of the first low-frequency signals; For each of the first low-frequency signals, delay processing is performed on the first low-frequency signal using the delay adjustment value corresponding to the first low-frequency signal.
7. The method for processing low-frequency signal data according to any one of claims 1 to 5, characterized in that: The step of obtaining a low-frequency signal of at least one channel includes: Acquire an audio signal of at least one channel; Determine a cutoff frequency, and separate the audio signal of any of the channels according to the cutoff frequency to obtain a low-frequency component in any of the audio signals; For each of the channels, the low-frequency components corresponding to the channel are quantized according to the signal energy of the low-frequency components corresponding to the channel to obtain the low-frequency signals of each of the channels.
8. A data processing device for low-frequency signals, characterized in that: The device comprises: An acquisition module, used for acquiring a low-frequency signal of at least one channel; wherein the low-frequency signal is an audio signal in any channel format, and different channel formats correspond to different numbers of channels; A determination module, configured to determine low-frequency gain information corresponding to each of the channels according to each of the low-frequency signals, and to determine a first low-frequency signal of each of the channels according to each of the low-frequency gain information and each of the low-frequency signals; The equalization module is used to determine a target frequency response curve, and perform equalization processing on the first low-frequency signal of each channel according to the target frequency response curve to obtain a target low-frequency signal of each channel.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Audio device
CN106797523A
Audio signal enhancement method and device, storage medium and processor
CN111970628A
Vehicle-mounted tuning method and device
CN116866777A
Low-frequency loudness compensation method, electronic equipment and storage medium
CN117376778A
Sound optimization method for home theater system
CN117835140A