Multichannel upmixing method and device, terminal equipment and storage medium

By weighted superposition and filtering of the first multi-channel audio in the terminal device, the second multi-channel audio is generated and played, which solves the problem of cloud storage pressure and achieves resource saving and efficiency improvement.

CN118590822APending Publication Date: 2024-09-03GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410747159.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing technology increases the storage pressure on the cloud during the multi-channel audio upmixing process, requiring more channels of audio signals to be stored, resulting in a waste of resources.

Method used

By acquiring the first multi-channel audio signal, performing weighted superposition and filtering processing based on each channel, the second multi-channel audio signal is generated and played back in real time, reducing cloud storage requirements.

Benefits of technology

Automatically upmix multi-channel audio on terminal devices, saving cloud storage resources, reducing labor costs, improving upmixing efficiency, and ensuring audio quality and stereoscopic listening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590822A
    Figure CN118590822A
Patent Text Reader

Abstract

The embodiment of the invention provides a multichannel upmixing method and device, terminal equipment and a storage medium, and relates to the technical field of audio playing. The method comprises the following steps: acquiring an audio signal of a first multi-channel audio, wherein channels in the first multi-channel audio are first-class channels; based on the audio signal of each first type of sound channel, determining a first audio signal of each sound channel in the second multi-sound-channel audio, the sound channels in the second multi-sound-channel audio being second type of sound channels, the number of the second type of sound channels being greater than the number of the first type of sound channels, the first audio signal of each second type of sound channel being greater than the number of the first type of sound channels; carrying out weighted superposition on the audio signals of the at least one first-class sound channel; filtering the first audio signal of each second type of sound channel to obtain a second audio signal of each second type of sound channel; and based on the second audio signal of each second type of sound channel, playing a second multichannel audio in real time through each second type of sound channel. By adopting the technical scheme provided by the embodiment of the invention, the storage resources of the cloud can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of audio playback technology, and in particular to a multi-channel upmixing method, apparatus, terminal device, and storage medium. Background Art

[0002] Multi-channel audio refers to audio with three or more channels.

[0003] In the related art, a mixing engineer pre-mixes multi-channel audio into audio with more channels (such as upmixing 5.1-channel audio to 7.1-channel audio). The mixed audio with more channels is stored in the cloud for users to download. The process of mixing multi-channel audio into audio with more channels can be called upmixing.

[0004] In the above-mentioned related technologies, the audio with more channels obtained by mixing is stored in the cloud, thereby increasing the storage pressure of the cloud. Summary of the invention

[0005] The embodiments of the present application provide a multi-channel upmixing method, apparatus, terminal device and storage medium, which can save cloud storage resources. The technical solutions provided by the embodiments of the present application are as follows:

[0006] According to one aspect of an embodiment of the present application, a multi-channel upmixing method is provided, the method comprising:

[0007] Acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels;

[0008] Determine, based on the audio signals of the first-category channels, a first audio signal of each channel in a second multi-channel audio, where the channels in the second multi-channel audio are second-category channels, the number of the second-category channels is greater than the number of the first-category channels, and each first audio signal of the second-category channel is a weighted superposition of at least one audio signal of the first-category channel;

[0009] filtering the first audio signals of the second-category channels to obtain second audio signals of the second-category channels;

[0010] Based on the second audio signals of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

[0011] In some embodiments, filtering the first audio signal of each of the second-category channels to obtain the second audio signal of each of the second-category channels includes:

[0012] performing bandpass filtering on the first audio signal of each of the second-category channels to obtain a filtered intermediate frequency signal of each of the second-category channels;

[0013] Performing high-pass filtering on the first audio signal of each of the second-category channels to obtain filtered high-frequency signals of each of the second-category channels;

[0014] Performing low-pass filtering on the first audio signal of each of the second-category channels to obtain filtered low-frequency signals of each of the second-category channels;

[0015] For each of the second-category channels, a filtered intermediate frequency signal of the second-category channel, a filtered high frequency signal of the second-category channel, and a filtered low frequency signal of the second-category channel are mixed to obtain a second audio signal of the second-category channel.

[0016] In some embodiments, after performing bandpass filtering on the intermediate frequency signal to obtain the filtered intermediate frequency signal of each of the second-category channels, the method further includes:

[0017] Performing reverberation processing on the filtered intermediate frequency signals of each of the second-category sound channels to obtain reverberated intermediate frequency signals of each of the second-category sound channels;

[0018] The mixing process of the filtered intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel to obtain the second audio signal of the second channel includes:

[0019] The reverberated intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel are mixed to obtain a second audio signal of the second channel.

[0020] In some embodiments, the playing the second multi-channel audio in real time through each of the second-category channels based on the second audio signal of each of the second-category channels includes:

[0021] performing gain processing on the second audio signals of the second-category channels to obtain third audio signals of the second-category channels;

[0022] Based on the third audio signal of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

[0023] In some embodiments, after performing gain processing on the second audio signals of the second-category channels to obtain the third audio signals of the second-category channels, the method further includes:

[0024] Limiting the third audio signal of each of the second-category sound channels by a limiter to obtain the limited third audio signal of each of the second-category sound channels;

[0025] The method of playing the second multi-channel audio in real time through each of the second-category channels based on the third audio signal of each of the second-category channels includes:

[0026] Based on the limited third audio signals of the second-category channels, the second multi-channel audio is played in real time through the second-category channels.

[0027] In some embodiments, after acquiring the audio signal of the first multi-channel audio, the method further includes:

