Scene audio signal decoding method and device

By obtaining and processing the transient identifier, the decoder performs transient recovery on the HOA signal, which solves the problem of insufficient transient signal processing in the existing technology and improves the reconstruction quality and user experience of the audio signal.

WO2024212897A1PCT designated stage expired Publication Date: 2024-10-17HUAWEI TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/086389
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-13
Filing Date
2024-04-07
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

The existing technology fails to effectively process transient signals when encoding and decoding high-order reverberation (HOA) signals, resulting in a decrease in the quality of the reconstructed audio signal and affecting the user's listening experience.

Method used

By obtaining the transient identifier of the scene audio signal to be reconstructed, the decoder performs transient recovery on the channel where the transient signal exists, and uses spatial decoding or decorrelation processing to improve the quality of the reconstructed scene audio signal.

Benefits of technology

Effectively processes transient signals in scene audio signals, improving the quality of reconstructed scene audio signals and the user's listening experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024086389_17102024_PF_FP_ABST
    Figure CN2024086389_17102024_PF_FP_ABST
Patent Text Reader

Abstract

A scene audio signal decoding method, comprising: acquiring a transient identifier of a first channel of a scene audio signal to be reconstructed, wherein said scene audio signal comprises C channels, the C channels comprise a channel which uses direct decoding processing and a channel which does not use direct decoding processing, the first channel is a channel which does not use direct decoding processing, the transient identifier is used for representing whether the corresponding channel comprises a transient signal, and C is a positive integer; and when the transient identifier indicates that the first channel comprises a transient signal, acquiring a reconstructed signal of the first channel. According to the method, the transient signals in the scene audio signal can be processed, thereby improving the quality of the reconstructed scene audio signal and the auditory experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for decoding scene audio signals Technical Field

[0001] The present application relates to audio coding and decoding technology, and in particular to a method and device for decoding scene audio signals. Background Art

[0002] Three-dimensional audio technology uses computers and signal processing to acquire, process, transmit, and render real-world sound events and three-dimensional sound field information. Three-dimensional audio imparts a strong sense of space, envelopment, and immersion, creating an extraordinary auditory experience of "being there." High-order ambisonics (HOA) technology, in particular, is gaining widespread attention and research due to its independence from speaker layout during recording, encoding, and playback, as well as the rotatable playback capabilities of HOA format data. This allows for greater flexibility in 3D audio playback.

[0003] In order to achieve better audio listening effects, HOA technology requires a large amount of data to record more detailed sound scene information. Although this scene-based three-dimensional audio signal sampling and storage is more conducive to the preservation and transmission of audio signal spatial information, for N-order HOA signals, the corresponding number of channels is (N+1). 2 ,With the increase of the HOA order, more data will be generated. ,A large amount of data may cause difficulties in transmission and storage, ,so HOA signals need to be encoded and decoded.

[0004] Related technologies can save bitrates and improve encoding and decoding efficiency by encoding and decoding some channels, but they do not take into account the processing of transient signals, resulting in a decrease in the quality of the reconstructed audio signal and affecting the user's listening experience.

[0005] Summary of the Invention

[0006] The present application provides a method and apparatus for decoding a scene audio signal to process transient signals in the scene audio signal, thereby improving the quality of the reconstructed scene audio signal and the user's auditory experience.

[0007] In a first aspect, the present application provides a method for encoding and decoding a scene audio signal, comprising: obtaining a transient identifier of a first channel of a scene audio signal to be reconstructed, the scene audio signal to be reconstructed comprising C channels, the C channels comprising channels that are directly decoded and channels that are not directly decoded, the first channel being a channel that is not directly decoded, the transient identifier being used to indicate whether a transient signal exists in the corresponding channel, where C is a positive integer; and when the transient identifier indicates that a transient signal exists in the first channel, obtaining a reconstructed signal of the first channel.

[0008] In an embodiment of the present application, the decoding end performs transient recovery on the reconstructed signal of the channel containing the transient signal based on the transient identification of the channel, thereby processing the transient signal in the scene audio signal, improving the quality of the reconstructed scene audio signal and the user's auditory experience.

[0009] The first channel is a channel among the C channels included in the reconstructed scene audio signal that does not undergo direct decoding processing, where C is a positive integer. That is, the first channel can be a channel among the C channels that undergoes spatial decoding processing or decorrelation processing. For example, when the rate is 256 kbps, one of channels 6-8 and 11-15 undergoes spatial decoding processing, and one of channels 5, 9-10, and 16 undergoes decorrelation processing. When the rate is 384 kbps, one of channels 6-8 and 11-15 undergoes spatial decoding processing, and one of channels 5, 9-10, and 16 undergoes decorrelation processing. When the rate is 512 kbps, one of channels 7-9 and 11-15 undergoes spatial decoding processing, and one of channels 10 or 16 undergoes decorrelation processing. When the rate is 768 kbps, one of channels 11-15 undergoes spatial decoding processing, or one of channels 10 or 16 undergoes decorrelation processing. Direct decoding processing can be a decoding method for decoding encoded data obtained by encoding the signal itself.

[0010] In the embodiment of the present application, the first channel may be a channel that uses decorrelation processing.

[0011] The transient flag is used to indicate whether a transient signal exists in the corresponding channel.

[0012] Optionally, the decoding end may perform transient detection on the first channel to obtain a transient identifier of the first channel.

