Scene audio signal decoding method and apparatus

By performing transient recovery on the HOA signal at the decoding end and using direct decoding and spatial decoding methods, the problem of poor transient signal processing in the existing technology is solved, and the reconstruction quality and user experience of the audio signal are improved.

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

Patent Information

Application Number
PCT/CN2024/086388
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 performing transient recovery on the channel with transient signals at the decoding end based on the transient identifier of the channel, using the directly decoded channel reconstruction signal to obtain the transient signal, at least two decoding methods are used to decode the code stream, including directly Decoding and spatial decoding or decorrelation processing ensure high-quality reconstruction of the audio signal.

Benefits of technology

It improves the quality of the reconstructed scene audio signal, improves the user's listening experience, and solves the problem of difficult transmission and storage by effectively processing transient signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024086388_17102024_PF_FP_ABST
    Figure CN2024086388_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a scene audio signal decoding method and apparatus. The scene audio signal decoding method of the present application comprises: performing direct decoding on a received bitstream to obtain a reconstructed signal of a first channel, wherein the first channel is a channel processed by direct decoding among C channels contained in a reconstructed scene audio signal, and C is a positive integer; acquiring a transient identifier of a second channel to be reconstructed, wherein said second channel is a channel not processed by direct decoding among the C channels; and when the transient identifier indicates that the second channel has a transient signal, acquiring a reconstructed signal of the second channel according to the reconstructed signal of the first channel. The present application can implement processing of a transient signal in a scene audio signal and improve the quality of a reconstructed scene audio signal and the auditory experience of users.
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] This application provides a method and device for decoding scene audio signals to process transient signals in scene audio signals, thereby improving the quality of reconstructed scene audio signals and the user's auditory experience.

[0007] In a first aspect, the present application provides a method for decoding a scene audio signal, comprising: directly decoding a received code stream to obtain a reconstructed signal of a first channel, where the first channel is a channel that is directly decoded among C channels included in the reconstructed scene audio signal, where C is a positive integer; obtaining a transient identifier of a second channel to be reconstructed, where the second channel is a channel that is not directly decoded among the C channels; and when the transient identifier indicates that a transient signal exists in the second channel, obtaining a reconstructed signal of the second channel based on the 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 and the reconstructed signal of the directly decoded channel, thereby processing the transient signal in the scene audio signal and improving the quality of the reconstructed scene audio signal and the user's auditory experience.

[0009] 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.

[0010] The first reconstructed signal obtained after the decoding end decodes the code stream includes the audio signals of all channels that are directly decoded. The reconstructed signal of the above-mentioned first 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-9.

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

[0012] The second channel may be a channel among the C channels that does not undergo direct decoding processing, that is, the second channel may be a channel among the C channels that undergoes spatial decoding processing or decorrelation processing. For example, when the data 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 data 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 data 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 data rate is 768 kbps, one of channels 11-15 undergoes spatial decoding processing, or one of channels 10 or 16 undergoes decorrelation processing.

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

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

[0015] That is, the decoding end can copy the signal over the entire frequency band of the channel, and completely copy the reconstructed signal of the first channel to the reconstructed signal of the second channel.

[0016] Optionally, the decoding end performs decorrelation processing on the reconstructed signal of the first channel to obtain the first signal of the second channel; the signal of the first frequency band of the reconstructed signal of the first channel is used as the signal of the second frequency band of the first signal of the second channel to obtain the reconstructed signal of the second channel, the first frequency band is a sub-frequency band of the reconstructed signal of the first channel, the second frequency band is a sub-frequency band of the reconstructed signal of the second channel, and the first frequency band is the same as the second frequency band.

[0017] The decoding end performs decorrelation processing to obtain the first signal of the second channel. For example, the core decoder decodes to obtain the W channel (first channel), and uses an all-pass filter to process the W channel to obtain decorrelation channels of the 10th and 16th channels (second channels).

[0018] The decoding end can perform frequency division on the audio signal of the channel. For example, by comparing the frequency band with a preset threshold, the frequency band with a lowest frequency greater than or equal to the threshold is regarded as the high frequency, and the frequency band with a highest frequency less than the threshold is regarded as the low frequency. It should be understood that the decoding end can also use other methods to divide the channel signal into frequency bands, and this embodiment of the application is not specifically limited to this.

[0019] Optionally, the high-frequency signal in the first signal of the second channel may be replaced by the high-frequency signal in the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel.

[0020] Optionally, the low-frequency signal in the first signal of the second channel may be replaced by the low-frequency signal in the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel.

[0021] It should be understood that the decoding end may determine the replacement sub-band in a preset manner, or may use other methods to determine the method for replacing the sub-band, and the embodiments of the present application do not specifically limit this.