[0028] Performing gain processing on the audio signals of each of the first-category channels to obtain gain-processed audio signals of each of the first-category channels;

[0029] The determining, based on the audio signals of the first-category channels, the first audio signals of the respective channels in the second multi-channel audio, comprises:

[0030] Based on the audio signals after the gain processing of the first-category channels, a first audio signal of each channel in the second multi-channel audio is determined.

[0031] In some embodiments, the second multi-channel audio is 7.1.4 channel audio.

[0032] According to one aspect of an embodiment of the present application, a multi-channel upmixing device is provided, the device comprising:

[0033] A signal acquisition module, used to acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels;

[0034] a signal generating module, configured to determine, based on the audio signals of the first-category channels, a first audio signal of each channel in a second multi-channel audio, wherein the channels in the second multi-channel audio are second-category channels, the number of the second-category channels is greater than the number of the first-category channels, and each first audio signal of the second-category channel is a weighted superposition of the audio signals of at least one first-category channel;

[0035] The signal generating module is further used to filter the first audio signal of each of the second-category channels to obtain the second audio signal of each of the second-category channels;

[0036] The audio playing module is used to play the second multi-channel audio in real time through each of the second-category channels based on the second audio signals of each of the second-category channels.

[0037] In some embodiments, the first audio signal of each of the second-category channels includes a high-frequency signal, a medium-frequency signal and a low-frequency signal; and the signal generating module is used to:

[0038] Performing bandpass filtering on the intermediate frequency signal to obtain filtered intermediate frequency signals of each of the second-category channels;

[0039] Performing high-pass filtering on the high-frequency signal to obtain filtered high-frequency signals of each of the second-category channels;

[0040] Performing low-pass filtering on the low-frequency signal to obtain filtered low-frequency signals of each of the second-category channels;

[0041] For each of the second-category channels, a filtered intermediate frequency signal of the second-category channel, a filtered high frequency signal of the second-category channel, and a filtered low frequency signal of the second-category channel are mixed to obtain a second audio signal of the second-category channel.

[0042] In some embodiments, the signal generating module is further used to perform reverberation processing on the filtered intermediate frequency signals of each of the second-category sound channels to obtain the reverberated intermediate frequency signals of each of the second-category sound channels;

[0043] The signal generating module is used to mix the reverberated intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel to obtain the second audio signal of the second channel.

[0044] In some embodiments, the signal generating module is used to:

[0045] performing gain processing on the second audio signals of the second-category channels to obtain third audio signals of the second-category channels;

[0046] Based on the third audio signal of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

[0047] In some embodiments, the signal generating module is further configured to limit the third audio signal of each of the second-category channels through a limiter to obtain the limited third audio signal of each of the second-category channels;

[0048] The audio playing module is used to play the second multi-channel audio in real time through each of the second-category channels based on the third audio signal after limiting of each of the second-category channels.

[0049] In some embodiments, the signal generating module is further used to perform gain processing on the audio signals of each of the first-category channels to obtain the gain-processed audio signals of each of the first-category channels;

[0050] The signal generating module is configured to determine a first audio signal of each channel in the second multi-channel audio based on the audio signals after gain processing of each of the first-category channels.

[0051] In some embodiments, the second multi-channel audio is 7.1.4 channel audio.

[0052] According to one aspect of an embodiment of the present application, a terminal device is provided, the terminal device comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-mentioned multi-channel upmixing method.

[0053] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned multi-channel upmixing method.

[0054] According to one aspect of an embodiment of the present application, a computer program product is provided. The computer program product is loaded and executed by a processor to implement the above-mentioned multi-channel upmixing method.

[0055] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0056] By performing weighted superposition, filtering and other processing on the audio signal of the first multi-channel audio in real time, the first multi-channel audio can be automatically upmixed at the terminal to obtain the second multi-channel audio to be played, and the second multi-channel audio can be played in real time, so that the cloud only needs to store the first multi-channel audio and does not need to store the second multi-channel audio, thereby saving storage resources in the cloud.

[0057] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0059] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0060] Figure 2 is a flowchart of a multi-channel upmixing method provided by an embodiment of the present application;

[0061] Figure 3 is a flowchart of a multi-channel upmixing method provided by another embodiment of the present application;

[0062] Figure 4 is a block diagram of a multi-channel upmixing device provided by an embodiment of the present application;

[0063] Figure 5 This is a block diagram of a terminal device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0064] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods consistent with some aspects of the present application as detailed in the appended claims.

[0065] Please refer to Figure 1 , which shows a schematic diagram of the implementation environment of the solution provided by an embodiment of the present application. Figure 1 As shown, the solution implementation environment can be implemented as a multi-channel upmixing system 100, and the multi-channel upmixing system 100 includes a cloud 10 and a terminal device 20. Among them, the cloud 10 is a software platform using application virtualization technology (Application Virtualization), and the cloud 10 has functions such as search, download, use, management, and backup. The terminal device 20 refers to an electronic device with data calculation, processing and storage capabilities. The terminal device 20 can be a device such as a PC (Personal Computer), a vehicle-mounted terminal (such as an IoT (Internet of Things) vehicle-mounted audio device), a tablet computer, a smart phone, a wearable device, an intelligent robot, etc. In some embodiments, a communication connection (such as a network connection) is established between the cloud 10 and the terminal device 20.

[0066] The technical solution of the present application is introduced and explained below through several embodiments.