[0013] Transient detection includes: the decoding end can calculate the energy difference between the high-frequency signal and the low-frequency signal of the first channel. If the energy difference is greater than a first threshold, it is determined that a transient signal exists in the first channel; otherwise, it is determined that no transient signal exists in the first channel. The aforementioned first threshold can be pre-set, and the embodiment of the present application does not specifically limit the value of the first threshold. A transient flag is then assigned to the first channel based on the transient detection result.

[0014] Optionally, the transient flag can be represented by a 1-bit syntax element, for example, 1 indicates the presence of a transient signal, and 0 indicates the absence of a transient signal. If the transient detection result of a channel indicates the presence of a transient signal, the transient flag of the channel is set to 1; if the transient detection result of a channel indicates the absence of a transient signal, the transient flag of the channel is set to 0.

[0015] Optionally, the decoding end may obtain transient state identifiers of W channels among the C channels, and use the transient state identifiers of the W channels as the transient state identifier of the first channel.

[0016] The decoding end can perform transient detection on the W channel when processing it, thereby obtaining the transient identifier of the W channel, and then assign the transient identifier of the W channel to other channels, that is, the transient identifier of the first channel is consistent with the transient identifier of the W channel.

[0017] Optionally, the decoding end can obtain transient identifiers of n channels among C channels, where n channels are channels among the C channels that use direct decoding processing; and obtain the transient identifier of the first channel based on the transient identifiers of the n channels, where n is an integer greater than 1.

[0018] The n channels can be pre-set. For example, a channel transient detection table can be used to set the channels that require transient detection. When processing the corresponding channels, the decoder performs transient detection on them to obtain transient identifiers. The decoder can then determine the transient identifiers of other channels based on the combination of the transient identifiers of the n channels. For example, the transient of a horizontal channel can be used for the horizontal channel of other channels, and the transient of a vertical channel can be used for the vertical channel of other channels. In other words, the transient identifier of the first channel is correlated with the transient identifiers of the n channels.

[0019] Optionally, the decoding end may decode the code stream to obtain the transient identifier of the first channel.

[0020] The encoder can also perform transient detection on the channel and write the transient flag into the code stream for transmission to the decoder, so that the decoder can obtain the transient flag of the first channel by decoding the code stream.

[0021] The decoding end may perform direct decoding processing on the received code stream to obtain a reconstructed signal of a second channel, where the second channel is a channel among the C channels that adopts direct decoding processing; and obtain a reconstructed signal of the first channel according to the reconstructed signal of the second channel.

[0022] The reconstructed scene audio signal includes C channels of audio signals, where C is a positive integer. The decoding end can use at least two decoding methods to decode the bitstream to obtain the C channels of audio signals, including direct decoding.

[0023] The first reconstructed signal obtained after the decoding end decodes the code stream includes the audio signals of all channels directly decoded and processed. The reconstructed signal of the second channel mentioned above can be the audio signal of any channel in the first reconstructed signal, for example, when the rate is 768kbps, the audio signal of any channel 1-9.

[0024] In the embodiment of the present application, the second channel may be the W channel (ie, the channel numbered 1) among the C channels for reconstructing the scene audio signal.

[0025] Optionally, the decoding end may directly copy the reconstructed signal of the second channel as the reconstructed signal of the first channel.

[0026] Optionally, the decoding end may perform decorrelation processing on the reconstructed signal of the second channel to obtain the reconstructed signal of the first channel.

[0027] In a second aspect, the present application provides a decoding device for a scene audio signal, comprising: an acquisition module, configured to obtain a transient identifier of a first channel of a scene audio signal to be reconstructed, wherein the scene audio signal to be reconstructed includes C channels, the C channels including channels that are directly decoded and channels that are not directly decoded, the first channel being a channel that is not directly decoded, the transient identifier being used to indicate whether a transient signal exists in the corresponding channel, and C being a positive integer; and a transient recovery module, configured to obtain a reconstructed signal of the first channel when the transient identifier indicates that a transient signal exists in the first channel.

[0028] In a possible implementation manner, the first channel is a channel that adopts decorrelation processing.

[0029] In a possible implementation, the acquisition module is specifically configured to perform transient detection on the first channel to obtain a transient identifier of the first channel.

[0030] In a possible implementation, the acquisition module is specifically configured to acquire transient flags of W channels among the C channels, and use the transient flags of the W channels as the transient flag of the first channel.

[0031] In one possible implementation, the acquisition module is specifically used to obtain transient identifiers of n channels among the C channels, where the n channels are all channels that use direct decoding processing, and n is an integer greater than 1; and obtain the transient identifier of the first channel based on the transient identifiers of the n channels.

[0032] In a possible implementation, the acquisition module is specifically configured to decode the bitstream to obtain the transient identifier of the first channel.

[0033] In one possible implementation, the transient recovery module is specifically configured to perform direct decoding processing on the received code stream to obtain a reconstructed signal of a second channel, where the second channel is a channel among the C channels that uses direct decoding processing; and obtain a reconstructed signal of the first channel based on the reconstructed signal of the second channel.

[0034] In a possible implementation, the transient recovery module is specifically configured to perform decorrelation processing on the reconstructed signal of the second channel to obtain the reconstructed signal of the first channel.

[0035] In a possible implementation, the transient recovery module is specifically configured to use the reconstructed signal of the second channel as the reconstructed signal of the first channel.

[0036] In a possible implementation, the second channel is the W channel among the C channels.

[0037] In a third aspect, the present application provides an electronic device comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement a method as described in any one of the above-mentioned first aspects.

