Stereo upmix method, apparatus, device, and storage medium
By performing preset surround decoding and mean square error processing on the stereo signal, the principal components and multiple surround sound signals are determined, which solves the problem of excessive sound image concentration and improves the 3D atmosphere and auditory experience.
Patent Information
- Application Number
- CN202311136386.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-05
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-09-05
AI Technical Summary
Existing stereo upmixing techniques result in overly concentrated sound images, leading to a generally poor 3D ambiance.
By acquiring stereo signals, the principal component signals and the first surround sound signal are determined using a preset surround decoding method, and the second surround sound signal is determined by combining a preset mean square error method. Finally, these signals are sent to the speakers.
The addition of vocal components in the speakers creates a better 3D atmosphere and enhances the user's auditory experience.
Smart Images

Figure CN117278931B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of audio processing technology, and in particular to a stereo upmixing method, apparatus, device, and storage medium. Background Technology
[0002] Over the past 20 years, various upmixing methods have been proposed, such as those based on the extraction of coherent sound and ambient sound (PAE), and new upmixing methods based on psychoacoustics and panning rules. These methods have become increasingly refined in detail processing, more accurate in sound image processing, and better in immersive sound effects. For real-time systems, due to computational limitations, the Passive Surround Decoding Method (PSD) remains a simple, convenient, and efficient processing method. However, in practical use, it has been found that the PSD method removes too much of the human voice component from the surround sound, which leads to an overly concentrated sound image and a mediocre 3D atmosphere.
[0003] 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
[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for stereo upmixing, aiming to solve the technical problem that the stereo upmixing image is too concentrated and the 3D atmosphere is generally poor in the prior art.
[0005] To achieve the above objectives, the present invention provides a stereo upmixing method, the method comprising the following steps: Acquire stereo signals; The principal component signal and the first surround sound signal are determined based on the stereo signal and the preset surround decoding method; The second surround sound signal is determined based on the stereo signal and the preset mean square error method; The principal component signal, the first surround sound signal, and the second surround sound signal are sent to the speaker.
[0006] Optionally, determining the principal component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method includes: The stereo signal is separated to determine the left channel signal and the right channel signal; Principal component calculations are performed based on the left channel signal and the right channel signal to obtain the principal component signal; The first surround sound signal is obtained by calculating the difference between the left channel signal and the right channel signal.
[0007] Optionally, determining the second surround sound signal based on the stereo signal and a preset mean square error method includes: The reference signal is determined based on the left channel signal in the stereo signal. The desired signal is determined based on the right channel signal in the stereo signal. The second surround sound signal is determined based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method.
[0008] Optionally, determining the second surround sound signal based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method includes: The weight vector is initialized according to the preset filter length to obtain the initialized weight vector; The reference signal vector is determined based on the preset filter length and the reference signal; The second surround sound signal is determined by calculation based on the reference signal vector, the initial weight vector, the desired signal, and the preset mean square error method.
[0009] Optionally, determining the second surround sound signal based on the reference signal vector, the initial weight vector, the desired signal, and a preset mean square error method includes: Error signal is determined by calculating the error based on the initial weight vector, the desired signal, and the reference signal vector. The weights are updated based on the error signal, the initial weight vector, the reference signal vector, and the preset iteration step size to determine the weight update vector; The error signal is updated according to the weight update vector, and the error update signal is output. The second surround sound signal is determined based on the error update signal.
[0010] Optionally, sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker includes: The principal component signal is sent to the central speaker; The first surround sound signal and the second surround sound signal are delayed respectively to obtain the first target surround sound signal corresponding to the first surround sound signal and the second target surround sound signal corresponding to the second surround sound signal; Send the first target surround sound signal to the sky speaker, and send the second target surround sound signal to the surround speaker.
[0011] Optionally, after sending the principal component signal, the first surround sound signal, and the second surround sound signal to the corresponding loudspeakers, the method further includes: The mixed signal is determined based on the stereo signal and the filter; The mixed signal is sent to the reverberation speaker.
[0012] Furthermore, to achieve the above objectives, the present invention also proposes a stereo upmixing device, the stereo upmixing device comprising: The acquisition module is used to acquire stereo signals; The processing module is used to determine the main component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method; The processing module is also used to determine the second surround sound signal based on the stereo signal and a preset mean square error method; The control module is used to send the main component signal, the first surround sound signal, and the second surround sound signal to the speaker.
[0013] Furthermore, to achieve the above objectives, the present invention also proposes a stereo upmixing device, the stereo upmixing device comprising: a memory, a processor, and a stereo upmixing program stored in the memory and executable on the processor, the stereo upmixing program being configured to implement the steps of the stereo upmixing method as described above.
[0014] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a stereo upmixing program, wherein when the stereo upmixing program is executed by a processor, it implements the steps of the stereo upmixing method described above.
[0015] This invention discloses a stereo upmixing method, which involves acquiring a stereo signal; determining a principal component signal and a first surround sound signal based on the stereo signal and a preset surround decoding method; determining a second surround sound signal based on the stereo signal and a preset mean square error method; and sending the principal component signal, the first surround sound signal, and the second surround sound signal to a speaker. This invention solves the problem of overly concentrated sound image by using a preset surround decoding method to calculate the stereo signal to determine the principal component signal and the first surround sound signal, introducing a preset mean square error method to calculate the stereo signal again to determine the second surround sound signal, and finally sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker. This increases the amount of vocal content included in the speaker, creates a better 3D atmosphere, and enhances the user's auditory experience. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of a stereo upmixing device in the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a flowchart illustrating the first embodiment of the stereo upmixing method of the present invention; Figure 3 This is a flowchart illustrating the second embodiment of the stereo upmixing method of the present invention; Figure 4 This is a structural block diagram of the first embodiment of the stereo upmixing device of the present invention.
[0017] 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
[0018] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0019] Reference Figure 1 , Figure 1 This is a schematic diagram of the stereo upmixing device structure of the hardware operating environment involved in the embodiments of the present invention.
[0020] like Figure 1 As shown, the stereo upmixing device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. 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 Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0021] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on stereo upmixing equipment and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0022] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a stereo upmixing program.
[0023] exist Figure 1In the stereo upmixing device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the stereo upmixing device of the present invention can be set in the stereo upmixing device, and the stereo upmixing device calls the stereo upmixing program stored in the memory 1005 through the processor 1001 and executes the stereo upmixing method provided in the embodiment of the present invention.
[0024] This invention provides a stereo upmixing method, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of a stereo upmixing method according to the present invention.
[0025] In this embodiment, the stereo upmixing method includes the following steps: Step S10: Acquire stereo signal.
[0026] It should be noted that the execution subject in this embodiment is the control unit in the stereo upmixing device. The stereo upmixing device has functions such as data processing, data communication and program execution. The stereo upmixing device can be an integrated controller, a control computer or other devices, or other devices with similar functions. This embodiment does not limit the scope of these devices.
[0027] It is understandable that a stereo signal refers to an audio signal that includes a left channel and a right channel.
[0028] In practice, stereo signals are acquired by audio acquisition devices, including but not limited to microphones and stereo microphones.
[0029] Step S20: Determine the main component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method.
[0030] It is understood that the preset surround decoding method refers to the preset audio signal decoding method, including but not limited to the Passive Surround Decoding Method (PSD). The principal component signal refers to the relatively strong sound signal in the left and right channels. The first surround sound signal refers to the first surround sound signal calculated by the preset surround decoding method.
[0031] In practice, after acquiring the stereo signal, the stereo signal is calculated using a preset surround decoding method, and the principal component signal and the first surround signal are determined based on the calculation results.
[0032] It should be noted that, in order to accurately obtain the principal component signal and the first surround sound signal, the step of determining the principal component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method further includes: performing signal separation on the stereo signal to determine the left channel signal and the right channel signal; performing principal component calculation based on the left channel signal and the right channel signal to obtain the principal component signal; and performing difference calculation based on the left channel signal and the right channel signal to obtain the first surround sound signal.
[0033] It is understandable that the left channel signal refers to the sound signal from the left channel in the stereo signal, the right channel signal refers to the sound signal from the right channel in the stereo signal, the principal component calculation refers to the calculation method of calculating the principal component signal through the preset surround decoding method, and the difference calculation refers to the calculation method of calculating the first surround sound signal through the preset surround decoding method.
[0034] In practical implementation, the stereo signal undergoes signal separation processing to obtain the left and right channel signals. Using a preset decoding method, the left and right channel signals are calculated to determine the principal component signals. The specific calculation method is as follows: ,in Main component signal, This is the left channel signal. This is the right channel signal.
[0035] It should be noted that, for digital signals, continuous signals in the time domain cannot be used. and Let represent the left channel signal and the right channel signal, respectively, where t represents time. Therefore, in this embodiment, discrete domain signals are used. and These represent the left and right channel signals, respectively, where n represents the sampling point.
[0036] Understandably, when calculating the first surround sound signal, it is determined by calculating the difference between the left channel signal and the right channel signal. The specific calculation method is as follows: ,in The first type of surround sound signal.
[0037] Step S30: Determine the second surround sound signal based on the stereo signal and the preset mean square error method.
[0038] It is understandable that the preset mean square error method refers to the pre-set audio signal processing method, including but not limited to the Least Mean Square (LMS) method, and the second surround sound refers to the second surround sound signal calculated by the preset mean square error method.
[0039] In practice, after acquiring the stereo signal, the stereo signal is calculated using a pre-mean square error method, and the second surround signal is determined based on the calculation results.
[0040] Step S40: Send the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker.
[0041] It is understood that loudspeakers include, but are not limited to, center loudspeakers, sky loudspeakers, surround loudspeakers, reverberation loudspeakers, etc.
[0042] In practice, after acquiring the principal component signal, the first surround sound signal, and the second surround sound signal, all audio signals are sent to the corresponding speakers according to the allocation mechanism to achieve a better 3D atmosphere.
[0043] It should be noted that, in order to increase the sound image range and enhance the 3D atmosphere, after sending the main component signal, the first surround sound signal and the second surround sound signal to the corresponding speakers, the method further includes: determining a mixed signal based on the stereo signal and the filter; and sending the mixed signal to the reverberation speaker.
[0044] It is understandable that a filter refers to a device that mixes the input signal and the output signal of the filter. Filters include, but are not limited to, full-pass filters, and mixed signals refer to mixed audio signals used to achieve reverberation effects.
[0045] In practice, the stereo signal is input into the filter, which mixes the stereo signal with the output signal in a specific way to determine the mixed signal. The mixed signal is then sent to the reverberation speaker to achieve the reverberation effect, increase the sound image range, and enhance the 3D atmosphere.
[0046] This embodiment acquires a stereo signal; determines a principal component signal and a first surround sound signal based on the stereo signal and a preset surround decoding method; determines a second surround sound signal based on the stereo signal and a preset mean square error method; and sends the principal component signal, the first surround sound signal, and the second surround sound signal to a speaker. This invention solves the problem of overly concentrated sound images by using a preset surround decoding method to calculate the stereo signal to determine the principal component signal and the first surround sound signal, introducing a preset mean square error method to calculate the stereo signal again to determine the second surround sound signal, and finally sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker. This increases the amount of human voice content included in the speaker, creates a better 3D atmosphere, and enhances the user's auditory experience.
[0047] refer to Figure 3 , Figure 3This is a flowchart illustrating a second embodiment of a stereo upmixing method according to the present invention.
[0048] Based on the first embodiment described above, the stereo upmixing method of this embodiment includes the following in step S30: Step S301: Determine the reference signal based on the left channel signal in the stereo signal.
[0049] It is understandable that the reference signal refers to the ideal signal used for comparison and adjustment. The reference signal is one of the fixed variables in the preset mean square error method, represented as... .
[0050] In practice, the reference signal is assigned a value based on the left channel signal, and the specific calculation method is as follows: To determine the reference signal.
[0051] Step S302: Determine the desired signal based on the right channel signal in the stereo signal.
[0052] It is understandable that the desired signal refers to the signal expected to be output. The desired signal is one of the fixed variables in the preset mean square error method, and is expressed as... .
[0053] In practice, the desired signal is calculated based on the right channel signal. The specific calculation method is as follows: To determine the desired signal.
[0054] Step S303: Determine the second surround sound signal based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method.
[0055] It is understood that the preset filter length refers to the set filter length, which is an adjustable length, generally a power of 2. In this embodiment, the preset filter length is set to 128, but it can also be set to other values. This embodiment does not limit this.
[0056] In practice, the reference signal and the desired signal are calculated by using a preset mean square error method and a preset filter length, and the second surround sound signal is determined based on the calculation results.
[0057] It should be noted that, in order to determine the second surround sound signal through the preset filter length, the step of determining the second surround sound signal based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method further includes: initializing the weight vector according to the preset filter length to obtain an initialized weight vector; determining a reference signal vector according to the preset filter length and the reference signal; and calculating and determining the second surround sound signal based on the reference signal vector, the initialized weight vector, the desired signal, and the preset mean square error method. It is understandable that the weight vector refers to the weight of each filter coefficient in the adaptive filter, expressed as... It determines how the adaptive filter weights the input signal. The reference signal vector refers to the vector form of the reference signal used to guide the adjustment of the adaptive filter, expressed as... Initialization refers to the operation of assigning initial values to the weight vector before the algorithm starts.
[0058] In practice, the weight vector is initialized based on the preset filter length. The specific calculation method is as follows: The reference signal vector is initialized based on the preset filter length. The specific calculation method is as follows: ,in The transpose is then used to calculate the reference signal vector, the initial weight vector, and the desired signal using a preset mean square error method. The second surround sound signal is then determined based on the calculation results.
[0059] It should be noted that, in order to accurately obtain the second surround sound signal, the step of calculating and determining the second surround sound signal based on the reference signal vector, the initial weight vector, the desired signal, and a preset mean square error method includes: calculating the error based on the initial weight vector, the desired signal, and the reference signal vector to determine the error signal; updating the weights based on the error signal, the initial weight vector, the reference signal vector, and a preset iteration step size to determine the weight update vector; updating the error signal based on the weight update vector to output the error update signal; and determining the second surround sound signal based on the error update signal.
[0060] It is understandable that error calculation refers to one of the calculation methods among the preset mean square error methods, and the error signal refers to the difference between the expected output signal and the actual output signal, expressed as: The preset iteration step size refers to the iteration step size when updating the LMS weights, expressed as: The weight update vector refers to the weight vector updated at each time step, and is represented as: The error update signal refers to the error signal updated according to the weight update vector.
[0061] In practical implementation, the initial weight vector, desired signal, and reference signal are calculated using a preset mean square error method. The specific calculation method is as follows: To determine the error signal, the error signal, initial weight vector, reference signal vector, and preset iteration step size are then updated and calculated. The specific calculation method is as follows: The weight update vector is determined by using the weight update vector obtained at time step 1 and the error signal calculation formula to determine the error update signal. Finally, the second surround sound signal is determined based on the error update signal. The specific calculation method is as follows: In this embodiment, the preset iteration step size is selected as 0.0001. The second surround sound signal at each moment is obtained by continuously updating the calculation. .
[0062] It should be noted that, in order to optimize the surround sound allocation mechanism, the step of sending the principal component signal, the first surround sound signal, and the second surround sound signal to the loudspeaker further includes: sending the principal component signal to the center loudspeaker; performing delay processing on the first surround sound signal and the second surround sound signal respectively to obtain a first target surround sound signal corresponding to the first surround sound signal and a second target surround sound signal corresponding to the second surround sound signal; sending the first target surround sound signal to the sky loudspeaker, and sending the second target surround sound signal to the surround loudspeaker.
[0063] It is understood that loudspeakers include, but are not limited to, center loudspeakers, sky loudspeakers, and surround loudspeakers. Delay processing refers to the operation of removing delay information from surround sound information. The first target surround sound signal refers to the signal after the first surround sound signal has been de-delayed, and the second target surround sound signal refers to the signal after the second surround sound signal has been de-delayed.
[0064] In practice, the main component signal is sent to the center speaker, and the first and second surround sound signals are delayed to determine the first and second target surround sound signals. Then, the first target surround sound signal is sent to the sky speaker, and the second target surround sound signal is sent to the surround speakers. Through the above surround sound allocation mechanism, different audio signals are played on the corresponding speakers, which increases the sound image range and enhances the 3D atmosphere.
[0065] This embodiment determines a reference signal based on the left channel signal of the stereo signal; determines a desired signal based on the right channel signal of the stereo signal; and determines a second surround sound signal based on a preset filter length, the reference signal, the desired signal, and a preset mean square error method. By using a preset mean square error method, the reference signal and desired signal are determined based on the left and right channel signals of the stereo signal. Finally, the second surround sound signal is determined based on the preset filter length, the reference signal, and the desired signal. The preset mean square error method results in surround sound components richer in human voices, creating a better 3D atmosphere.
[0066] Furthermore, embodiments of the present invention also propose a storage medium storing a stereo upmixing program, wherein when the stereo upmixing program is executed by a processor, it implements the steps of the stereo upmixing method described above.
[0067] Reference Figure 4 , Figure 4 This is a structural block diagram of the first embodiment of the stereo upmixing device of the present invention.
[0068] like Figure 4 As shown, the stereo upmixing device proposed in this embodiment of the invention includes: Acquisition module 10 is used to acquire stereo signals.
[0069] Processing module 20 is used to determine the main component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method.
[0070] The processing module 20 is further configured to determine a second surround sound signal based on the stereo signal and a preset mean square error method.
[0071] The control module 30 is used to send the main component signal, the first surround sound signal, and the second surround sound signal to the speaker.
[0072] This embodiment acquires a stereo signal; determines a principal component signal and a first surround sound signal based on the stereo signal and a preset surround decoding method; determines a second surround sound signal based on the stereo signal and a preset mean square error method; and sends the principal component signal, the first surround sound signal, and the second surround sound signal to a speaker. This invention solves the problem of overly concentrated sound images by using a preset surround decoding method to calculate the stereo signal to determine the principal component signal and the first surround sound signal, introducing a preset mean square error method to calculate the stereo signal again to determine the second surround sound signal, and finally sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker. This increases the amount of human voice content included in the speaker, creates a better 3D atmosphere, and enhances the user's auditory experience.
[0073] In one embodiment, the processing module 20 is further configured to perform signal separation on the stereo signal to determine the left channel signal and the right channel signal; Principal component calculations are performed based on the left channel signal and the right channel signal to obtain the principal component signal; The first surround sound signal is obtained by calculating the difference between the left channel signal and the right channel signal.
[0074] In one embodiment, the processing module 20 is further configured to determine a reference signal based on the left channel signal in the stereo signal; The desired signal is determined based on the right channel signal in the stereo signal. The second surround sound signal is determined based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method.
[0075] In one embodiment, the processing module 20 is further configured to initialize the weight vector according to a preset filter length to obtain an initialized weight vector; The reference signal vector is determined based on the preset filter length and the reference signal; The second surround sound signal is determined by calculation based on the reference signal vector, the initial weight vector, the desired signal, and the preset mean square error method.
[0076] In one embodiment, the processing module 20 is further configured to perform error calculation based on the initial weight vector, the desired signal, and the reference signal vector to determine the error signal; The weights are updated based on the error signal, the initial weight vector, the reference signal vector, and the preset iteration step size to determine the weight update vector; The error signal is updated according to the weight update vector, and the error update signal is output. The second surround sound signal is determined based on the error update signal.
[0077] In one embodiment, the control module 30 is further configured to send the principal component signal to the center speaker; The first surround sound signal and the second surround sound signal are delayed respectively to obtain the first target surround sound signal corresponding to the first surround sound signal and the second target surround sound signal corresponding to the second surround sound signal; Send the first target surround sound signal to the sky speaker, and send the second target surround sound signal to the surround speaker.
[0078] In one embodiment, the control module 30 is further configured to determine a mixed signal based on the stereo signal and the filter; The mixed signal is sent to the reverberation speaker.
[0079] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0080] It should be understood that although the steps in the flowcharts of this application's embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0081] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0082] Furthermore, 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.
[0083] 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.
[0084] 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 read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0085] 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 stereo upmixing method, characterized in that, The stereo upmixing method includes: Acquire stereo signals; The principal component signal and the first surround sound signal are determined based on the stereo signal and the preset surround decoding method; The second surround sound signal is determined based on the stereo signal and the preset mean square error method; Send the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker; The step of determining the second surround sound signal based on the stereo signal and a preset mean square error method includes: The reference signal is determined based on the left channel signal in the stereo signal. The desired signal is determined based on the right channel signal in the stereo signal. The second surround sound signal is determined based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method.
2. The method as described in claim 1, characterized in that, The step of determining the principal component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method includes: The stereo signal is separated to determine the left channel signal and the right channel signal; Principal component calculations are performed based on the left channel signal and the right channel signal to obtain the principal component signal; The first surround sound signal is obtained by calculating the difference between the left channel signal and the right channel signal.
3. The method as described in claim 1, characterized in that, The step of determining the second surround sound signal based on the preset filter length, the reference signal, the desired signal, and the preset mean square error method includes: The weight vector is initialized according to the preset filter length to obtain the initialized weight vector; The reference signal vector is determined based on the preset filter length and the reference signal; The second surround sound signal is determined by calculation based on the reference signal vector, the initial weight vector, the desired signal, and the preset mean square error method.
4. The method as described in claim 3, characterized in that, The step of determining the second surround sound signal by calculating based on the reference signal vector, the initial weight vector, the desired signal, and a preset mean square error method includes: Error is calculated based on the initial weight vector, the desired signal, and the reference signal vector to determine the error signal; The weights are updated based on the error signal, the initial weight vector, the reference signal vector, and the preset iteration step size to determine the weight update vector; The error signal is updated according to the weight update vector, and the error update signal is output. The second surround sound signal is determined based on the error update signal.
5. The method as described in claim 1, characterized in that, Sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker includes: The principal component signal is sent to the central speaker; The first surround sound signal and the second surround sound signal are delayed respectively to obtain the first target surround sound signal corresponding to the first surround sound signal and the second target surround sound signal corresponding to the second surround sound signal; Send the first target surround sound signal to the sky speaker, and send the second target surround sound signal to the surround speaker.
6. The method according to any one of claims 1 to 5, characterized in that, After sending the principal component signal, the first surround sound signal, and the second surround sound signal to the speaker, the method further includes: The mixed signal is determined based on the stereo signal and the filter; The mixed signal is sent to the reverberation speaker.
7. A stereo upmixing device, characterized in that, The stereo upmixing device includes: The acquisition module is used to acquire stereo signals; The processing module is used to determine the main component signal and the first surround sound signal based on the stereo signal and the preset surround decoding method; The processing module is also used to determine the second surround sound signal based on the stereo signal and a preset mean square error method; The control module is used to send the main component signal, the first surround sound signal, and the second surround sound signal to the speaker; The processing module is further configured to determine a reference signal based on the left channel signal in the stereo signal; determine a desired signal based on the right channel signal in the stereo signal; and determine a second surround sound signal based on a preset filter length, the reference signal, the desired signal, and a preset mean square error method.
8. A stereo upmixing device, characterized in that, The device includes: a memory, a processor, and a stereo upmixing program stored in the memory and executable on the processor, the stereo upmixing program being configured to implement the steps of the stereo upmixing method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a stereo upmixing program, which, when executed by a processor, implements the steps of the stereo upmixing method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Systems and methods for processing an audio signal for replay on stereo and multi-channel audio devices
US10547927B1
Audio device and method for generating surround sound
US20060256969A1