[0067] Please refer to Figure 2 , which shows a flowchart of a multi-channel upmixing method provided by an embodiment of the present application. In this embodiment, the method is mainly applied to the terminal device introduced above as an example. The method may include at least one of the following steps (210-240).

[0068] Step 210: Acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels.

[0069] In some embodiments, the terminal device can obtain the audio signal of the first multi-channel audio by downloading from the cloud or other means. In some embodiments, the first multi-channel audio can be 5.1-channel audio, 6.1-channel audio, etc. Of course, the first multi-channel audio can also be other types of multi-channel audio, which can be set by relevant technical personnel according to actual conditions, and the embodiments of the present application do not specifically limit this. In some embodiments, 5.1 channels refer to a surround sound system with five basic channels and one bass channel. Among them, the five basic channels are left channel, right channel, front center channel, left surround channel and right surround channel. The bass channel is mainly responsible for transmitting bass information (bass information can be an audio signal with a frequency less than 120Hz (Hertz)), and the bass channel can be used to supplement the bass content of other channels, so that the sound effects corresponding to some scenes containing bass such as explosions and impacts are better and more realistic. In some embodiments, 6.1 channels refer to a multi-channel system with a rear center channel added on the basis of 5.1 channels.

[0070] Step 220: Determine, based on the audio signals of each first-category channel, a first audio signal of each channel in a second multi-channel audio, where the channels in the second multi-channel audio are second-category channels, the number of second-category channels is greater than the number of first-category channels, and the first audio signal of each second-category channel is a weighted superposition of the audio signals of at least one first-category channel.

[0071] In some embodiments, the second multi-channel audio is audio that needs to be obtained by upmixing the first multi-channel audio, the channels included in the first multi-channel audio belong to the first category of channels, and the channels included in the second multi-channel audio belong to the second category of channels. In some embodiments, the first category of channels refers to the channels to be upmixed, that is, the channels included in the multi-channel audio before upmixing (that is, the first multi-channel audio); the second category of channels refers to the channels after upmixing, that is, the channels included in the multi-channel audio after upmixing (that is, the second multi-channel audio). Since upmixing will inevitably increase the number of channels, the number of channels of the second multi-channel audio must be greater than the number of channels of the first multi-channel audio; that is, the number of second category channels must be greater than the number of first category channels. In some embodiments, if the first multi-channel audio is 5.1-channel audio and the second multi-channel audio is 7.1.4-channel audio, that is, the 7.1.4-channel audio is obtained by upmixing the 5.1-channel audio, then the 6 channels included in the 5.1 channels belong to the first category of channels, and the 12 channels included in the 7.1.4 channels belong to the second category of channels.

[0072] In some embodiments, the second multi-channel audio may be 7.1-channel audio, 7.1.2-channel audio, 7.1.4-channel audio, and the like. Of course, the second multi-channel audio may also be other types of multi-channel audio, which may be specifically set by relevant technical personnel according to actual conditions, and the embodiments of the present application do not specifically limit this. In some embodiments, 7.1 channels refer to a multi-channel system that adds a left rear channel and a right rear channel on the basis of 5.1 channels. 7.1.2 channels refer to a multi-channel system that adds two top channels on the basis of 7.1 channels. 7.1.4 channels refer to a multi-channel system that adds four top channels on the basis of 7.1 channels.

[0073] In some embodiments, each audio signal of the second channel is obtained based on at least one audio signal of the first channel. Taking the first multi-channel audio as 5.1 channel audio as an example, the first audio signal of the channel (i.e., the second channel) in the second multi-channel audio can be obtained by referring to the following formula 1.

[0074] Formula 1:

[0075] New=x1*Old_L+x2*Old_R+x3*Old_C+x4*Old_LFE+x5*Old_LS+x6*Old_RS, wherein New refers to the first audio signal of the channel in the second multi-channel audio;

[0076] Old_L refers to the left channel of the 5.1 channel, and x1 corresponds to its weight factor;

[0077] Old_R refers to the right channel of 5.1 channels, and x2 corresponds to its weight factor;

[0078] Old_C refers to the front center channel of the 5.1 channel, and x3 corresponds to its weight factor;

[0079] Old_LFE refers to the bass channel of the 5.1 channel, and x4 corresponds to its weight factor;

[0080] Old_LS refers to the left surround channel of the 5.1 channel, and x5 corresponds to its weight factor;

[0081] Old_RS refers to the right surround channel of the 5.1 channel, and x6 corresponds to its weight factor.

[0082] In some embodiments, for different channels in the second multi-channel audio, at least one weight factor (i.e., x1, x2, x3, x4, x5, x6) in the corresponding reference formula has different values. For example, the weight factor x1 corresponding to the left channel in the second multi-channel audio is greater than 0, and the weight factor x1 corresponding to the right channel in the second multi-channel audio is equal to 0; for another example, the weight factor x1 corresponding to the left channel in the second multi-channel audio is equal to 0, and the weight factor x1 corresponding to the right channel in the second multi-channel audio is equal to 0.

[0083] In some embodiments, an audio matrix can be obtained based on the weight factors corresponding to each channel in the second multi-channel audio. In some embodiments, if the first multi-channel audio is 5.1-channel audio and the second multi-channel audio is 7.1.4-channel audio, the audio matrix is ​​a 12*6 matrix. Each element in this 12*6 matrix is ​​used to represent the amount of an audio signal of a first channel that needs to be superimposed in order to obtain a first audio signal of a second channel. The element in the i-th row and j-th column of this 12*6 matrix is ​​used to represent the amount of an audio signal of the j-th first channel that needs to be superimposed in order to obtain the first audio signal of the i-th second channel.