[0038] In a fourth aspect, the present application provides a chip comprising one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send the signal to the processor, wherein the signal includes a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes any one of the methods described in the first aspect above.

[0039] In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer or a processor, the computer or the processor executes the method as described in any one of the above-mentioned first aspects.

[0040] In a sixth aspect, the present application provides a computer program product, which includes a computer program code. When the computer program code is run on a computer, the computer executes any one of the methods in the first aspect.

[0041] In a seventh aspect, the present application provides a device for storing a code stream, the device comprising: a receiver and at least one storage medium, the receiver being used to receive the code stream; the at least one storage medium being used to store the code stream.

[0042] In an eighth aspect, the present application provides a device for transmitting a code stream, the device comprising: a transmitter and at least one storage medium, the at least one storage medium being used to store the code stream; the transmitter being used to obtain the code stream from the storage medium and send the code stream to an end-side device via a transmission medium.

[0043] In a ninth aspect, the present application provides a system for distributing code streams, the system comprising: at least one storage medium for storing at least one code stream, a streaming media device for obtaining the code stream from the at least one storage medium and sending the code stream to an end-side device, wherein the streaming media device comprises a content server or a content distribution server. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] FIG1a is a schematic diagram of an application scenario of an embodiment of the present application;

[0045] FIG1b is a schematic diagram of an application scenario of an embodiment of the present application;

[0046] FIG2a is a schematic diagram of the encoding process of a scene audio signal;

[0047] Figure 2b is a schematic diagram of the distribution of candidate virtual speakers;

[0048] FIG3 is a schematic diagram of the decoding process of a scene audio signal;

[0049] FIG4 is a flowchart of a process 400 of a scene audio decoding method provided by an embodiment of the present application;

[0050] FIG5 is a schematic structural diagram of an audio signal decoding device 500 in the present application scenario. DETAILED DESCRIPTION

[0051] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0052] The terms "first," "second," and the like in the description, embodiments, claims, and drawings of this application are used solely for descriptive purposes and are not to be construed as indicating or implying relative importance or order. Furthermore, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions, such as, for example, inclusion of a series of steps or units. A method, system, product, or apparatus is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0053] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0054] The following is a brief introduction to the relevant technologies involved in the embodiments of this application.

[0055] Sound is a continuous wave produced by the vibration of an object. The object that vibrates and emits sound waves is called the sound source. As sound waves propagate through a medium (such as air, solid, or liquid), they are detected by the human or animal auditory system.

[0056] The characteristics of sound waves include pitch, intensity, and timbre. Pitch indicates the highness of a sound. Intensity indicates how loud a sound is. Intensity can also be called loudness or volume. The unit of intensity is decibel (dB). Timbre is also called timbre quality.

[0057] The frequency of a sound wave determines its pitch. The higher the frequency, the higher the pitch. The frequency is the number of times an object vibrates in one second, measured in hertz (Hz). The human ear can detect sounds with frequencies between 20Hz and 20,000Hz.

[0058] The amplitude of a sound wave determines its intensity. The greater the amplitude, the greater the intensity. The closer to the sound source, the greater the intensity.

[0059] The waveform of the sound wave determines the timbre, which includes square wave, sawtooth wave, sine wave and pulse wave.

[0060] Based on the characteristics of sound waves, sounds can be divided into regular sounds and irregular sounds. Irregular sounds are sounds produced by the irregular vibration of a sound source. For example, irregular sounds can disrupt people's work, study, and rest. Regular sounds are sounds produced by the regular vibration of a sound source. Regular sounds include speech and music. When represented electrically, regular sounds are analog signals that continuously vary in the time-frequency domain. These analog signals are called audio signals. Audio signals are information carriers that carry speech, music, and sound effects.

[0061] Since human hearing has the ability to distinguish the positional distribution of sound sources in space, when listeners hear sounds in space, in addition to being able to feel the pitch, intensity and timbre of the sounds, they can also feel the direction of the sounds.

[0062] As people's attention to and demand for higher quality in their auditory systems grows, three-dimensional audio technology has emerged to enhance the sense of depth, presence, and spatiality. This allows listeners to perceive not only sounds from sources in front, behind, left, and right, but also a sense of being enveloped by the spatial sound field (or "sound field") generated by these sources, with the sound spreading outward in all directions. This creates an immersive sound experience that transports listeners to places like a movie theater or concert hall.

[0063] The scene audio signal involved in the embodiments of the present application may refer to a signal used to describe a sound field. The scene audio signal may include: an HOA signal (wherein an HOA signal may include a three-dimensional HOA signal and a two-dimensional HOA signal (also referred to as a planar HOA signal)) and a three-dimensional audio signal. The three-dimensional audio signal may refer to other audio signals in the scene audio signal in addition to the HOA signal. The following description uses the HOA signal as an example.

[0064] As we all know, sound waves propagate in an ideal medium with a wave number of The angular frequency is w = 2πf, where f is the frequency of the sound wave and c is the speed of sound. The sound pressure p satisfies the formula (1), is the Laplace operator.

[0065] Assume that the spatial system outside the human ear is a sphere, with the listener at the center of the sphere. Sounds from outside the sphere have a projection on the sphere, filtering out sounds outside the sphere. Assuming that the sound sources are distributed on this sphere, the sound field generated by the sound sources on the sphere is used to fit the sound field generated by the original sound source. In other words, three-dimensional audio technology is a method for fitting sound fields. Specifically, equation (1) is solved in a spherical coordinate system. Within the passive spherical region, equation (1) is solved as follows (2).