[0022] In a second aspect, the present application provides a decoding device for a scene audio signal, comprising: a decoding module for directly decoding a received code stream to obtain a reconstructed signal of a first channel, where the first channel is a channel that is directly decoded among the C channels included in the reconstructed scene audio signal, where C is a positive integer; an acquisition module for obtaining a transient identifier of a second channel to be reconstructed, where the second channel is a channel that is not directly decoded among the C channels; and a transient recovery module for obtaining a reconstructed signal of the second channel based on the reconstructed signal of the first channel when the transient identifier indicates that a transient signal exists in the second channel.

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

[0024] In one possible implementation, the transient recovery module is specifically configured to perform decorrelation processing on the reconstructed signal of the first channel to obtain the first signal of the second channel; and replace the signal of the second frequency band of the first signal of the second channel with the signal of the first frequency band of the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel, wherein the first frequency band is a sub-frequency band of the reconstructed signal of the first channel, the second frequency band is a sub-frequency band of the first signal of the second channel, and the first frequency band is the same as the second frequency band.

[0025] In a possible implementation, the first channel is the W channel among the C channels.

[0026] In a possible implementation manner, the second channel is a channel using decorrelation processing.

[0027] In a possible implementation, the highest frequency point of the first frequency band is less than a preset threshold; or the lowest frequency point of the first frequency band is greater than or equal to the preset threshold.

[0028] 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.

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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.

[0034] 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

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

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

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

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

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

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

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

[0042] 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.

[0043] 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.

[0044] 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.

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

[0046] 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.

[0047] 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.

[0048] 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.

[0049] 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.

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

[0051] 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.

[0052] 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.

[0053] 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.

[0054] 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 (which 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.

[0055] 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.

[0056] 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).

[0057] 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 represents the direction of the sound source. The HOA signal satisfies formula (3).

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

[0059] 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.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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:

[0066] 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.

[0067] 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.