[0084] In some embodiments, for each second-category channel, the values ​​of each weight factor can be set so that the audio of the second-category channel obtained by upmixing meets the audio characteristics that the channel needs to express. For example, for each second-category channel, the value of each weight factor is determined based on the correlation between the first-category channel and the second-category channel. The higher the correlation between the first-category channel and the second-category channel, the larger the value of the corresponding weight factor; the smaller the correlation between the first-category channel and the second-category channel, the smaller the value of the corresponding weight factor.

[0085] In some embodiments, taking the first multi-channel audio as 5.1-channel audio and the second multi-channel audio as 7.1.4-channel audio as an example, when the second-category channels in the second multi-channel audio use formula 1, the corresponding 6 weight factors (i.e., [x1, x2, x3, x4, x5, x6]) may be taken as follows:

[0086] For the bass channel in the second multi-channel audio, the corresponding six weight factors may be [0, 0, 0, 1, 0, 0];

[0087] For the left channel in the second multi-channel audio, the corresponding six weight factors may be [1.5, 0, 1, 0.5, 2.0, 0], so as to avoid mixing the audio signal of the relevant channel on the right, and to ensure the stereo hearing of the second multi-channel audio as much as possible;

[0088] For the right channel in the second multi-channel audio, the corresponding six weight factors may be [0, 1.5, 1, 0.5, 0, 2.0], so as to avoid mixing the audio signal of the relevant channel on the left, and to ensure the stereo hearing of the second multi-channel audio as much as possible;

[0089] For the front center channel in the second multi-channel audio, the corresponding 6 weight factors may be [0.5, 0, 1, 0.2, 0.5, 0]. If the front center channel is the main channel for displaying human voice, the human voice can be highlighted as much as possible.

[0090] For the left surround channel in the second multi-channel audio, the corresponding six weight factors may be [1, 0, 1, 0.2, 2.0, 0], so as to avoid mixing the audio signal of the relevant right channel, to ensure the stereo sense of the second multi-channel audio as much as possible, and to highlight the original left rear surround channel as much as possible;

[0091] For the right surround channel in the second multi-channel audio, the corresponding six weight factors may be [0, 1.5, 1, 0.5, 0, 2.0], so as to avoid mixing the audio signals of the relevant channels on the left, to ensure the stereo sense of the second multi-channel audio as much as possible, and to highlight the right rear surround channel as much as possible;

[0092] For the left rear surround channel in the second multi-channel audio, the corresponding six weight factors may be [1, 0, 1, 0, 1, 0], so as to avoid mixing the audio signal of the relevant channel on the right, and to ensure the stereo hearing of the second multi-channel audio as much as possible;

[0093] For the right rear surround channel in the second multi-channel audio, the corresponding six weight factors may be [0, 1, 1, 0, 0, 1], so as to avoid mixing the audio signal of the left channel and ensure the stereo hearing of the second multi-channel audio as much as possible;

[0094] For the overhead left front channel in the second multi-channel audio, the corresponding six weight factors may be [1, 0, 1, 0, 0, 0], so as to avoid mixing in the audio signals of the relevant channels on the right, to ensure the stereo hearing of the second multi-channel audio as much as possible, and to control the loudness of the overhead left front channel;

[0095] For the overhead right front channel in the second multi-channel audio, the corresponding six weight factors may be [0, 1, 1, 0, 0, 0], so as to avoid mixing in the audio signals of the relevant channels on the left, to ensure the stereo sense of the second multi-channel audio as much as possible, and to control the loudness of the overhead right front channel;

[0096] For the left rear channel of the head in the second multi-channel audio, the corresponding six weight factors may be [0, 0, 1, 0, 1, 0], so as to avoid mixing the audio signal of the relevant channel on the right, to ensure the stereo hearing of the second multi-channel audio as much as possible, and to control the loudness of the right front channel of the head;

[0097] For the overhead right rear channel in the second multi-channel audio, the corresponding 6 weight factors can be taken as [0, 0, 1, 0, 0, 1] to avoid mixing in the audio signals of the related channels on the left, to ensure the stereo hearing of the second multi-channel audio as much as possible, and to control the loudness of the overhead right front channel.

[0098] It should be noted that the weight factors shown above are only examples and can be set by relevant technical personnel according to actual conditions. The embodiments of the present application do not make specific limitations on this.

[0099] In the above embodiment, by setting the weight factor, the stereo hearing sense of the second multi-channel audio obtained by upmixing is guaranteed and improved, and the loudness of each channel is balanced, so that the overall sound field sounds more harmonious and the sound positioning is more accurate in hearing, thereby improving the sense of presence of the second multi-channel audio.

[0100] In some embodiments, after obtaining the audio signal of the first multi-channel audio, the audio signal of each first-category channel is gain-processed to obtain the audio signal of each first-category channel after gain processing. In some embodiments, based on the audio signal of each first-category channel, the first audio signal of each channel in the second multi-channel audio is determined, including: based on the audio signal of each first-category channel after gain processing, determining the first audio signal of each channel in the second multi-channel audio. In the above embodiment, the audio signal is gain-processed first to control the loudness of each first-category channel after gain processing, and then the first audio signal of each channel in the second multi-channel audio is obtained based on the audio signal of each first-category channel after gain processing, so that the loudness of the first audio signal obtained based on this is more reasonable, and the problem of unbalanced loudness of the first audio signals of different channels is avoided as much as possible.