[0066] Among them, r represents the radius of the sphere, θ represents the horizontal angle information (or azimuth information), represents the pitch angle information (or called elevation angle information), k represents the wave number, s represents the amplitude of the ideal plane wave, and m represents the order number of the HOA signal (or called the order number of the HOA signal). represents the spherical Bessel function, which is also called the radial basis function, where the first j represents the imaginary unit, Does not change with angle. express Spherical harmonics of the direction, The spherical harmonic function representing the direction of the sound source. The HOA signal satisfies formula (3).

[0067] Substituting formula (3) into formula (2), formula (2) can be transformed into formula (4).

[0068] Among them, m is truncated to the Nth item, that is, m=N, with As an approximate description of the sound field; at this time, It can be called the HOA coefficient (which can be used to represent the Nth-order HOA signal). The sound field refers to the area in the medium where sound waves exist. N is an integer greater than or equal to 1.

[0069] The scene audio signal is an information carrier that carries the spatial position information of the sound source in the sound field and describes the sound field of the listener in space. Formula (4) shows that the sound field can be expanded on a sphere using spherical harmonics, that is, the sound field can be decomposed into the superposition of multiple plane waves. Therefore, the sound field described by the HOA signal can be expressed as the superposition of multiple plane waves, and the sound field can be reconstructed using the HOA coefficients.

[0070] The HOA signal to be encoded may refer to an N-order HOA signal, which may be represented by an HOA coefficient or an Ambisonic coefficient, where N is an integer greater than or equal to 1 (when N=1, a 1st-order HOA signal may be referred to as a First Order Ambisonic (FOA) signal). The N-order HOA signal includes (N+1) 2 channels of audio signals.

[0071] FIG1a is a schematic diagram of an application scenario of an embodiment of the present application. As shown in FIG1a , the application scenario is an encoding and decoding scenario of a scene audio signal.

[0072] Exemplarily, the first electronic device may include a first audio acquisition module, a first scene audio encoding module, a first channel encoding module, a first channel decoding module, a first scene audio decoding module, and a first audio playback module. It should be understood that the first electronic device may include more or fewer modules than those shown in FIG. 1a , and this is not specifically limited in this embodiment of the present application.

[0073] Exemplarily, the second electronic device may include a second audio acquisition module, a second scene audio encoding module, a second channel encoding module, a second channel decoding module, a second scene audio decoding module, and a second audio playback module. It should be understood that the second electronic device may include more or fewer modules than those shown in FIG. 1a , and this is not specifically limited in this embodiment of the present application.

[0074] Exemplarily, the process of encoding and transmitting a scene audio signal by a first electronic device to a second electronic device, and decoding and playing back the audio by the second electronic device may include:

[0075] In the first electronic device, the first audio acquisition module can perform audio acquisition and output a scene audio signal to the first scene audio encoding module. The first scene audio encoding module can then encode the scene audio signal and output a code stream to the first channel encoding module. The first channel encoding module can then perform channel encoding on the code stream and transmit the channel-encoded code stream to the second electronic device via a wireless or wired network communication device.

[0076] In the second electronic device, the second channel decoding module can perform channel decoding on the received data to obtain a code stream, and output the code stream to the second scene audio decoding module. The second scene audio decoding module can then decode the code stream to obtain a reconstructed scene audio signal, and output the reconstructed scene audio signal to the second audio playback module, which then performs audio playback.