[0068] It should be noted that the second audio playback module can perform post-processing (eg, audio rendering (eg, including (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.

[0069] 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.

[0070] 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.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] As shown in (1) of Figure 1b, 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.

[0076] 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 can be used for transcoding.

[0077] 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.

[0078] As shown in (2) in Figure 1b, 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.

[0079] 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.

[0080] 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.

[0081] The encoding process and decoding process of the scene audio signal provided by the related art can be referred to the description below.

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

[0083] 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.

[0084] 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

[0085] 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.

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

[0087] 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.

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

[0089] 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.

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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.

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

[0095] 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.

[0096] 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.

[0097] 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.

[0098] 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:

[0099] S301: Receive a first code stream.

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

[0101] 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.

[0102] 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.

[0103] 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.

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

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

[0106] 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.

[0107] 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 .

[0108] 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 .

[0109] 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.

[0110] 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.

[0111] 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:

[0112] Step 401: directly decode the received code stream to obtain a reconstructed signal of the first channel.

[0113] 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.

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

[0115] Table 1

[0116] Table 2

[0117] 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,

[0118] 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.

[0119] 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.

[0120] 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.

[0121] 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.

[0122] 3 , the first reconstructed signal obtained after the decoding end decodes the bit stream includes audio signals of all channels processed by direct decoding. The reconstructed signal of the first channel may be an audio signal of any channel in the first reconstructed signal, for example, an audio signal of any channel from channels 1 to 9 when the rate is 768 kbps.

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

[0124] Step 402: Obtain a transient identifier of the second channel to be reconstructed.

[0125] The second channel may be a channel among the C channels that does not undergo direct decoding processing, that is, the second channel may be a channel among the C channels that undergoes spatial decoding processing or decorrelation processing. For example, when the data 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 data 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 data 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 data rate is 768 kbps, one of channels 11-15 undergoes spatial decoding processing, or one of channels 10 or 16 undergoes decorrelation processing.

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

[0127] Step 403: When the transient flag indicates that a transient signal exists in the second channel, a reconstructed signal of the second channel is obtained according to the reconstructed signal of the first channel.

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

[0129] That is, the decoding end can copy the signal over the entire frequency band of the channel, and completely copy the reconstructed signal of the first channel to the reconstructed signal of the second channel.

[0130] Optionally, the decoding end performs decorrelation processing on the reconstructed signal of the first channel to obtain the first signal of the second channel; the signal of the first frequency band of the reconstructed signal of the first channel is used as the signal of the second frequency band of the first signal of the second channel to obtain the reconstructed signal of the second channel, the first frequency band is a sub-frequency band of the reconstructed signal of the first channel, the second frequency band is a sub-frequency band of the reconstructed signal of the second channel, and the first frequency band is the same as the second frequency band.

[0131] The decoding end performs decorrelation processing to obtain the first signal of the second channel. For example, the core decoder decodes to obtain the W channel (first channel), and uses an all-pass filter to process the W channel to obtain decorrelation channels of the 10th and 16th channels (second channels).

[0132] The decoding end can perform frequency division on the audio signal of the channel. For example, by comparing the frequency band with a preset threshold, the frequency band with a lowest frequency greater than or equal to the threshold is regarded as the high frequency, and the frequency band with a highest frequency less than the threshold is regarded as the low frequency. It should be understood that the decoding end can also use other methods to divide the channel signal into frequency bands, and this embodiment of the application is not specifically limited to this.

[0133] Optionally, the high-frequency signal in the first signal of the second channel may be replaced by the high-frequency signal in the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel.

[0134] Optionally, the low-frequency signal in the first signal of the second channel may be replaced by the low-frequency signal in the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel.

[0135] It should be understood that the decoding end may determine the replacement sub-band in a preset manner, or may use other methods to determine the method for replacing the sub-band, and the embodiments of the present application do not specifically limit this.

[0136] 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 and the reconstructed signal of the directly decoded channel, thereby processing the transient signal in the scene audio signal and improving the quality of the reconstructed scene audio signal and the user's auditory experience.

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

[0138] A decoding module 501 is configured to directly decode a received bitstream to obtain a reconstructed signal of a first channel, where the first channel is a channel that is directly decoded among the C channels included in the reconstructed scene audio signal, where C is a positive integer. An acquisition module 502 is configured to obtain a transient identifier of a second channel to be reconstructed, where the second channel is a channel that is not directly decoded among the C channels. A transient recovery module 503 is configured to obtain a reconstructed signal of the second channel based on the reconstructed signal of the first channel when the transient identifier indicates that a transient signal exists in the second channel.

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

[0140] In one possible implementation, the transient recovery module 503 is specifically configured to perform decorrelation processing on the reconstructed signal of the first channel to obtain the first signal of the second channel; and replace the signal of the second frequency band of the first signal of the second channel with the signal of the first frequency band of the reconstructed signal of the first channel to obtain the reconstructed signal of the second channel, wherein the first frequency band is a sub-frequency band of the reconstructed signal of the first channel, the second frequency band is a sub-frequency band of the first signal of the second channel, and the first frequency band is the same as the second frequency band.

[0141] In a possible implementation, the first channel is the W channel among the C channels.

[0142] In a possible implementation manner, the second channel is a channel using decorrelation processing.

[0143] In a possible implementation, the highest frequency point of the first frequency band is less than a preset threshold; or the lowest frequency point of the first frequency band is greater than or equal to the preset threshold.

[0144] 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.

[0145] 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.

[0146] 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.

[0147] 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.

[0148] 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.

[0149] 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.

[0150] 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.

[0151] 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.

[0152] 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.

[0153] 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: Directly decode the received bit stream to obtain a reconstructed signal of a first channel, where the first channel is a channel that is directly decoded among C channels included in the reconstructed scene audio signal, where C is a positive integer; Acquire a transient identifier of a second channel to be reconstructed, where the second channel is a channel among the C channels that is not directly decoded; When the transient flag indicates that a transient signal exists in the second channel, the reconstructed signal of the second channel is acquired according to the reconstructed signal of the first channel.

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

3. The method according to claim 1, characterized in that The acquiring the reconstructed signal of the second channel according to the reconstructed signal of the first channel comprises: Performing decorrelation processing on the reconstructed signal of the first channel to obtain a first signal of the second channel; A signal of a first frequency band of the reconstructed signal of the first channel is replaced with a signal of a second frequency band of the first signal of the second channel to obtain a reconstructed signal of the second channel, wherein the first frequency band is a sub-frequency band of the reconstructed signal of the first channel, the second frequency band is a sub-frequency band of the first signal of the second channel, and the first frequency band is the same as the second frequency band.

4. The method according to any one of claims 1 to 3, characterized in that The first channel is the W channel among the C channels.

5. The method according to any one of claims 1 to 4, characterized in that The second channel is a channel using decorrelation processing.

6. The method according to claim 3, characterized in that The highest frequency point of the first frequency band is less than a preset threshold; or the lowest frequency point of the first frequency band is greater than or equal to the preset threshold.

7. 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 6.

8. 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 6.

9. 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 6.

Citation Information

Patent Citations

  • Windowing LASSO-based sound source localization method under strong noise

    CN113281707A

  • Audio encoding and decoding method and device

    CN114582357A

  • Coding and decoding method and device for multichannel signals

    CN115691514A

  • Ratio of speech to non-speech audio such as for elderly or hearing-impaired listeners

    US20090299756A1