[0101] Step 230: Filter the first audio signal of each second-category channel to obtain the second audio signal of each second-category channel.

[0102] In some embodiments, after the first audio signals of each second channel are obtained by weighted superposition, the first audio signals also need to be filtered and processed to improve the harmony of the audio signals of the second multi-channel audio. In some embodiments, the audio signals obtained by filtering are the second audio signals of each second channel.

[0103] Step 240: Play the second multi-channel audio in real time through each second-category channel based on the second audio signal of each second-category channel.

[0104] In some embodiments, the audio after filtering is played to achieve real-time upmixing of multi-channel audio to audio with more channels, and the upmixed audio with more channels is played in real time. In some embodiments, in order to play the second multi-channel audio, it is necessary to have speakers that meet the number of channels of the second multi-channel audio, each channel corresponds to a speaker, and these speakers need to be arranged in corresponding positions. For example, if you want to play 7.1.4-channel audio, you need 12 speakers to play the 12 channels of audio respectively.

[0105] To summarize, the technical solution provided in the embodiment of the present application performs weighted superposition, filtering and other processing on the audio signal of the first multi-channel audio in real time, so that the first multi-channel audio can be automatically upmixed at the terminal to obtain the second multi-channel audio to be played, and the second multi-channel audio can be played in real time, so that the cloud only needs to store the first multi-channel audio and does not need to store the second multi-channel audio, thereby saving storage resources in the cloud.

[0106] In addition, the embodiments of the present application realize automatic upmixing of multi-channel audio into audio with more channels without manual upmixing, thereby reducing the labor cost of multi-channel audio upmixing and improving the upmixing efficiency of multi-channel audio.

[0107] In some possible implementations, the first audio signal of each second-category channel includes a high-frequency signal, an intermediate-frequency signal, and a low-frequency signal. Filtering the first audio signal of each second-category channel to obtain the second audio signal of each second-category channel includes at least one of the following steps:

[0108] 1. Performing bandpass filtering on the first audio signal of each second-category channel to obtain a filtered intermediate frequency signal of each second-category channel;

[0109] 2. Perform high-pass filtering on the first audio signal of each second-category channel to obtain a filtered high-frequency signal of each second-category channel;

[0110] 3. Perform low-pass filtering on the first audio signal of each second-category channel to obtain a filtered low-frequency signal of each second-category channel;

[0111] 4. For each second channel, mix the filtered intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel, and the filtered low frequency signal of the second channel to obtain a second audio signal of the second channel.

[0112] In some embodiments, the frequency range of the low frequency signal may be 20 to 160 Hz, the frequency range of the high frequency signal may be 160 to 1600 Hz, and the frequency range of the intermediate frequency signal may be 1600 to 2500 Hz. Of course, the specific frequency ranges or dividing points of the high frequency signal, the intermediate frequency signal, and the low frequency signal may be set by relevant technicians according to actual conditions, and the embodiments of the present application do not specifically limit this.

[0113] In some embodiments, a bandpass filter is used to perform bandpass filtering on the first audio signal, filtering out high-frequency signals and low-frequency signals in the first audio signal, and retaining the intermediate frequency signal in the first audio signal, so as to obtain a filtered intermediate frequency signal of the second channel. The bandpass filter may be one of a Butterworth filter, a Bessel filter, and a Linkwitz-Rayleigh filter, but the bandpass filter must be consistent with the type of the high-pass filter and the low-pass filter.

[0114] In some embodiments, a Butterworth filter, which may also be called a maximally flat filter, is characterized in that the frequency response curve in the passband is maximally flat without ripples, and gradually decreases to zero in the stopband.

[0115] In some embodiments, a Bessel filter is a linear filter with a maximum flat group delay (linear phase response), and the phase response of the bandpass filter is nearly linear. The Bessel filter can be used to reduce the nonlinear phase distortion inherent in all IIR digital filters (IIR Digital Filter, infinite impulse response digital filter). Bessel filters are often used in audio bridge systems. The analog Bessel filter is depicted as a constant group delay that spans almost the entire passband, thereby maintaining the filtered signal waveform on the passband. In some embodiments, the Bessel filter is used in audio equipment precisely because it has the characteristic of providing equal delay to all frequencies below its cutoff frequency. In audio equipment, out-of-band noise must be eliminated without compromising the phase relationship of multiple signals in the frequency band. In addition, the step response of the Bessel filter is very fast and there is no overshoot or ringing, which allows it to be used as a smoothing filter at the output of an audio DAC (Digital-to-Analog Converter) or an anti-aliasing filter at the input of an audio ADC (Analog-to-Digital Converter). Bessel filters can also be used to analyze the output of Class D amplifiers and to remove switching noise in other applications to improve the accuracy of distortion measurements and oscilloscope waveform measurements.

[0116] In some embodiments, a Link-Riley filter can be used in an active filter circuit, such as a precision multi-channel electronic crossover system. The Link-Riley filter is characterized by an attenuation slope of up to the fourth order. That is, the sound will attenuate 24dB of energy for every octave. That is, the attenuation slope is -24dB / Oct (Oct is Octave, which refers to an octave). At the same time, in the entire audio band (20Hz-20kHz), the Link-Riley filter has a flat phase response, and the signal will not produce serious phase distortion after passing through the Link-Riley filter.