[0077] It should be noted that the second audio playback module can perform post-processing (for example, audio rendering (for example, converting the audio signal containing (N+1) 2 The method includes the step of converting the reconstructed scene audio signal of the audio signal of the plurality of channels into an audio signal with the same number of channels as the number of speakers in the second electronic device), loudness normalization, user interaction, audio format conversion or noise removal, etc., to convert the reconstructed scene audio signal into an audio signal suitable for playback by the speakers in the second electronic device.

[0078] It should be understood that the process of the second electronic device encoding and transmitting the scene audio signal to the first electronic device, which is decoded and played back by the first electronic device, is similar to the above-mentioned process of the first electronic device encoding and transmitting the scene audio signal to the second electronic device, which is decoded and played back by the second electronic device, and will not be repeated here.

[0079] Exemplarily, the first electronic device and the second electronic device may include, but are not limited to: personal computers, computer workstations, smart phones, tablet computers, servers, smart cameras, smart cars or other types of cellular phones, media consumption devices, wearable devices, set-top boxes, game consoles, etc.

[0080] For example, the embodiments of the present application can be specifically applied to virtual reality (VR) / augmented reality (AR) scenarios. In one possible implementation, the first electronic device is a server, and the second electronic device is a VR / AR device. In another possible implementation, the second electronic device is a server, and the first electronic device is a VR / AR device.

[0081] Exemplarily, the first scene audio encoding module and the second scene audio encoding module may be scene audio encoders, and the first scene audio decoding module and the second scene audio decoding module may be scene audio decoders.

[0082] For example, when a first electronic device encodes a scene audio signal and a second electronic device reconstructs the scene audio signal, the first electronic device can be referred to as an encoding end and the second electronic device can be referred to as a decoding end. When a second electronic device encodes a scene audio signal and a first electronic device reconstructs the scene audio signal, the second electronic device can be referred to as an encoding end and the first electronic device can be referred to as a decoding end.

[0083] FIG1 b is a schematic diagram of an application scenario of an embodiment of the present application. As shown in FIG1 b , the application scenario is a transcoding scenario of a scene audio signal.

[0084] As shown in Figure 1b(1), the wireless or core network device may include, for example, a channel decoding module, other audio decoding modules, a scene audio encoding module, and a channel encoding module. The wireless or core network device may be used for audio transcoding.

[0085] Exemplarily, a specific application scenario may be: when the first electronic device is not provided with a scene audio encoding module but only with other audio encoding modules, and the second electronic device is only provided with a scene audio decoding module but not with other audio decoding modules, in order to enable the second electronic device to decode and play back the scene audio signal encoded by the first electronic device using other audio encoding modules, wireless or core network equipment may be used for transcoding.

[0086] Specifically, the first electronic device uses other audio encoding modules to encode the scene audio signal to obtain a first code stream; and then performs channel encoding on the first code stream and sends it to the wireless or core network device. Then, the channel decoding module of the wireless or core network device can perform channel decoding and output the first code stream obtained by channel decoding to the other audio decoding modules. After that, the other audio decoding modules decode the first code stream to obtain a scene audio signal and output the scene audio signal to the scene audio encoding module. Then, the scene audio encoding module can encode the scene audio signal to obtain a second code stream and output the second code stream to the channel encoding module. The channel encoding module performs channel encoding on the second code stream and sends it to the second electronic device. In this way, the second electronic device can call the scene audio decoding module to decode the second code stream obtained by channel decoding to obtain a reconstructed scene audio signal; and then the reconstructed scene audio signal can be played back.

[0087] As shown in Figure 1b(2), the wireless or core network device may include, for example, a channel decoding module, a scene audio decoding module, other audio encoding modules, and a channel encoding module. The wireless or core network device may be used for audio transcoding.

[0088] Exemplarily, a specific application scenario may be: when the first electronic device is only provided with a scene audio encoding module and no other audio encoding modules; and the second electronic device is not provided with a scene audio decoding module and only has other audio decoding modules, in order to enable the second electronic device to decode and play back the scene audio signal encoded by the scene audio encoding module of the first electronic device, wireless or core network equipment may be used for transcoding.

[0089] Specifically, the first electronic device uses a scene audio encoding module to encode the scene audio signal to obtain a first code stream; and then performs channel encoding on the first code stream and sends it to a wireless or core network device. Then, the channel decoding module of the wireless or core network device can perform channel decoding and output the first code stream obtained by channel decoding to the scene audio decoding module. After that, the scene audio decoding module decodes the first code stream to obtain a scene audio signal and outputs the scene audio signal to other audio encoding modules. Then, other audio encoding modules can encode the scene audio signal to obtain a second code stream and output the second code stream to the channel encoding module, which performs channel encoding on the second code stream and sends it to the second electronic device. In this way, the second electronic device can call other audio decoding modules to decode the second code stream obtained by channel decoding to obtain a reconstructed scene audio signal; the reconstructed scene audio signal can then be played back.

[0090] The encoding process and decoding process of the scene audio signal provided by the related art can be described with reference to the following.

[0091] FIG2a is a schematic diagram of a coding process for a scene audio signal. As shown in FIG2a , the coding process may include:

[0092] S201 : Acquire a scene audio signal to be encoded, where the scene audio signal includes audio signals of C channels, where C is a positive integer.

[0093] For example, when the scene audio signal is an HOA signal, the HOA signal may be an N1-order HOA signal, that is, when m is truncated to the N1-th term, the above formula (3) is

[0094] For example, the N1-order HOA signal may include C1-channel audio signals, where C1=(N1+1) 2 For example, when N1=3, the 3rd-order HOA signal includes 16 channels of audio signals; when N1=4, the 4th-order HOA signal includes 25 channels of audio signals.

[0095] S202: Determine attribute information of a target virtual speaker based on the scene audio signal.

[0096] S203 , encode a first audio signal in the scene audio signal and attribute information of the target virtual speaker to obtain a first bitstream; wherein the first audio signal is audio signals of K channels in the scene audio signal, and K is a positive integer less than or equal to C1.

[0097] Exemplarily, the virtual speaker is a virtual speaker, not a real speaker.

[0098] Exemplarily, the scene audio signal can be expressed by superposition of multiple plane waves, and then the target virtual speaker used to simulate the sound source in the scene audio signal can be determined; in this way, in the subsequent decoding process, the virtual speaker signal corresponding to the target virtual speaker is used to reconstruct the scene audio signal.

[0099] In a possible implementation, multiple candidate virtual speakers at different positions may be set on a sphere; then, a target virtual speaker whose position matches the sound source position in the scene audio signal may be selected from the multiple candidate virtual speakers.

[0100] FIG2 b is a schematic diagram of the distribution of candidate virtual speakers. As shown in FIG2 b , multiple candidate virtual speakers may be evenly distributed on a sphere, and a point on the sphere represents a candidate virtual speaker.

[0101] It should be noted that there is no restriction on the number and distribution of candidate virtual speakers, and they can be set as required.

[0102] Exemplarily, based on the scene audio signal, a target virtual speaker whose position corresponds to the sound source position in the scene audio signal can be selected from the multiple candidate virtual speakers; wherein the number of target virtual speakers can be one or more.

[0103] In a possible implementation, a target virtual speaker may be preset.

[0104] Exemplarily, in one possible implementation, during the decoding process, the scene audio signal can be reconstructed based on the virtual speaker signal; however, directly transmitting the virtual speaker signal of the target virtual speaker will increase the bit rate; and the virtual speaker signal of the target virtual speaker can be generated based on the attribute information of the target virtual speaker and the scene audio signal of some or all channels; therefore, the attribute information of the target virtual speaker and the audio signals of K channels in the scene audio signal can be obtained as the first audio signal; then the first audio signal and the attribute information of the target virtual speaker are encoded to obtain a first code stream.

[0105] For example, downmixing, transformation, quantization, and entropy coding can be performed on the first audio signal and the target virtual speaker attribute information to obtain a first bitstream. In other words, the first bitstream can include encoded data of the first audio signal in the scene audio signal and encoded data of the target virtual speaker attribute information.

[0106] In addition, the encoder directly encodes the audio signals of some channels in the scene audio signal without calculating the virtual speaker signal and the residual signal, and the encoding complexity of the encoder is lower.

[0107] FIG3 is a schematic diagram of a decoding process of a scene audio signal. FIG3 is a decoding process corresponding to the encoding process of FIG2 . As shown in FIG3 , the decoding process may include:

[0108] S301: Receive a first code stream.

[0109] S302: Decode the first code stream to obtain a first reconstructed signal and attribute information of a target virtual speaker.

[0110] For example, the encoded data of the first audio signal in the scene audio signal included in the first bitstream can be decoded to obtain a first reconstructed signal; that is, the first reconstructed signal is a reconstructed signal of the first audio signal. Furthermore, the encoded data of the attribute information of the target virtual speaker included in the first bitstream can be decoded to obtain the attribute information of the target virtual speaker.

[0111] It should be understood that when the encoder performs lossy compression on the first audio signal in the scene audio signal, the first reconstructed signal decoded by the decoder differs from the first audio signal encoded by the encoder. When the encoder performs lossless compression on the first audio signal, the first reconstructed signal decoded by the decoder is the same as the first audio signal encoded by the encoder.

[0112] It should be understood that when the encoder performs lossy compression on the target virtual speaker attribute information, the attribute information decoded by the decoder differs from the attribute information encoded by the encoder. When the encoder performs lossless compression on the virtual speaker attribute information, the attribute information decoded by the decoder is the same as the attribute information encoded by the encoder.

[0113] S303: Generate a virtual speaker signal corresponding to the target virtual speaker based on the attribute information and the first reconstructed signal.

[0114] S304: Reconstruct based on the attribute information and the virtual speaker signal to obtain a first reconstructed scene audio signal.

[0115] For example, based on the above description, a scene audio signal can be reconstructed based on a virtual speaker signal. Furthermore, a virtual speaker signal corresponding to the target virtual speaker can be generated based on the target virtual speaker's attribute information and the first reconstructed signal. Each target virtual speaker corresponds to one virtual speaker signal, and the virtual speaker signal is a plane wave. Next, reconstruction is performed based on the target virtual speaker's attribute information and the virtual speaker signal to generate a first reconstructed scene audio signal.

[0116] Exemplarily, when the scene audio signal is an HOA signal, the reconstructed first reconstructed scene audio signal may also be an HOA signal, and the HOA signal may be an N2-order HOA signal, where N2 is a positive integer. Exemplarily, the N2-order HOA signal may include audio signals of C2 channels, where C2=(N2+1). 2 .

[0117] Exemplarily, the order N2 of the first reconstructed scene audio signal may be greater than or equal to the order N1 of the scene audio signal in the embodiment shown in FIG2a ; correspondingly, the number of channels C2 of the audio signal included in the first reconstructed scene audio signal may be greater than or equal to the number of channels C1 of the audio signal included in the scene audio signal in the embodiment shown in FIG2a .

[0118] The encoding and decoding processes of the scene audio signals described in Figures 2a-3 can improve the encoding and decoding efficiency, but do not take into account the processing of transient signals, which may cause the quality of the reconstructed audio signal to deteriorate, thereby affecting the user's auditory experience.

[0119] To solve the above technical problems, in the application scenario shown in Figures 1a and 1b, an embodiment of the present application provides a scene audio encoding method and device, and the following embodiments will illustrate its technical solution.

[0120] FIG4 is a flow chart of process 400 of the scene audio decoding method provided in an embodiment of the present application. As shown in FIG4 , process 400 can be performed by a decoding end, for example, the second electronic device or the first electronic device described above. Process 400 is described as a series of steps or operations. It should be understood that process 400 can be performed in various orders and / or occur simultaneously, and is not limited to the execution order shown in FIG4 . Process 400 includes the following steps:

[0121] Step 401: Obtain a transient identifier of a first channel of a scene audio signal to be reconstructed.

[0122] The first channel is a channel that is not directly decoded among the C channels included in the reconstructed scene audio signal, where C is a positive integer. That is, the first channel can be a channel that is spatially decoded or decorrelated among the C channels. For example, when the rate is 256kbps, one of channels 6-8 and 11-15 is spatially decoded, and one of channels 5, 9-10, and 16 is decorrelated. When the rate is 384kbps, one of channels 6-8 and 11-15 is spatially decoded, and one of channels 5, 9-10, and 16 is decorrelated. When the rate is 512kbps, one of channels 7-9 and 11-15 is spatially decoded, and one of channels 10 or 16 is decorrelated. When the rate is 768kbps, one of channels 11-15 is spatially decoded, or one of channels 10 or 16 is decorrelated.

[0123] In the embodiment of the present application, the first channel may be a channel that uses decorrelation processing.

[0124] The transient flag is used to indicate whether a transient signal exists in the corresponding channel.

[0125] Optionally, the decoding end may perform transient detection on the first channel to obtain a transient identifier of the first channel.

[0126] Transient detection includes: the decoding end can calculate the energy difference between the high-frequency signal and the low-frequency signal of the first channel. If the energy difference is greater than a first threshold, it is determined that a transient signal exists in the first channel; otherwise, it is determined that no transient signal exists in the first channel. The aforementioned first threshold can be pre-set, and the embodiment of the present application does not specifically limit the value of the first threshold. A transient flag is then assigned to the first channel based on the transient detection result.

[0127] Optionally, the transient flag can be represented by a 1-bit syntax element, for example, 1 indicates the presence of a transient signal, and 0 indicates the absence of a transient signal. If the transient detection result of a channel indicates the presence of a transient signal, the transient flag of the channel is set to 1; if the transient detection result of a channel indicates the absence of a transient signal, the transient flag of the channel is set to 0.

[0128] Optionally, the decoding end may obtain transient state identifiers of W channels among the C channels, and use the transient state identifiers of the W channels as the transient state identifier of the first channel.

[0129] The decoding end can perform transient detection on the W channel when processing it, thereby obtaining the transient identifier of the W channel, and then assign the transient identifier of the W channel to other channels, that is, the transient identifier of the first channel is consistent with the transient identifier of the W channel.

[0130] Optionally, the decoding end can obtain transient identifiers of n channels among C channels, where n channels are channels among the C channels that use direct decoding processing; and obtain the transient identifier of the first channel based on the transient identifiers of the n channels, where n is an integer greater than 1.

[0131] The n channels can be pre-set. For example, a channel transient detection table can be used to set the channels that require transient detection. When processing the corresponding channels, the decoder performs transient detection on them to obtain transient identifiers. The decoder can then determine the transient identifiers of other channels based on the combination of the transient identifiers of the n channels. For example, the transient of a horizontal channel can be used for the horizontal channel of other channels, and the transient of a vertical channel can be used for the vertical channel of other channels. In other words, the transient identifier of the first channel is correlated with the transient identifiers of the n channels.

[0132] Optionally, the decoding end may decode the code stream to obtain the transient identifier of the first channel.

[0133] The encoder can also perform transient detection on the channel and write the transient flag into the code stream for transmission to the decoder, so that the decoder can obtain the transient flag of the first channel by decoding the code stream.

[0134] Step 402: When the transient flag indicates that a transient signal exists in the first channel, a reconstructed signal of the first channel is obtained.

[0135] The decoding end may perform direct decoding processing on the received code stream to obtain a reconstructed signal of a second channel, where the second channel is a channel among the C channels that adopts direct decoding processing; and obtain a reconstructed signal of the first channel according to the reconstructed signal of the second channel.

[0136] The reconstructed scene audio signal includes C channels of audio signals, where C is a positive integer. The decoding end can use at least two decoding methods to decode the bitstream to obtain the C channels of audio signals, including direct decoding.

[0137] Exemplarily, N=3, C=16, the reconstructed scene audio signal includes 16 channels of audio signals, and the 16 channels are numbered 1-16.

[0138] Table 1

[0139] Table 2

[0140] Table 1 and Table 2 respectively show configuration examples of a coding and decoding method for a 3rd order HOA signal at different rates. Taking Table 1 as an example,

[0141] When the rate is 256 kbps, channels 1 to 4 are processed by direct decoding, channels 6 to 8 and 11 to 15 are processed by spatial decoding, and channels 5, 9 to 10 and 16 are processed by decorrelation.

[0142] When the rate is 384 kbps, channels 1 to 4 are processed by direct decoding, channels 6 to 8 and 11 to 15 are processed by spatial decoding, and channels 5, 9 to 10 and 16 are processed by decorrelation.

[0143] When the rate is 512 kbps, channels 1 to 6 are processed by direct decoding, channels 7 to 9 and 11 to 15 are processed by spatial decoding, and channels 10 and 16 are processed by decorrelation.

[0144] When the rate is 768 kbps, channels 1 to 9 are processed by direct decoding, channels 11 to 15 are processed by spatial decoding, and channels 10 and 16 are processed by decorrelation.

[0145] 3 , the first reconstructed signal obtained after the decoding end decodes the bit stream includes the audio signals of all channels directly decoded and processed. The reconstructed signal of the second channel can be the audio signal of any channel in the first reconstructed signal, for example, when the rate is 768 kbps, the audio signal of any channel among channels 1 to 9.

[0146] In the embodiment of the present application, the second channel may be the W channel (ie, the channel numbered 1) among the C channels for reconstructing the scene audio signal.

[0147] Optionally, the decoding end may directly copy the reconstructed signal of the second channel as the reconstructed signal of the first channel.

[0148] Optionally, the decoding end may perform decorrelation processing on the reconstructed signal of the second channel to obtain the reconstructed signal of the first channel.

[0149] In an embodiment of the present application, the decoding end performs transient recovery on the reconstructed signal of the channel containing the transient signal based on the transient identification of the channel, thereby processing the transient signal in the scene audio signal, improving the quality of the reconstructed scene audio signal and the user's auditory experience.

[0150] FIG5 is a schematic diagram of the structure of a decoding device 500 for a scene audio signal of the present application. As shown in FIG5 , the decoding device 500 for a scene audio signal of the present embodiment can be applied to a decoding end. The decoding device 500 for a scene audio signal can include: an acquisition module 501 and a transient recovery module 502.

[0151] An acquisition module 501 is configured to obtain a transient identifier of a first channel of a scene audio signal to be reconstructed, where the scene audio signal to be reconstructed includes C channels, the C channels including channels that are directly decoded and channels that are not directly decoded, and the first channel is a channel that is not directly decoded. The transient identifier is used to indicate whether a transient signal exists in the corresponding channel, where C is a positive integer. A transient recovery module 502 is configured to obtain a reconstructed signal of the first channel when the transient identifier indicates that a transient signal exists in the first channel.

[0152] In a possible implementation manner, the first channel is a channel that adopts decorrelation processing.

[0153] In a possible implementation, the acquisition module 501 is specifically configured to perform transient detection on the first channel to obtain a transient identifier of the first channel.

[0154] In a possible implementation, the acquisition module 501 is specifically configured to acquire transient flags of W channels among the C channels, and use the transient flags of the W channels as the transient flag of the first channel.

[0155] In one possible implementation, the acquisition module 501 is specifically used to obtain transient identifiers of n channels among the C channels, where the n channels are all channels that use direct decoding processing, and n is an integer greater than 1; and obtain the transient identifier of the first channel based on the transient identifiers of the n channels.

[0156] In a possible implementation, the acquisition module 501 is specifically configured to decode the bitstream to obtain the transient identifier of the first channel.

[0157] In one possible implementation, the transient recovery module 502 is specifically configured to perform direct decoding processing on the received code stream to obtain a reconstructed signal of a second channel, where the second channel is a channel among the C channels that uses direct decoding processing; and obtain a reconstructed signal of the first channel based on the reconstructed signal of the second channel.

[0158] In a possible implementation, the transient recovery module 502 is specifically configured to perform decorrelation processing on the reconstructed signal of the second channel to obtain the reconstructed signal of the first channel.

[0159] In a possible implementation, the transient recovery module 502 is specifically configured to use the reconstructed signal of the second channel as the reconstructed signal of the first channel.

[0160] In a possible implementation, the second channel is the W channel among the C channels.

[0161] The device of this embodiment can be used to execute the technical solution of the method embodiment shown in Figure 4. Its implementation principle and technical effects are similar and will not be repeated here.

[0162] During implementation, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as being executed by a hardware coding processor, or can be executed by a combination of hardware and software modules in the coding processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0163] The memory mentioned in the above embodiments may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0164] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0165] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices and units can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0166] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0167] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0168] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0169] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0170] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for decoding a scene audio signal, characterized in that: include: Obtaining a transient flag of a first channel of a scene audio signal to be reconstructed, wherein the scene audio signal to be reconstructed includes C channels, the C channels include channels that are directly decoded and channels that are not directly decoded, the first channel is a channel that is not directly decoded, the transient flag is used to indicate whether a transient signal exists in the corresponding channel, and C is a positive integer; When the transient flag indicates that a transient signal exists in the first channel, a reconstructed signal of the first channel is acquired.