[0117] In some embodiments, a high-pass filter is used to perform high-pass filtering on the first audio signal, filtering out the intermediate frequency signal and the low frequency signal in the first audio signal, and retaining the high frequency signal in the first audio signal, so as to obtain the filtered high frequency signal of the second channel. The high-pass filter can be one of a Butterworth filter, a Bessel filter, and a Linkwitz-Rayleigh filter, but the high-pass filter must be consistent with the type of the bandpass filter and the low-pass filter.

[0118] In some embodiments, a low-pass filter is used to perform low-pass filtering on the first audio signal, and high-frequency signals and intermediate-frequency signals in the first audio signal are filtered out, and low-frequency signals in the first audio signal are retained, so that the filtered low-frequency signal of the second channel can be obtained. The low-pass filter can be one of a Butterworth filter, a Bessel filter, and a Linkwitz-Rayleigh filter, but the low-pass filter must be consistent with the type of the band-pass filter and the high-pass filter.

[0119] In some embodiments, the bandpass filter, the low-pass filter, and the high-pass filter may all be Butterworth filters, may all be Bessel filters, or may all be Linkwitz-Rayleigh filters.

[0120] In some embodiments, after filtering to obtain the filtered intermediate frequency signals of each second-category channel, reverberation processing is performed on the filtered intermediate frequency signals of each second-category channel to obtain the reverberated intermediate frequency signals of each second-category channel. In some embodiments, the filtered intermediate frequency signals of the second-category channel, the filtered high-frequency signals of the second-category channel, and the filtered low-frequency signals of the second-category channel are mixed to obtain the second audio signals of the second-category channel, including: mixing the reverberated intermediate frequency signals of the second-category channel, the filtered high-frequency signals of the second-category channel, and the filtered low-frequency signals of the second-category channel to obtain the second audio signals of the second-category channel.

[0121] In some embodiments, reverberation processing refers to strengthening the reflected sound effect of the audio signal, thereby improving the spatial sense of the audio. However, considering that reverberation may also affect the clarity of the audio, since the human ear has a strong ability to capture and distinguish intermediate frequency signals and a weak ability to capture and distinguish low-frequency signals and high-frequency signals, only the intermediate frequency signal is reverberated, and the sound expression of the intermediate frequency signal is improved without affecting the clarity of the sound as much as possible, thereby ensuring the clarity of the low-frequency signal and the high-frequency signal. In some embodiments, if a 12Db (Decibel, decibel, here used to indicate the gain of the signal) bandpass filter is used for bandpass filtering, the intermediate frequency signal after reverberation of the second channel needs to be phase inverted to avoid phase cancellation after mixing; if a 24Db bandpass filter is used for bandpass filtering, the intermediate frequency signal after reverberation of the second channel does not need to be phase inverted.

[0122] In the above implementation, by filtering the first audio signal of the second channel, the noise signal in the audio signal can be filtered out, thereby improving the quality of the audio signal.

[0123] In some possible implementations, based on the second audio signals of the second-category channels, playing the second multi-channel audio in real time through the second-category channels includes at least one of the following steps:

[0124] 1. Performing gain processing on the second audio signal of each second-category channel to obtain a third audio signal of each second-category channel;

[0125] 2. Based on the third audio signal of each second-category channel, the second multi-channel audio is played in real time through each second-category channel.

[0126] In some embodiments, after obtaining the second audio signals of the second-category channels, it is necessary to perform gain processing on the second audio signals to adjust and balance the loudness of the second-category channels, thereby improving the harmony of the overall audio.

[0127] In some embodiments, after performing gain processing on the second audio signal of each second-category channel to obtain the third audio signal of each second-category channel, the third audio signal of each second-category channel is limited by a limiter to obtain the limited third audio signal of each second-category channel. In some embodiments, based on the third audio signal of each second-category channel, the second multi-channel audio is played in real time through each second-category channel, including: based on the limited third audio signal of each second-category channel, the second multi-channel audio is played in real time through each second-category channel.

[0128] In some embodiments, a limiter refers to a circuit that can flatten the signal voltage amplitude within a limited range, also known as a clipper. The function of the limiter circuit is to limit the output signal amplitude within a certain range. That is, when the input voltage exceeds or falls below a certain reference value, the output voltage will be limited to a certain level (called the limiter level) and will no longer change with the input voltage. In some embodiments, the functions of the limiter include: (1) shaping, such as cutting off the interference at the top or bottom of the output waveform; (2) waveform transformation, such as cutting off the positive pulse in the output signal and leaving only the negative pulse; (3) overvoltage protection. If a strong output signal or interference may damage a component, a limiter can be connected in front of this component for overvoltage protection.

[0129] In some embodiments, a limiter is used to perform limiting processing on the audio signals of each second channel (i.e., the third audio signal) to avoid noise or distortion caused by audio signal overflow, and then the audio signal of the second multi-channel audio after limiting processing is played.

[0130] In some embodiments, the obtained audio signals of each second-category channel (such as the second audio signal or the third audio signal) are first delayed and then limited. Taking the center position (also called the emperor's seat) as a reference, delay refers to the length of time it takes for an audio signal to reach the human ear from the time it is emitted. Taking the delay of the second-category channel with the largest delay as a reference, adjust the delay of other second-category channels so that the signals of all channels in the second multi-channel audio can reach the human ear at the same time, try to avoid or shorten the arrival time difference of sounds of different channels, and improve the listening experience of the second multi-channel audio.

[0131] In the above implementation, after filtering, the audio signal is gain processed to adjust the loudness of each second-category channel, and the noise or distortion problem is reduced by limiting processing, thereby further improving the audio quality and playback effect of the second multi-channel audio.

[0132] In some embodiments, as follows Figure 3 As shown, the method of the embodiment of the present application can be implemented by at least one of the following steps (301-313).

[0133] Step 301, obtaining a 5.1-channel audio signal;

[0134] Step 302, performing gain processing on the audio signal of each channel in the 5.1 channel;

[0135] Step 303, upmixing the 5.1-channel audio signal to obtain the first audio signal of each second-category channel of the 7.1.4-channel;

[0136] Step 304, performing bandpass filtering on the first audio signal of each second-category channel to obtain a filtered intermediate frequency signal of each second-category channel;

[0137] Step 305, performing reverberation processing on the filtered intermediate frequency signals of each second-category sound channel to obtain reverberated intermediate frequency signals of each second-category sound channel;

[0138] Step 306, performing phase inversion processing on the reverberated intermediate frequency signals of each second-category sound channel to adjust the phase of the intermediate frequency signal;

[0139] Step 307, high-pass filtering the first audio signal of each second-category channel to obtain a filtered high-frequency signal of each second-category channel;

[0140] Step 308, low-pass filtering is performed on the first audio signal of each second-category channel to obtain a filtered low-frequency signal of each second-category channel;

[0141] Step 309, mixing the reverberated intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel, and the filtered low frequency signal of the second channel to obtain a second audio signal of the second channel;

[0142] Step 310, performing gain processing on the second audio signal of each second-category channel to obtain a third audio signal of each second-category channel;

[0143] Step 311, adjusting the delay of the third audio signal of each second-category channel;

[0144] Step 312, performing a limiting process on the third audio signal of each second-category channel to obtain a third audio signal after limiting of each second-category channel;

[0145] Step 313: Play the 7.1.4-channel audio in real time based on the limited third audio signals of the second-category channels.

[0146] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0147] Please refer to Figure 4 , which shows a block diagram of a multi-channel upmixing device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned multi-channel upmixing method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, and can also be set on the terminal device. The device 400 may include: a signal acquisition module 410, a signal generation module 420 and an audio playback module 430.

[0148] The signal acquisition module 410 is configured to acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels.

[0149] The signal generating module 420 is configured to determine, based on the audio signals of the first-category channels, a first audio signal of each channel in a second multi-channel audio, where the channels in the second multi-channel audio are second-category channels, the number of the second-category channels is greater than the number of the first-category channels, and each first audio signal of the second-category channel is a weighted superposition of the audio signals of at least one first-category channel.

[0150] The signal generating module 420 is further configured to filter the first audio signal of each of the second-category channels to obtain the second audio signal of each of the second-category channels.

[0151] The audio playing module 430 is configured to play the second multi-channel audio in real time through each of the second-category channels based on the second audio signals of each of the second-category channels.

[0152] In some embodiments, the first audio signal of each of the second-category channels includes a high-frequency signal, a medium-frequency signal and a low-frequency signal; the signal generating module 420 is used to:

[0153] Performing bandpass filtering on the intermediate frequency signal to obtain filtered intermediate frequency signals of each of the second-category channels;

[0154] Performing high-pass filtering on the high-frequency signal to obtain filtered high-frequency signals of each of the second-category channels;

[0155] Performing low-pass filtering on the low-frequency signal to obtain filtered low-frequency signals of each of the second-category channels;

[0156] For each of the second-category channels, a filtered intermediate frequency signal of the second-category channel, a filtered high frequency signal of the second-category channel, and a filtered low frequency signal of the second-category channel are mixed to obtain a second audio signal of the second-category channel.

[0157] In some embodiments, the signal generating module 420 is further configured to perform reverberation processing on the filtered intermediate frequency signals of each of the second-category sound channels to obtain reverberated intermediate frequency signals of each of the second-category sound channels.

[0158] The signal generating module 420 is used to mix the reverberated intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel to obtain a second audio signal of the second channel.

[0159] In some embodiments, the signal generating module 420 is used to:

[0160] performing gain processing on the second audio signals of the second-category channels to obtain third audio signals of the second-category channels;

[0161] Based on the third audio signal of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

[0162] In some embodiments, the signal generating module 420 is further configured to limit the third audio signal of each of the second-category channels through a limiter to obtain the limited third audio signal of each of the second-category channels.

[0163] The audio playing module 430 is configured to play the second multi-channel audio in real time through each of the second-category channels based on the third audio signal after limiting of each of the second-category channels.

[0164] In some embodiments, the signal generating module 420 is further configured to perform gain processing on the audio signals of the first-category channels to obtain the gain-processed audio signals of the first-category channels.

[0165] The signal generating module 420 is configured to determine a first audio signal of each channel in the second multi-channel audio based on the audio signals after the gain processing of each of the first-category channels.

[0166] In some embodiments, the second multi-channel audio is 7.1.4 channel audio.

[0167] To summarize, the technical solution provided in the embodiment of the present application performs weighted superposition, filtering and other processing on the audio signal of the first multi-channel audio in real time, so that the first multi-channel audio can be automatically upmixed at the terminal to obtain the second multi-channel audio to be played, and the second multi-channel audio can be played in real time, so that the cloud only needs to store the first multi-channel audio and does not need to store the second multi-channel audio, thereby saving storage resources in the cloud.