2. The method according to claim 1, characterized in that The first channel is a channel using decorrelation processing.

3. The method according to claim 1 or 2, characterized in that: The step of obtaining a transient identifier of a first channel of a scene audio signal to be reconstructed includes: A transient detection is performed on the first channel to obtain a transient identifier of the first channel.

4. The method according to any one of claims 1 to 3, characterized in that The step of obtaining a transient identifier of a first channel of a scene audio signal to be reconstructed includes: Acquire transient flags of W channels among the C channels, and use the transient flags of the W channels as the transient flag of the first channel.

5. The method according to any one of claims 1 to 4, characterized in that The step of obtaining a transient identifier of a first channel of a scene audio signal to be reconstructed includes: Obtaining transient identifications of n channels among the C channels, wherein the n channels are channels that are processed by direct decoding, and n is an integer greater than 1; The transient state identifier of the first channel is acquired according to the transient state identifiers of the n channels.

6. The method according to any one of claims 1 to 5, characterized in that The step of obtaining a transient identifier of a first channel of a scene audio signal to be reconstructed includes: The code stream is decoded to obtain a transient identifier of the first channel.

7. The method according to any one of claims 1 to 6, characterized in that The acquiring the reconstructed signal of the first channel includes: Directly decoding the received code stream to obtain a reconstructed signal of a second channel, where the second channel is a channel among the C channels that is directly decoded; The reconstructed signal of the first channel is acquired according to the reconstructed signal of the second channel.

8. The method according to claim 7, characterized in that The acquiring the reconstructed signal of the first channel according to the reconstructed signal of the second channel comprises: A decorrelation process is performed on the reconstructed signal of the second channel to obtain a reconstructed signal of the first channel.

9. The method according to claim 7, characterized in that: The acquiring the reconstructed signal of the first channel according to the reconstructed signal of the second channel comprises: The reconstructed signal of the second channel is used as the reconstructed signal of the first channel.

10. The method according to any one of claims 7 to 9, characterized in that: The second channel is the W channel among the C channels.

11. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program runs on a computer or a processor, the computer or the processor executes the method according to any one of claims 1 to 10.

13. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Generation of decorrelated signals

    CN101543098A

  • Encoder, decoder and methods for signal-dependent zoom-transform in spatial audio object coding

    CN104798131A

  • Coding and decoding method and device for multichannel signals

    CN115691514A

  • Audio signal encoding and decoding method and device

    CN115691521A

  • Method and apparatus for encoding and / or decoding spatial background noise within multi-channel input signal

    CN115867964A