[0168] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0169] Please refer to Figure 5, which shows a block diagram of a terminal device 500 provided in one embodiment of the present application. The terminal device 500 may be an electronic device such as a smart phone, a vehicle-mounted terminal, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, a PC, etc. The terminal device is used to implement the multi-channel upmixing method provided in the above embodiment. The terminal device 500 may be Figure 1 The terminal device 20 in the multi-channel upmixing system is shown. Specifically:

[0170] Typically, the terminal device 500 includes: a processor 501 and a memory 502 .

[0171] The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0172] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store a computer program, and is configured to be executed by one or more processors to implement the above-mentioned multi-channel upmixing method.

[0173] In some embodiments, the terminal device 500 may further optionally include: a peripheral device interface 503 and at least one peripheral device. The processor 501, the memory 502 and the peripheral device interface 503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 504, a display screen 505, an audio circuit 506, and a power supply 507.

[0174] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the terminal device 500, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0175] In an exemplary embodiment, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the multi-channel upmixing method described above is implemented.

[0176] In an exemplary embodiment, a computer program product is further provided. The computer program product is loaded and executed by a processor to implement the multi-channel upmixing method.

[0177] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0178] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A multi-channel upmixing method, characterized in that: The method comprises: Acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels; Determine, based on the audio signals of the first-category channels, a first audio signal of each channel in a second multi-channel audio, where the channels in the second multi-channel audio are second-category channels, the number of the second-category channels is greater than the number of the first-category channels, and each first audio signal of the second-category channel is a weighted superposition of at least one audio signal of the first-category channel; filtering the first audio signals of the second-category channels to obtain second audio signals of the second-category channels; Based on the second audio signals of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

2. The method according to claim 1, characterized in that The filtering of the first audio signal of each of the second-category channels to obtain the second audio signal of each of the second-category channels includes: performing bandpass filtering on the first audio signal of each of the second-category channels to obtain a filtered intermediate frequency signal of each of the second-category channels; Performing high-pass filtering on the first audio signal of each of the second-category channels to obtain filtered high-frequency signals of each of the second-category channels; Performing low-pass filtering on the first audio signal of each of the second-category channels to obtain filtered low-frequency signals of each of the second-category channels; For each of the second-category channels, a filtered intermediate frequency signal of the second-category channel, a filtered high frequency signal of the second-category channel, and a filtered low frequency signal of the second-category channel are mixed to obtain a second audio signal of the second-category channel.

3. The method according to claim 2, characterized in that After performing bandpass filtering on the intermediate frequency signal to obtain the filtered intermediate frequency signals of each of the second-category channels, the method further includes: Performing reverberation processing on the filtered intermediate frequency signals of each of the second-category sound channels to obtain reverberated intermediate frequency signals of each of the second-category sound channels; The mixing process of the filtered intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel to obtain the second audio signal of the second channel includes: The reverberated intermediate frequency signal of the second channel, the filtered high frequency signal of the second channel and the filtered low frequency signal of the second channel are mixed to obtain a second audio signal of the second channel.

4. The method according to claim 1, characterized in that: The method of playing the second multi-channel audio in real time through each of the second-category channels based on the second audio signals of each of the second-category channels includes: performing gain processing on the second audio signals of the second-category channels to obtain third audio signals of the second-category channels; Based on the third audio signal of each of the second-category channels, the second multi-channel audio is played in real time through each of the second-category channels.

5. The method according to claim 4, characterized in that After performing gain processing on the second audio signals of the second-category channels to obtain third audio signals of the second-category channels, the method further includes: Limiting the third audio signal of each of the second-category sound channels by a limiter to obtain the limited third audio signal of each of the second-category sound channels; The method of playing the second multi-channel audio in real time through each of the second-category channels based on the third audio signal of each of the second-category channels includes: Based on the limited third audio signals of the second-category channels, the second multi-channel audio is played in real time through the second-category channels.

6. The method according to claim 1, characterized in that After obtaining the first multi-channel audio signal, the method further includes: Performing gain processing on the audio signals of each of the first-category channels to obtain gain-processed audio signals of each of the first-category channels; The determining, based on the audio signals of the first-category channels, the first audio signals of the respective channels in the second multi-channel audio, comprises: Based on the audio signals after the gain processing of the first-category channels, a first audio signal of each channel in the second multi-channel audio is determined.

7. The method according to claim 1, characterized in that The second multi-channel audio is 7.1.4-channel audio.

8. A multi-channel upmixing device, characterized in that: The device comprises: A signal acquisition module, used to acquire an audio signal of a first multi-channel audio, where the channels in the first multi-channel audio are first-category channels; a signal generating module, configured to determine, based on the audio signals of the first-category channels, a first audio signal of each channel in a second multi-channel audio, wherein the channels in the second multi-channel audio are second-category channels, the number of the second-category channels is greater than the number of the first-category channels, and each first audio signal of the second-category channel is a weighted superposition of the audio signals of at least one first-category channel; The signal generating module is further used to filter the first audio signal of each of the second-category channels to obtain the second audio signal of each of the second-category channels; The audio playing module is used to play the second multi-channel audio in real time through each of the second-category channels based on the second audio signals of each of the second-category channels.

9. A terminal device, characterized in that: The terminal device comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the multi-channel upmixing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the multi-channel upmixing method according to any one of claims 1 to 7.

11. A computer program product, characterized in that The computer program product is loaded and executed by a processor to implement the multi-channel upmixing method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Multi-channel upmixing method and apparatus, and terminal device and storage medium

    WO2025256080A1

  • Audio signal adjustment method and apparatus, device, medium, and program product

    WO2026082139A1