Quantization coding method, apparatus, device, and storage medium

By determining the number of target quantization bits based on the sound cone information of the sound source object and the relative position of the listening object in the quantization encoding, and selecting a suitable quantization encoding method, the problems of wasteful coding rate and insufficient accuracy in the existing technology are solved, and the problem is achieved Flexible and efficient processing of audio signal rendering.

WO2024197541A1PCT designated stage expired Publication Date: 2024-10-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/084194
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

When the existing technology quantizes and encodes sound source orientation information, it is unable to timely select the quantization encoding method based on the listening object's perceived sensitivity to changes in the direction of the sound source object, resulting in a waste of coding bit rate or insufficient accuracy, which affects the rendering effect of the audio signal.

Method used

By determining the target quantization bits based on the sound cone information of the sound source object and the relative position of the listening object, select the appropriate quantization encoding method (coarse quantization or fine quantization) to adapt to the perceptual sensitivity in different situations, optimize the encoding code stream and Rendering effect.

Benefits of technology

It improves the flexibility and efficiency of quantized encoding, ensures accurate audio signal rendering under different perceptual sensitivities, and avoids resource waste and insufficient accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023084194_03102024_PF_FP_ABST
    Figure CN2023084194_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A quantization coding method, an apparatus, a device, and a storage medium. The method comprises: determining a target number of quantization bits of sound source orientation information on the basis of at least one of sound cone information of a sound source object and an area where the sound source object is located relative to a listening object (201); and performing quantization coding on the sound source orientation information on the basis of the target number of quantization bits and obtaining a code stream signal (202). On the basis of the current sensitivity of a listening object for a change in the orientation of a sound source object, a suitable quantization coding mode can be selected targetedly, and high flexibility is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

A quantization coding method, device, equipment and storage medium Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a quantization coding method, apparatus, device, and storage medium. Background Art

[0002] Spatial audio can bring users a realistic sense of space and direction, so spatial audio processing technology has been widely used. Among them, an effective method to realize spatial audio is object-based spatial audio technology. In this object-based spatial audio technology, in addition to transmitting its encoded audio signal to the decoding device, the encoding device also needs to determine the sound source direction information (such as the horizontal angle and / or elevation angle of the sound source object relative to the listening object), and quantize and encode the sound source direction information and then transmit it to the decoding device. In addition, the decoding device can decode and inverse quantize the received information to obtain the sound source direction information and audio signal, and render the audio signal based on the sound source direction information and then play it to the listening object, thereby restoring the spatial sense and direction of the audio signal.

[0003] Summary of the Invention

[0004] The present disclosure provides a quantization coding method, apparatus, device, and storage medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a quantization encoding method, including:

[0006] determining a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object;

[0007] The sound source direction information is quantized and encoded based on the target quantization bit number to obtain a code stream signal.

[0008] In a second aspect, an embodiment of the present disclosure provides a quantization encoding method, including:

[0009] receiving a code stream signal sent by an encoding device; the code stream signal is obtained by quantizing and encoding sound source direction information based on a target quantization bit number; the target quantization bit number is determined based on at least one of sound cone information of the sound source object and an area where the sound source object is located relative to a listening object;

[0010] The code stream signal is decoded and inversely quantized to obtain the sound source direction information.

[0011] In a third aspect, an embodiment of the present disclosure provides a communication device, including:

[0012] a processing module, configured to determine a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object;

[0013] The processing module is further configured to perform quantization encoding on the sound source direction information based on the target quantization bit number to obtain a code stream signal.

[0014] In a fourth aspect, an embodiment of the present disclosure provides a communication device, including:

[0015] a transceiver module configured to receive a code stream signal transmitted by an encoding device; the code stream signal being obtained by quantizing and encoding the sound source direction information based on a target quantization bit number; the target quantization bit number being determined based on at least one of the sound cone information of the sound source object and the area in which the sound source object is located relative to the listening object;

[0016] The processing module is used to decode and inverse quantize the code stream signal to obtain the sound source direction information.

[0017] In a fifth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method described in the first or second aspect is executed.

[0018] In a sixth aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and a memory, in which a computer program is stored; the processor executes the computer program stored in the memory so that the communication device executes the method described in the first or second aspect above.

[0019] In the seventh aspect, an embodiment of the present disclosure provides a communication device, which includes a processor and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processor, and the processor is used to run the code instructions to enable the device to execute the method described in the first or second aspect above.

[0020] In an eighth aspect, an embodiment of the present disclosure provides a communication system, which includes the communication device described in aspects three to four, or the system includes the communication device described in aspect five, or the system includes the communication device described in aspect six, or the system includes the communication device described in aspect seven.

[0021] In a ninth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing instructions for the above-mentioned network device, and when the instructions are executed, the terminal executes the method described in the first or second aspect above.

[0022] In a tenth aspect, the present disclosure further provides a computer program product comprising a computer program, which, when executed on a computer, enables the computer to execute the method described in the first or second aspect above.

[0023] In an eleventh aspect, the present disclosure provides a chip system comprising at least one processor and an interface for supporting a network device in implementing the functions described in the first or second aspects, such as determining or processing at least one of the data and information involved in the aforementioned methods. In one possible design, the chip system further comprises a memory for storing computer programs and data necessary for the source slave node. The chip system may consist of a chip or may include a chip and other discrete components.

[0024] In a twelfth aspect, the present disclosure provides a computer program, which, when executed on a computer, enables the computer to execute the method described in the first or second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and / or additional aspects and advantages of the present disclosure will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0026] FIG1 is a schematic diagram of the architecture of some communication systems provided by embodiments of the present disclosure;

[0027] FIG2a is a schematic flow chart of a quantization encoding method provided by another embodiment of the present disclosure;

[0028] FIG2 b is a schematic diagram of an inner angle of a sound cone, an outer angle of a sound cone, and an attenuation amplitude of an audio signal provided by an embodiment of the present disclosure;

[0029] FIG3a is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0030] FIG3 b is a schematic structural diagram of a sound source object provided by an embodiment of the present disclosure when the sound source object is located in different areas relative to the listening object;

[0031] FIG4 is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0032] FIG5 is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0033] FIG6 is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0034] FIG7 is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0035] FIG8 is a schematic flow chart of a quantization encoding method provided in yet another embodiment of the present disclosure;

[0036] FIG9 is an interactive flow chart of a quantization encoding method provided by yet another embodiment of the present disclosure;

[0037] FIG10 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0038] FIG11 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure;

[0039] FIG12 is a block diagram of a communication device provided by one embodiment of the present disclosure;

[0040] FIG13 is a schematic structural diagram of a chip provided in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0042] The terms used in the embodiments of the present disclosure are for the purpose of describing specific embodiments only and are not intended to limit the embodiments of the present disclosure. The singular forms "a," "an," and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0043] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0044] The embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be understood as limiting the present disclosure.

[0045] In related technologies, a unified quantization encoding method is used to uniformly quantize and encode the sound source orientation information of different sound source objects at different times. However, this method often results in a waste of encoding bit rate or insufficient quantization encoding accuracy, which affects the subsequent rendering effect of the audio signal. The specific reasons are as follows:

[0046] In different situations, when the orientation of a sound source object is different, the listening subject's perceptual sensitivity to the audio signal may also vary. For example, in some cases, the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, and the listening subject cannot easily perceive the change in the orientation of the sound source object; in other cases, the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, and the listening subject can easily perceive the change in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, since the listening subject cannot easily perceive the change in the orientation of the sound source object, the encoding device can subsequently render the audio object based on the sound source orientation information in a coarse manner, without requiring fine rendering. The encoding device can also employ a coarse quantization encoding method when quantizing the sound source orientation information, thereby reducing the encoded bitrate without affecting the subsequent rendering effect. Furthermore, when the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, since the listening subject can easily perceive the change in the orientation of the sound source object, the encoding device should subsequently render the audio object based on the sound source orientation information in a fine manner. Therefore, when the encoding device quantizes and encodes the sound source direction information, it also needs to adopt a fine quantization encoding method to perform quantization encoding to ensure the subsequent rendering effect.

[0047] Based on this, when the method in the related art is used to quantize and encode the sound source direction information, a unified quantization coding method is used to uniformly quantize and encode the sound source direction information of different sound source objects at different times. Among them, if the unified quantization coding method is a fine quantization coding method, then the situation of "when the listening object has a low perceptual sensitivity to the direction change of the sound source object, the fine quantization coding method is used to quantize and encode the sound source direction information" may occur, which will lead to unnecessary waste of encoding bit rate. If the unified quantization coding method is a coarse quantization coding method, then the situation of "when the listening object has a high perceptual sensitivity to the direction change of the sound source object, the coarse quantization coding method is used to quantize and encode the sound source direction information" may occur, which will result in insufficient quantization coding accuracy and affect the rendering effect of the subsequent audio signal.

[0048] Therefore, there is an urgent need for a quantization coding method for quantizing and coding the sound source direction information by selecting an appropriate quantization coding method based on the perceptual sensitivity of the listening object to the direction change of the sound source object in different situations.

[0049] In order to better understand a quantization coding method disclosed in an embodiment of the present disclosure, the communication system to which the embodiment of the present disclosure is applicable is first described below.

[0050] Please refer to Figure 1, which is a schematic diagram of the architecture of a communication system provided by an embodiment of the present disclosure. The communication system may include but is not limited to at least one encoding device and at least one decoding device, wherein the encoding device may be a network device or a terminal device, and the encoding device may also be a network device or a terminal device. In addition, the number and form of devices shown in Figure 1 are only for example and do not constitute a limitation on the embodiments of the present disclosure. An application may include one or more encoding devices, or one or more terminal devices. The communication system shown in Figure 1 takes an example including an encoding device, which is a network device, and a decoding device, which is a terminal device.

[0051] It should be noted that the technical solutions of the embodiments of the present disclosure can be applied to various communication systems, such as long-term evolution (LTE) systems, fifth-generation (5G) mobile communication systems, 5G new radio (NR) systems, or other future new mobile communication systems.

[0052] The network device in the embodiment of the present disclosure (such as the first network device or the second network device mentioned above) is an entity on the network side for transmitting or receiving signals. For example, the network device can be an evolved NodeB (eNB), a transmission reception point (TRP), a radio remote head (RRH), a next generation NodeB (gNB) in an NR system, a base station in other future mobile communication systems, or an access node in a wireless fidelity (WiFi) system. The embodiment of the present disclosure does not limit the specific technology and specific device form adopted by the base station. The base station provided in the embodiment of the present disclosure can be composed of a centralized unit (CU) and a distributed unit (DU), wherein the CU can also be called a control unit. The CU-DU structure can be used to split the base station, such as the protocol layer of the base station, and the functions of some protocol layers are placed in the CU for centralized control, and the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU.

[0053] The terminal device in the embodiments of the present disclosure can be an entity on the user side for receiving or transmitting signals, such as a mobile phone. The terminal device can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a car with communication function, a smart car, a mobile phone, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), etc. The embodiments of the present disclosure do not limit the specific technology and specific device form adopted by the terminal device.

[0054] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.

[0055] In addition, in order to facilitate understanding of the embodiments of the present disclosure, the following points are explained.

[0056] First, in the present disclosure, unless there is any contradiction, each step in any embodiment or example can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment or example can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be arbitrarily combined; in addition, the various embodiments or examples can be arbitrarily combined. For example, some or all steps of different embodiments or examples can be arbitrarily combined, and a certain embodiment or example can be arbitrarily combined with the optional methods or optional examples of other embodiments or examples.

[0057] Second, regarding the description methods of the present disclosure such as "A or B", "A and / or B", "at least one of A and B", "A in one case, B in another case", "in response to one case A, in response to another case B", etc., at least one of the following schemes may be included according to the situation: executing A independently of B, that is, A in some embodiments; executing B independently of A, that is, B in some embodiments; selectively executing A and B, that is, selecting to execute from A and B in some embodiments; executing both A and B, that is, A and B in some embodiments.

[0058] Third, each element, each row, or each column in the table involved in the present disclosure can be implemented as an independent embodiment, and the combination of any elements, any rows, and any columns can also be implemented as an independent embodiment.

[0059] Fourth, in some implementation modes or examples, “including A”, “comprising A”, “used to indicate A” and “carrying A” in this disclosure can be interpreted as directly carrying A or indirectly indicating A.

[0060] Fifth, in some implementation modes or examples, "in response to...", "in the case of...", "at the time of...", "when...", "if...", "if...", etc. in the present disclosure can be replaced with each other.

[0061] FIG2a is a flow chart of a quantization coding method provided by an embodiment of the present disclosure. The method is executed by a coding device. As shown in FIG2a , the quantization coding method may include the following steps:

[0062] Step 201: Determine a target quantization bit number for sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object.

[0063] Optionally, the quantization encoding method disclosed herein can be applied to quantize and encode "object-based audio signals." For example, the object-based audio signal can include at least one of the following: audio to be played on a terminal device, audio to be played in a home theater, or audio to be played on a virtual reality (VR) device. In other words, the method disclosed herein can be applied to scenarios such as "audio playback on a terminal device, movie playback in a home theater, and gaming and audiovisual entertainment using a VR device."

[0064] Optionally, in one embodiment of the present disclosure, the sound cone information of the sound source object may include at least one of the following:

[0065] The inner angle of the sound cone of the sound source object;

[0066] The outer angle of the sound cone of the sound source object;

[0067] The maximum attenuation of the audio signal emitted by the sound source object.

[0068] Optionally, the above-mentioned sound cone inner angle means that the audio signal emitted by the sound source object and located within the sound cone inner angle range of the sound source object is considered to have no attenuation caused by direction, that is, the intensity of the audio signal within the sound cone inner angle range remains unchanged.

[0069] Optionally, the above-mentioned outer angle of the sound cone means: the audio signal emitted by the sound source object and located between the inner angle edge of the sound cone of the sound source object and the outer angle edge of the sound cone is considered to have attenuation caused by the direction, wherein the intensity of the audio signal located between the inner angle edge of the sound cone and the outer angle edge of the sound cone decays linearly with the emission angle of the audio signal, and the emission angle of the audio signal is: the angle between the audio signal and the direction (such as absolute direction) of the sound source object.

[0070] Optionally, the maximum attenuation amplitude of the audio signal emitted by the sound source object may be: the attenuation amplitude of the audio signal emitted by the sound source object and located outside the outer angle range of the sound cone of the sound source object.

[0071] Optionally, FIG2b is a schematic diagram of the inner angle of the sound cone, the outer angle of the sound cone, and the attenuation amplitude of the audio signal provided by an embodiment of the present disclosure, wherein FIG2a(1) is a structural schematic diagram of the inner angle of the sound cone (i.e., the inner angle of the sound cone in the figure) and the outer angle of the sound cone (i.e., the outer angle of the sound cone in the figure), and FIG2a(2) is a corresponding relationship between the emission angle of the audio signal (i.e., the angle in FIG2a(2)) and the attenuation amplitude of the audio signal (i.e., the gain value in FIG2a(2)). As shown in FIG2b(1), the inner angle of the sound cone of the sound source object is 30°, and the outer angle of the sound cone is 90°. As shown in FIG2b(2), the maximum attenuation amplitude of the audio signal emitted by the sound source object is 0.6. Optionally, in FIG2b(1), the intensity of the sound emitted by the sound source object in the area contained by the edge of the inner angle of the sound cone remains unchanged, so the attenuation amplitude of the audio signal with an emission angle between [-15, 15] in FIG2b(2) is 1. In Figure 2b(1), the intensity of the audio signal emitted by the sound source object in the area between the inner and outer angle edges of the sound cone exhibits linear attenuation. Therefore, in Figure 2b(2), the attenuation amplitude of the audio signal with an emission angle between [-45, -15] and [15, 45] varies linearly with the emission angle of the audio signal. In Figure 2b(1), the intensity of the audio signal emitted by the sound source object in the area outside the outer angle edge of the sound cone has attenuated to the maximum attenuation amplitude, and it is considered that the intensity of the sound no longer changes. Therefore, the attenuation amplitude of the corresponding area in Figure 2b(2) is 0.6. It should be noted that the data of the inner angle angle, outer angle angle, and maximum attenuation amplitude of the sound cone shown in Figure 2b are for illustration only and are not fixed.

[0072] Optionally, in one embodiment of the present disclosure, the sound cone information corresponding to different sound source objects may be the same or different. For example, the inner angles of the sound cones of different sound source objects may be the same or different, the outer angles of the sound cones of different sound source objects may be the same or different, and the maximum attenuation amplitudes of different sound source objects may be the same or different.

[0073] Optionally, the sound cone information of the above-mentioned sound source object may be predetermined by the encoding device. Optionally, the encoding device may adopt an existing method to determine the sound cone information of the sound source object, which will not be described in detail in this disclosure.

[0074] Optionally, in one embodiment of the present disclosure, the area where the sound source object is located relative to the listening object may be determined by the encoding device based on at least one of the orientation of the listening object and the relative position of the sound source object relative to the listening object. Optionally, the method for the encoding device to determine the area where the sound source object is located relative to the listening object may include the following steps:

[0075] The first step is to determine the direction of the listening object.

[0076] Optionally, in one embodiment of the present disclosure, the orientation of the listening object may be the absolute orientation of the listening object. Optionally, the absolute orientation of the listening object may be, for example, due south. Alternatively, the orientation of the listening object may be the relative orientation of the listening object relative to the sound source object. Optionally, the relative orientation of the listening object relative to the sound source object may be, for example, 30° southeast of the listening object relative to the sound source object.

[0077] Optionally, in one embodiment of the present disclosure, the orientation of the listening object may be sent from the decoding device to the encoding device. Optionally, when the encoding device needs to determine the absolute orientation of the listening object, the decoding device may directly send the absolute orientation of the listening object to the encoding device. When the encoding device needs to determine the relative orientation of the listening object, the decoding device may directly send the relative orientation of the listening object to the sound source object. Alternatively, the decoding device may send the absolute orientation of the listening object to the encoding device, which then determines the relative orientation of the listening object based on the absolute orientation of the sound source object itself and the absolute orientation of the listening object received by the encoding device.

[0078] Optionally, in another embodiment of the present disclosure, the direction of the listening object may also be manually input into the encoding device.

[0079] The second step is to determine the relative position of the sound source object relative to the listening object.

[0080] Optionally, in one embodiment of the present disclosure, the encoding device may first determine the absolute position of the sound source object and the absolute position of the listening object, and then determine the relative position of the sound source object relative to the listening object based on the absolute positions of the sound source object and the listening object. Optionally, the absolute position of the sound source object may be determined autonomously by the encoding device, or may be manually input into the encoding device. The absolute position of the listening object may be sent to the encoding device by the decoding device, or may be manually input into the encoding device.

[0081] Optionally, in another embodiment of the present disclosure, the encoding device may not need to determine the absolute position of the sound source object and the absolute position of the listening object, but may directly receive the relative position of the sound source object relative to the listening object sent by the decoding device, or the relative position of the sound source object relative to the listening object may also be manually input into the encoding device.

[0082] It should be noted that the methods for determining the orientation of a listening object and the relative position of a sound source object relative to the listening object mentioned above are merely exemplary descriptions of this disclosure. It should be understood that other methods for determining the orientation of a listening object and the relative position of a sound source object relative to the listening object are also within the scope of this disclosure.

[0083] It can be understood that the first step and the second step in the embodiment of the present disclosure only limit different operations, and do not limit the order of the two operations. That is, the operation of determining the relative position of the sound source object with respect to the listening object can be performed first, and then the operation of determining the orientation of the listening object can be performed. The embodiment of the present disclosure does not limit this.

[0084] In a third step, the area where the sound source object is located relative to the listening object is determined based on at least one of the orientation of the listening object and the relative position of the sound source object relative to the listening object.

[0085] Optionally, the area where the above-mentioned sound source object is located relative to the listening object can be: after the sound source object is projected onto the horizontal plane where the listening object is located, the projection position of the sound source object on the horizontal plane where the listening object is located is relative to the area where the listening object is located; for example, the area where the sound source object is located relative to the listening object can be: the sound source object (or called: the projection position of the sound source object on the horizontal plane where the listening object is located) is in the front area, rear area, left area, or right area of ​​the listening object.

[0086] Optionally, in one embodiment of the present disclosure, when the encoding device obtains the relative orientation of the listening object relative to the sound source object in the first step above, there is no need to execute the second step, and the area where the sound source object is located relative to the listening object can be determined directly based on the relative orientation of the listening object relative to the sound source object.

[0087] Optionally, in another embodiment of the present disclosure, when the encoding device obtains the absolute orientation of the listening object in the first step above, it is necessary to perform the second step to determine the relative position of the sound source object relative to the listening object, and then determine the area where the sound source object is located relative to the listening object based on the absolute orientation of the listening object and the relative position of the sound source object relative to the listening object.

[0088] Optionally, in an embodiment of the present disclosure, the above-mentioned sound source direction information may include at least one of the following:

[0089] The horizontal angle between the sound source object and the listening object;

[0090] The elevation angle between the sound source object and the listening object.

[0091] Optionally, the horizontal angle between the above-mentioned sound source object and the listening object can be understood, for example, as: the relative deflection angle between the sound source object and the listening object on the horizontal plane, and the altitude angle between the above-mentioned sound source object and the listening object can be understood, for example, as: the relative deflection angle between the sound source object and the listening object on the vertical plane.

[0092] Optionally, the target quantization bit number may be the number of bits of the sound source direction information after quantization encoding. Optionally, when the target quantization bit number is large, it indicates that the quantization encoding method of the sound source direction information is fine quantization encoding; when the target quantization bit number is small, it indicates that the quantization encoding method of the sound source direction information is coarse quantization encoding.

[0093] The following is an example of why the target quantization bit number of the sound source direction information is determined based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object in step 201.

[0094] As can be seen from the preceding description of the embodiment of FIG. 1 , the method of the present disclosure is primarily intended to enable "an encoding device to selectively select an appropriate quantization encoding scheme (e.g., a coarse quantization encoding scheme (i.e., a smaller target quantization bit count) or a fine quantization encoding scheme (i.e., a larger target quantization bit count)) to quantize and encode sound source orientation information based on the listening subject's perceptual sensitivity to changes in the sound source's orientation in different situations." For example, when the listening subject's perceptual sensitivity to changes in the sound source's orientation is low, a coarse quantization encoding scheme can be used to reduce the encoding bitrate without affecting subsequent rendering. When the listening subject's perceptual sensitivity to changes in the sound source's orientation is high, a fine quantization encoding scheme can be used to ensure subsequent rendering.

[0095] Based on this, since the sound cone information of the above-mentioned sound source object and the area where the sound source object is located relative to the listening object can reflect the listening object's perceptual sensitivity to the change in the direction of the sound source object, the embodiment of the present disclosure will determine the target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object, so as to enable the above-mentioned encoding device to selectively select a suitable quantization coding method to quantize the sound source direction information based on the perceptual sensitivity of the listening object to the change in the direction of the sound source object in different situations, thereby improving the flexibility of quantization coding.

[0096] Optionally, the sound cone information of the sound source object can reflect the listening object's perception sensitivity to the change in the direction of the sound source object, which can specifically include: from the above introduction to the sound cone information, it can be seen that the above sound cone information can reflect the sound intensity change rate of the sound source object, wherein the sound intensity change rate is: the change rate of the intensity of the audio signal emitted by the sound source object with the emission angle of the audio signal, and the sound intensity change rate can be understood as the sound attenuation amplitude. Among them, when the sound intensity change rate indicated by the sound cone information of the sound source object is large, it means that when the direction of the sound source object changes, the intensity change and attenuation amplitude of the audio signal emitted by it will be large, and the listening object is more sensitive (i.e., easier to perceive) to audio signals with large intensity changes or large attenuation amplitudes, which means that when the sound intensity change rate indicated by the sound cone information of the sound source object is large, the listening object has a higher perception sensitivity to the change in the direction of the sound source object. Also, when the sound intensity change rate indicated by the sound cone information of the sound source object is small, it means that when the direction of the sound source object changes, the intensity change and attenuation amplitude of the audio signal emitted by it will be small, and the listener is insensitive (i.e., not easy to perceive) to audio signals with small intensity changes or small attenuation amplitudes. This means that: when the sound intensity change rate indicated by the sound cone information of the sound source object is small, the listening object has a low perception sensitivity to the direction change of the sound source object.

[0097] It can be seen that the sound intensity change rate of the sound source object can be determined based on the above-mentioned sound cone information, and further the perception sensitivity of the listening object to the direction change of the sound source object can be known.

[0098] Optionally, the area where the sound source object is located relative to the listening object can reflect the listening object's perceptual sensitivity to changes in the sound source object's orientation. This can include: when the sound source object is located in different areas of the listening object, the listening object's perceptual sensitivity to the audio signal emitted by the sound source object varies, thereby causing the listening object to have different perceptual sensitivities to changes in the orientation of the sound source object in different areas. For example, when the sound source object is located to the left or right of the listening object, the listening object's perceptual sensitivity to changes in the orientation of the sound source object is lower, while when the sound source object is located in front of or behind the listening object, the listening object's perceptual sensitivity to changes in the orientation of the sound source object is higher.

[0099] Optionally, in one embodiment of the present disclosure, the above-mentioned method of "determining the target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object" may include: determining the target quantization bit number of the sound source direction information based on the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object. Alternatively, in another embodiment of the present disclosure, when the encoding device cannot know the area where the sound source object is located relative to the listening object, the encoding device may determine the target quantization bit number of the sound source direction information based on the sound cone information of the sound source object. Specifically, how to determine the target quantization bit number of the sound source direction information in this step 201 will be described in subsequent embodiments.

[0100] Based on the above, it can be seen that in the embodiments of the present disclosure, the target quantization bit number for the sound source orientation information is determined based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object. The sound source object's sound cone information and the area in which the sound source object is located relative to the listening object can reflect the listening object's sensitivity to changes in the orientation of the sound source object. The target quantization bit number is the number of bits of the quantized and encoded sound source orientation information. This target quantization bit number can reflect a specific quantization coding method. For example, a higher target quantization bit number indicates a finer quantization coding method, while a lower target quantization bit number indicates a coarse quantization coding method. As can be seen, in the present disclosure, when determining the target quantization bit number for the sound source orientation information based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object, an appropriate quantization coding scheme is specifically determined based on the listening object's current perceptual sensitivity to changes in the sound source object's orientation. When at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object indicates that the listening object has a low perceptual sensitivity to changes in the sound source object's orientation, the target quantization bit number is determined to be smaller, and a coarse quantization coding scheme is used to quantize and encode the sound source orientation information. This ensures that the encoding bitrate is reduced without affecting subsequent rendering effects, thus avoiding resource waste. Furthermore, when at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object indicates that the listening object has a high perceptual sensitivity to changes in the sound source object's orientation, the target quantization bit number is determined to be larger, and a fine quantization coding scheme is used to quantize and encode the sound source orientation information, thereby ensuring subsequent rendering effects.

[0101] Step 202: quantize and encode the sound source direction information based on the target quantization bit number to obtain a code stream signal.

[0102] Optionally, in an embodiment of the present disclosure, the code stream signal may include at least one of the following:

[0103] Encoded audio signal;

[0104] Quantize the encoded sound source direction information;

[0105] Target quantization bit number;

[0106] Sound cone information of the sound source object;

[0107] The indication index corresponding to the sound cone information;

[0108] The absolute position of the sound source object;

[0109] The absolute position of the listening object;

[0110] The relative position of the sound source object with respect to the listening object.

[0111] The detailed method of “quantizing and encoding the sound source direction information based on the target quantization bit number and obtaining a bit stream signal” will be introduced in subsequent embodiments.

[0112] It should be noted that, in one embodiment of the present disclosure, after the sound source direction information of the sound source object is quantized and encoded for the first time, if the sound source direction information of the sound source object does not change again, there is no need to repeatedly quantize and encode the sound source direction information, and it is sufficient to send indication information indicating that the sound source direction information has not changed to the decoding device; when the sound source direction information of the sound source object changes compared to before, the changed sound source direction information is quantized and encoded again, thereby avoiding unnecessary repeated quantization encoding of the same sound source direction information by the encoding device, saving resources and improving quantization encoding efficiency.

[0113] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the coding device determines a target quantization bit number for the sound source orientation information based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object; and quantizes and encodes the sound source orientation information based on the target quantization bit number to obtain a bitstream signal. The sound source object's sound cone information and the area in which the sound source object is located relative to the listening object can reflect the listening object's perceptual sensitivity to changes in the orientation of the sound source object, and the target quantization bit number can reflect a specific quantization coding method (e.g., a fine quantization coding method or a coarse quantization coding method). As can be seen, the encoding device in the present disclosure selects an appropriate quantization encoding method based on the listening subject's current perceptual sensitivity to changes in the sound source object's orientation. When the listening subject's perceptual sensitivity to changes in the sound source object's orientation is low, a coarse quantization encoding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting subsequent rendering effects and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the sound source object's orientation is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information, thereby ensuring subsequent rendering effects. Furthermore, the quantization encoding method of the present disclosure offers high flexibility.

[0114] FIG3a is a flow chart of a quantization coding method provided by an embodiment of the present disclosure. The method is executed by a coding device. As shown in FIG3a , the quantization coding method may include the following steps:

[0115] Step 301: Determine a first quantization bit number based on the sound cone information of the sound source object.

[0116] Optionally, the embodiment of FIG3a is used to introduce a method for determining a target quantization bit number of sound source direction information based on the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object.

[0117] Optionally, in one embodiment of the present disclosure, the first quantization bit number may be calculated using the following formula; the formula may include:

[0118] Among them, angle Indicates the inner angle of the sound cone, out angle Represents the outer angle of the sound cone, A max Indicates the maximum attenuation amplitude, gap indicates the rate of change of sound intensity between the inner angle of the sound cone and the outer angle of the sound cone. The rate of change of sound intensity is: the rate of change of the intensity of the audio signal emitted by the sound source object with the output angle of the audio signal, percep indicates the minimum rate of change of sound intensity that can be perceived by the human ear, and quan intIndicates the quantization interval, range indicates the quantization range, which is optional. The quantization range of the horizontal angle can be [0°, 360°], the quantization range of the altitude angle can be [0°, 180°], and the quantization range of the quan bit represents the determined first quantization bit number, and ceil represents a rounding-up function.

[0119] Step 302: Determine a target quantization bit number based on the area where the sound source object is located relative to the listening object and the first quantization bit number.

[0120] Optionally, in one embodiment of the present disclosure, the above-mentioned "determining the target quantization bit number based on the area where the sound source object is located relative to the listening object and the first quantization bit number" may include: when the sound source object is in the first area of ​​the listening object, determining the first quantization bit number as the target quantization bit number; when the sound source object is in the second area of ​​the listening object, determining the difference between the first quantization bit number and a preset value (the preset value may be 1, for example) as the target quantization bit number; optionally, the listening object has a higher perceptual sensitivity to the audio signal in the first area than the listening object has to the audio signal in the second area. In other words, the first area may be an area where the listening object has a higher perceptual sensitivity to the audio signal, for example, the first area may be the front area and the rear area of ​​the listening object, and the second area may be an area where the listening object has a lower perceptual sensitivity to the audio signal, for example, the second area may be the left area and the right area of ​​the listening object.

[0121] For example, Figure 3b is a structural diagram of a sound source object provided by an embodiment of the present disclosure when it is in different areas relative to the listening object. As shown in Figure 3b, if the first quantization bit number #1 is determined based on the sound cone information of sound source object 1 (i.e., sound source 1 in Figure 3b) in the above step 301, if the first quantization bit number #2 is determined based on the sound cone information of sound source object 2 (i.e., sound source 2 in Figure 3b) in the above step 301, wherein, since the sound source object 1 is located in the less sensitive right area of ​​the listening object (such as the human ear) (i.e., area 2 in Figure 3b), the value after the first quantization bit number -1 can be determined as the target quantization bit number; and, since the sound source object 2 is located in the more sensitive front area of ​​the listening object (such as the human ear) (i.e., area 3 in Figure 3b), the first quantization bit number can be directly determined as the target quantization bit number.

[0122] It can be seen from the foregoing that in the embodiments of the present disclosure, after the encoding device determines the first number of quantization bits based on the sound cone information of the sound source object, it can further update the first number of quantization bits based on whether the area where the sound source object is located relative to the listening object is the "listening object's perception sensitive area for audio signals". For example, when the area where the sound source object is located relative to the listening object is not the listening object's perception sensitive area for audio signals, the difference between the first number of quantization bits and the preset value can be determined as the target number of quantization bits, so as to reduce the target number of quantization bits, thereby ensuring that the subsequent rendering effect is not affected while saving the encoding code stream to the greatest extent; when the area where the sound source object is located relative to the listening object is the listening object's perception sensitive area for audio signals, in order to ensure the subsequent rendering effect, the first number of quantization bits can be directly determined as the target number of quantization bits.

[0123] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0124] FIG4 is a flow chart of a quantization coding method provided by an embodiment of the present disclosure. The method is executed by a coding device. As shown in FIG4 , the quantization coding method may include the following steps:

[0125] Step 401: Determine a target quantization bit number based on the sound cone information of the sound source object.

[0126] Optionally, the embodiment of Figure 4 is used to introduce the method of "how to determine the target quantization bit number of sound source direction information based on the sound cone information of the sound source object when the encoding device cannot obtain the area where the sound source object is located relative to the listening object."

[0127] Optionally, in one embodiment of the present disclosure, the first quantization bit number may be calculated using the following formula; the formula may include:

[0128] Among them, angle Indicates the inner angle of the sound cone, out angle Represents the outer angle of the sound cone, A maxIndicates the maximum attenuation amplitude, gap indicates the rate of change of sound intensity between the inner angle of the sound cone and the outer angle of the sound cone. The rate of change of sound intensity is: the rate of change of the intensity of the audio signal emitted by the sound source object with the output angle of the audio signal, percep indicates the minimum rate of change of sound intensity that can be perceived by the human ear, and quan int Indicates the quantization interval, range indicates the quantization range, which is optional. The quantization range of the horizontal angle can be [0°, 360°], the quantization range of the altitude angle can be [0°, 180°], and the quantization range of the quan bit Indicates the determined target quantization bit number, and ceil represents the rounding-up function.

[0129] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0130] FIG5 is a flow chart of a quantization coding method provided by an embodiment of the present disclosure. The method is executed by a coding device. As shown in FIG5 , the quantization coding method may include the following steps:

[0131] Step 501: Determine a corresponding codebook based on a target quantization bit number.

[0132] Optionally, the embodiment of FIG5 is used to introduce a method of “how the encoding device specifically quantizes and encodes the sound source direction information based on the target quantization bit number”.

[0133] Optionally, in an embodiment of the present disclosure, different codebooks correspond to different numbers of quantization bits. Optionally, each codebook may include at least one codeword, and each codeword corresponds to a bit value.

[0134] Optionally, in an embodiment of the present disclosure, the encoding device may determine a codebook corresponding to a target quantization bit number, so as to subsequently quantize and encode the sound source direction information based on the codebook.

[0135] Step 502: quantize and encode the sound source direction information based on a codebook to obtain quantized and encoded sound source direction information.

[0136] Optionally, the codebook-based quantization encoding of the sound source direction information to obtain the quantized and encoded sound source direction information may include at least one of the following methods:

[0137] The first method is to determine the quantization interval corresponding to the target quantization bit number (ie, the quantization interval in the above embodiment). int ), quantizing the quantization range of the sound source direction information based on the quantization interval (such as uniform quantization) to obtain at least one quantization value, determining the quantization value of the at least one quantization value that is closest to the value of the sound source direction information as the target quantization value, and then determining the bit value corresponding to the codeword in the determined codebook that is closest to the target quantization value as the quantized and encoded sound source direction information.

[0138] Optionally, the aforementioned “shortest distance” may be, for example: the absolute value of the difference is the smallest.

[0139] For example, assuming the sound source orientation information is the elevation angle of the sound source object at 35°, and assuming the quantization interval determined in step 301 is 20°, the codebook determined in step 501 is: (0°, 45°, 90°, 135°, 180°), where the bit values ​​corresponding to the codewords in the codebook are: 000, 001, 010, 011, 100, respectively. The process for quantizing the elevation angle of 35° of the sound source object using the first method described above can be as follows: first, the elevation angle quantization range [0°, 180°] (as discussed above) is quantized based on a quantization interval of 20°, resulting in nine quantized values: 0°, 20°, 40°, 60°, 80°, 100°, 120°, 140°, 160°, and 180°. Among these nine quantized values, the quantized value closest to the elevation angle of 35° of the sound source object is 40°, i.e., the target quantized value is 40°. In addition, the codeword in the codebook (0°, 45°, 90°, 135°, 180°) that is closest to the target quantization value 40° is 45°. Therefore, the bit value 001 corresponding to the codeword 45° can be determined as the sound source direction information after quantization encoding.

[0140] The second method is to determine the bit value corresponding to the codeword closest to the value of the sound source direction information in the determined codebook as the quantized and encoded sound source direction information.

[0141] For example, assuming that the sound source direction information is the elevation angle of the sound source object, 35°, and assuming that the codebook determined in step 501 is: (0°, 45°, 90°, 135°, 180°), wherein the bit values ​​corresponding to the codewords in the codebook are: 000, 001, 010, 011, 100. Then, the process of quantizing and encoding the elevation angle of the sound source object, 35°, using the second method described above can be as follows: from the codebook (0°, 45°, 90°, 135°, 180°), the codeword closest to the elevation angle of the sound source object, 35°, is determined to be 45°. Thus, the bit value 001 corresponding to the codeword 45° can be determined as the quantized and encoded sound source direction information.

[0142] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0143] FIG6 is a flow chart of a quantization coding method provided by an embodiment of the present disclosure. The method is executed by a coding device. As shown in FIG6 , the quantization coding method may include the following steps:

[0144] Step 601: Send the code stream signal to a decoding device.

[0145] Optionally, in an embodiment of the present disclosure, the code stream signal may include at least one of the following:

[0146] Encoded audio signal;

[0147] Quantize the encoded sound source direction information;

[0148] Target quantization bit number;

[0149] Sound cone information of the sound source object;

[0150] The indication index corresponding to the sound cone information;

[0151] The absolute position of the sound source object;

[0152] The absolute position of the listening object;

[0153] The relative position of the sound source object with respect to the listening object.

[0154] Optionally, in one embodiment of the present disclosure, after the encoding device obtains the bitstream signal, it can send the bitstream signal to the decoding device, so that the decoding device can decode and inverse quantize the bitstream signal to obtain sound source direction information and a decoded audio signal, and further render the decoded audio signal based on the sound source direction information and play it to the listening object.

[0155] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0156] FIG7 is a flow chart of a quantization encoding method provided by an embodiment of the present disclosure. The method is executed by a decoding device. As shown in FIG7 , the quantization encoding method may include the following steps:

[0157] Step 701: Receive a code stream signal sent by an encoding device.

[0158] Optionally, the code stream signal may be obtained by quantizing and encoding the sound source direction information based on a target quantization bit number; the target quantization bit number is determined based on at least one of the sound cone information of the sound source object and the area in which the sound source object is located relative to the listening object.

[0159] The code stream signal may include at least one of the following:

[0160] Encoded audio signal;

[0161] Quantize the encoded sound source direction information;

[0162] Target quantization bit number;

[0163] Sound cone information of the sound source object;

[0164] The indication index corresponding to the sound cone information;

[0165] The absolute position of the sound source object;

[0166] The absolute position of the listening object;

[0167] The relative position of the sound source object with respect to the listening object.

[0168] For a detailed description of step 701 , please refer to the description of the aforementioned embodiment.

[0169] Step 702: Decode and inverse quantize the bitstream signal to obtain sound source direction information.

[0170] Optionally, in one embodiment of the present disclosure, the method of “decoding and inverse quantizing a bitstream signal to obtain sound source direction information” may include at least one of the following:

[0171] Method 1: When the bitstream signal obtained by the decoding device includes the target quantization bit number, the decoding device can directly decode and inverse quantize the quantized and encoded sound source direction information in the bitstream signal based on the target quantization bit number to restore the sound source direction information.

[0172] Optionally, the above-mentioned method for decoding and inverse quantizing the quantized and encoded sound source direction information in the code stream signal based on the target quantization bit number may include: determining a corresponding codebook based on the target quantization bit number, and decoding and inverse quantizing the quantized and encoded sound source direction information based on the codebook.

[0173] It should be noted that the process of decoding and inverse quantizing the quantized and encoded sound source direction information in the code stream signal by the above-mentioned decoding device based on the target quantization bit number is essentially the inverse process of the quantized encoding of the sound source direction information by the above-mentioned encoding device based on the target quantization bit number. For the detailed process of this part, please refer to the description of the above-mentioned embodiment, and the present disclosure will not repeat it here.

[0174] Method 2: When the bitstream signal obtained by the decoding device does not include the target quantization bit number, the decoding device can first determine the target quantization bit number, and then decode and inverse quantize the quantized and encoded sound source direction information in the bitstream signal based on the target quantization bit number to restore the sound source direction information.

[0175] Optionally, the method for the decoding device to determine the target number of quantization bits may include: first determining the sound cone information of the sound source object based on the information included in the code stream signal (such as the sound cone information of the sound source object included in the code stream signal and / or the indication index corresponding to the sound cone information); then determining the area where the sound source object is located relative to the listening object; and determining the target number of quantization bits of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object.

[0176] Optionally, the method for the decoding device to determine the area where the sound source object is located relative to the listening object may include at least one of the following:

[0177] The decoding device determines the area where the sound source object is located relative to the listening object based on information included in the code stream signal (such as at least one of the absolute position of the sound source object, the absolute position of the listening object, and the relative position of the sound source object relative to the listening object) and the orientation of the listening object;

[0178] The decoding device autonomously determines the area where the sound source object is located relative to the listening object. For example, the decoding device autonomously determines at least one of the absolute position of the sound source object, the absolute position of the listening object, and the relative position of the sound source object relative to the listening object, and determines the area where the sound source object is located relative to the listening object based on the orientation of the listening object.

[0179] Optionally, the detailed process of the above-mentioned "determining the target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object", and "decoding and inverse quantizing the quantized and encoded sound source direction information in the bitstream signal based on the target quantization bit number to restore the sound source direction information" can be referred to the description in the aforementioned embodiment.

[0180] In summary, in the quantization coding method provided by the embodiments of the present disclosure, a decoding device receives a bitstream signal transmitted by an encoding device; the bitstream signal is obtained by quantizing and encoding sound source orientation information based on a target quantization bit number; the target quantization bit number is determined based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object. The decoding device then decodes and inversely quantizes the bitstream signal to obtain the sound source orientation information. As can be seen, the encoding device in the present disclosure selects an appropriate quantization coding method based on the listening object's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening object's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the coded bitstream without affecting subsequent rendering effects and avoiding resource waste. When the listening object's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring subsequent rendering effects. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0181] FIG8 is a flow chart of a quantization encoding method provided by an embodiment of the present disclosure. The method is executed by a decoding device. As shown in FIG8 , the quantization encoding method may include the following steps:

[0182] Step 801: When the bitstream signal includes the target quantization bit number, decode and inverse quantize the quantized and encoded sound source direction information in the bitstream signal based on the target quantization bit number.

[0183] The detailed description of step 801 can be found in the description of the aforementioned embodiment.

[0184] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0185] FIG9 is a flow chart of a quantization encoding method provided by an embodiment of the present disclosure. The method is executed by a decoding device. As shown in FIG9 , the quantization encoding method may include the following steps:

[0186] Step 901: When the target quantization bit number is not included in the bitstream signal, the sound cone information of the sound source object is determined based on the information included in the bitstream signal, the area where the sound source object is located relative to the listening object is determined, and the target quantization bit number of the sound source direction information is determined based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object.

[0187] Step 902: Decode and inversely quantize the quantized and encoded sound source direction information in the bitstream signal based on the target quantization bit number.

[0188] The detailed description of steps 901 - 902 may be referred to the description of the aforementioned embodiment.

[0189] In summary, in the quantization coding method provided by the embodiments of the present disclosure, the encoding device selects an appropriate quantization coding method based on the listening subject's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization coding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting the subsequent rendering effect and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization coding method is selected to quantize and encode the sound source orientation information, thereby ensuring the subsequent rendering effect. Furthermore, the quantization coding method of the present disclosure offers high flexibility.

[0190] FIG10 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure. As shown in FIG10 , the device may include:

[0191] a processing module, configured to determine a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object;

[0192] The processing module is further configured to perform quantization encoding on the sound source direction information based on the target quantization bit number to obtain a code stream signal.

[0193] In summary, in the communication device provided by the embodiments of the present disclosure, the encoding device determines a target quantization bit number for the sound source orientation information based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object; and quantizes and encodes the sound source orientation information based on the target quantization bit number to obtain a bitstream signal. The sound source object's sound cone information and the area in which the sound source object is located relative to the listening object can reflect the listening object's perceptual sensitivity to changes in the sound source object's orientation, and the target quantization bit number can reflect a specific quantization encoding method (e.g., a fine quantization encoding method or a coarse quantization encoding method). As can be seen, the encoding device in the present disclosure selects an appropriate quantization encoding method based on the listening subject's current perceptual sensitivity to changes in the sound source object's orientation. When the listening subject's perceptual sensitivity to changes in the sound source object's orientation is low, a coarse quantization encoding method is selected to quantize and encode the sound source orientation information, thereby reducing the encoding bitrate without affecting subsequent rendering effects and avoiding resource waste. When the listening subject's perceptual sensitivity to changes in the sound source object's orientation is high, a fine quantization encoding method is selected to quantize and encode the sound source orientation information, thereby ensuring subsequent rendering effects. Furthermore, the quantization encoding method of the present disclosure offers high flexibility.

[0194] Optionally, in an embodiment of the present disclosure, the sound cone information of the sound source object includes at least one of the following:

[0195] The inner angle of the sound cone of the sound source object;

[0196] The outer angle of the sound cone of the sound source object;

[0197] The maximum attenuation of the audio signal emitted by the sound source object.

[0198] Optionally, in an embodiment of the present disclosure, the sound source direction information includes at least one of the following:

[0199] The horizontal angle between the sound source object and the listening object;

[0200] The elevation angle between the sound source object and the listening object.

[0201] Optionally, in one embodiment of the present disclosure, the apparatus is further configured to:

[0202] Determining the orientation of the listening object;

[0203] Determining the relative position of the sound source object with respect to the listening object;

[0204] The area where the sound source object is located relative to the listening object is determined based on at least one of the direction of the listening object and the relative position.

[0205] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0206] determining a first quantization bit number based on the sound cone information of the sound source object;

[0207] The target quantization bit number is determined based on the area where the sound source object is located relative to the listening object and the first quantization bit number.

[0208] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0209] The target quantization bit number is determined based on the sound cone information of the sound source object.

[0210] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0211] The first quantization bit number or the target quantization bit number is calculated using the following formula; the formula includes:

[0212] Among them, angle Indicates the inner angle of the sound cone, out angle Represents the outer angle of the sound cone, A max Indicates the maximum attenuation amplitude, gap indicates the rate of change of sound intensity between the inner angle of the sound cone and the outer angle of the sound cone. The sound intensity change rate is: the rate of change of the intensity of the audio signal emitted by the sound source object with the emission angle of the audio signal, percep indicates the minimum sound intensity change rate that can be perceived by the human ear, and quan int Indicates the quantization interval, range indicates the quantization range, bit represents the determined first quantization bit number or target quantization bit number, and ceil represents a rounding-up function.

[0213] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0214] When the sound source object is in a first area of ​​the listening object, determining the first quantization bit number as the target quantization bit number;

[0215] When the sound source object is in the second area of ​​the listening object, determining a difference between the first quantization bit number and a preset value as the target quantization bit number;

[0216] The listening object's perception sensitivity to the audio signal in the first area is higher than the listening object's perception sensitivity to the audio signal in the second area.

[0217] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0218] Determining a corresponding codebook based on the target quantization bit number;

[0219] The sound source direction information is quantized and encoded based on the codebook to obtain quantized and encoded sound source direction information.

[0220] Optionally, in an embodiment of the present disclosure, the code stream signal includes at least one of the following:

[0221] Quantize the encoded sound source direction information;

[0222] The target quantization bit number;

[0223] Sound cone information of the sound source object;

[0224] An indication index corresponding to the sound cone information;

[0225] The absolute position of the sound source object;

[0226] The absolute position of the listening object;

[0227] The relative position of the sound source object with respect to the listening object.

[0228] Optionally, in one embodiment of the present disclosure, the apparatus is further configured to:

[0229] The code stream signal is sent to a decoding device.

[0230] FIG11 is a schematic structural diagram of a communication device provided by an embodiment of the present disclosure. As shown in FIG11 , the device may include:

[0231] a transceiver module configured to receive a code stream signal transmitted by an encoding device; the code stream signal being obtained by quantizing and encoding the sound source direction information based on a target quantization bit number; the target quantization bit number being determined based on at least one of the sound cone information of the sound source object and the area in which the sound source object is located relative to the listening object;

[0232] The processing module is used to decode and inverse quantize the code stream signal to obtain the sound source direction information.

[0233] In summary, in the communication device provided by the embodiments of the present disclosure, a decoding device receives a code stream signal transmitted by an encoding device; the code stream signal is obtained by quantizing and encoding sound source orientation information based on a target quantization bit number; the target quantization bit number is determined based on at least one of the sound source object's sound cone information and the area in which the sound source object is located relative to the listening object. The decoding device then decodes and inversely quantizes the code stream signal to obtain the sound source orientation information. As can be seen, the encoding device in the present disclosure selects an appropriate quantization encoding scheme based on the listening object's current perceptual sensitivity to changes in the orientation of the sound source object. When the listening object's perceptual sensitivity to changes in the orientation of the sound source object is low, a coarse quantization encoding scheme is selected to quantize and encode the sound source orientation information, thereby reducing the coded bit stream without affecting subsequent rendering effects and avoiding resource waste. When the listening object's perceptual sensitivity to changes in the orientation of the sound source object is high, a fine quantization encoding scheme is selected to quantize and encode the sound source orientation information, thereby ensuring subsequent rendering effects. Furthermore, the quantization encoding method of the present disclosure offers high flexibility.

[0234] Optionally, in an embodiment of the present disclosure, the code stream signal includes at least one of the following:

[0235] Quantize the encoded sound source direction information;

[0236] The target quantization bit number;

[0237] Sound cone information of the sound source object;

[0238] An indication index corresponding to the sound cone information;

[0239] The absolute position of the sound source object;

[0240] The absolute position of the listening object;

[0241] The relative position of the sound source object with respect to the listening object.

[0242] Optionally, in an embodiment of the present disclosure, when the bit stream signal includes the target quantization bit number, the processing module is further configured to:

[0243] The quantized and encoded sound source direction information in the code stream signal is decoded and inversely quantized based on the target quantization bit number.

[0244] Optionally, in an embodiment of the present disclosure, when the bit stream signal does not include the target quantization bit number, the processing module is further configured to:

[0245] Determine the sound cone information of the sound source object based on the information included in the code stream signal;

[0246] Determining an area where the sound source object is located relative to a listening object;

[0247] determining a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object;

[0248] The quantized and encoded sound source direction information in the code stream signal is decoded and inversely quantized based on the target quantization bit number.

[0249] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0250] determining the area where the sound source object is located relative to the listening object based on the information included in the code stream signal and the direction of the listening object;

[0251] The decoding device autonomously determines an area where the sound source object is located relative to a listening object.

[0252] Optionally, in one embodiment of the present disclosure, the processing module is further configured to:

[0253] Determining a corresponding codebook based on the target quantization bit number;

[0254] The quantized and encoded sound source direction information is decoded and inversely quantized based on the codebook.

[0255] Please refer to Figure 12, which is a schematic diagram of the structure of a communication device 1200 provided in an embodiment of the present disclosure. Communication device 1200 can be a base station or a terminal, or a chip, chip system, or processor that supports a base station in implementing the above-mentioned method. It can also be a chip, chip system, or processor that supports a terminal in implementing the above-mentioned method. This device can be used to implement the method described in the above-mentioned method embodiment. For details, please refer to the description of the above-mentioned method embodiment.

[0256] The communication device 1200 may include one or more processors 1201. The processor 1201 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control the communication device (e.g., a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute computer programs, and process computer program data.

[0257] Optionally, the communication device 1200 may further include one or more memories 1202, on which a computer program 1204 may be stored. The processor 1201 executes the computer program 1204 to cause the communication device 1200 to perform the method described in the above method embodiment. Optionally, the memory 1202 may also store data. The communication device 1200 and the memory 1202 may be provided separately or integrated together.

[0258] Optionally, the communication device 1200 may further include a transceiver 1205 and an antenna 1206. The transceiver 1205 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is configured to implement transceiver functions. The transceiver 1205 may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is configured to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is configured to implement a transmitting function.

[0259] Optionally, the communication device 1200 may further include one or more interface circuits 1207. The interface circuit 1207 is configured to receive code instructions and transmit the code instructions to the processor 1201. The processor 1201 executes the code instructions to enable the communication device 1200 to perform the method described in the above method embodiment.

[0260] In one implementation, processor 1201 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or may be used for transmitting or delivering signals.

[0261] In one implementation, processor 1201 may store a computer program 1203. Computer program 1203, when executed on processor 1201, enables communication device 1200 to perform the method described in the above method embodiment. Computer program 1203 may be embedded in processor 1201, in which case processor 1201 may be implemented by hardware.

[0262] In one implementation, the communication device 1200 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments. The processor and transceiver described in the present disclosure can be implemented on an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (bipolar junction transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0263] The communication device described in the above embodiments may be a base station or a terminal, but the scope of the communication device described in this disclosure is not limited thereto, and the structure of the communication device may not be limited to FIG12. The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:

[0264] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;

[0265] (2) a collection of one or more ICs, optionally including a storage component for storing data and computer programs;

[0266] (3) ASIC, such as modem;

[0267] (4) Modules that can be embedded in other devices;

[0268] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, base stations, cloud devices, artificial intelligence devices, etc.;

[0269] (6)Others, etc.

[0270] If the communication device can be a chip or a chip system, please refer to the schematic diagram of the chip structure shown in Figure 13. The chip shown in Figure 13 includes a processor 1301 and an interface 1302. The number of processors 1301 can be one or more, and the number of interfaces 1302 can be multiple.

[0271] Optionally, the chip further includes a memory 1303, which is used to store necessary computer programs and data.

[0272] Those skilled in the art will also appreciate that the various illustrative logical blocks and steps listed in the embodiments of the present disclosure may be implemented by electronic hardware, computer software, or a combination of both. Whether such functionality is implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functionality for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present disclosure.

[0273] The present disclosure also provides a readable storage medium having instructions stored thereon, which implement the functions of any of the above method embodiments when executed by a computer.

[0274] The present disclosure also provides a computer program product, which implements the functions of any of the above method embodiments when executed by a computer.

[0275] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs. When the computer program is loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present disclosure are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0276] Those skilled in the art will understand that the various numerical numbers such as first and second involved in the present disclosure are only for the convenience of description and are not used to limit the scope of the embodiments of the present disclosure, and also indicate the order of precedence.

[0277] The at least one in the present disclosure can also be described as one or more, and the multiple can be two, three, four or more, which is not limited in the present disclosure. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D", and there is no order of precedence or size between the technical features described by "first", "second", "third", "A", "B", "C" and "D".

[0278] The correspondences shown in the tables of the present disclosure can be configured or predefined. The values ​​of the information in each table are merely examples and can be configured to other values, which are not limited by the present disclosure. When configuring the correspondences between information and parameters, it is not necessarily required to configure all the correspondences shown in each table. For example, in the tables of the present disclosure, the correspondences shown in certain rows may not be configured. For another example, appropriate deformation adjustments can be made based on the above tables, such as splitting, merging, etc. The names of the parameters shown in the titles of the above tables may also adopt other names that can be understood by the communication device, and the values ​​or representations of the parameters may also adopt other values ​​or representations that can be understood by the communication device. When implementing the above tables, other data structures may also be used, such as arrays, queues, containers, stacks, linear lists, pointers, linked lists, trees, graphs, structures, classes, heaps, hash tables or hash tables, etc.

[0279] The predefined in the present disclosure may be understood as defined, predefined, stored, pre-stored, pre-negotiated, pre-configured, solidified, or pre-burned.

[0280] 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. Professionals and technicians 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 disclosure.

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

[0282] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure 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 disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A quantization coding method, characterized in that: The method is performed by an encoding device, and includes: determining a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object; The sound source direction information is quantized and encoded based on the target quantization bit number to obtain a code stream signal.

2. The method according to claim 1, wherein The sound cone information of the sound source object includes at least one of the following: The inner angle of the sound cone of the sound source object; The outer angle of the sound cone of the sound source object; The maximum attenuation of the audio signal emitted by the sound source object.

3. The method according to claim 1, wherein The sound source direction information includes at least one of the following: The horizontal angle between the sound source object and the listening object; The elevation angle between the sound source object and the listening object.

4. The method according to claim 1, wherein The method further comprises: Determining the orientation of the listening object; Determining the relative position of the sound source object with respect to the listening object; The area where the sound source object is located relative to the listening object is determined based on at least one of the direction of the listening object and the relative position.

5. The method according to any one of claims 1 to 4, characterized in that: The determining of the target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object comprises: determining a first quantization bit number based on the sound cone information of the sound source object; The target quantization bit number is determined based on the area where the sound source object is located relative to the listening object and the first quantization bit number.

6. The method according to any one of claims 1 to 4, characterized in that: The determining of the target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object comprises: The target quantization bit number is determined based on the sound cone information of the sound source object.

7. The method according to claim 5 or 6, wherein: The determining of the first quantization bit number or the target quantization bit number based on the sound cone information of the sound source object includes: The first quantization bit number or the target quantization bit number is calculated using the following formula; the formula includes: Among them, angle Indicates the inner angle of the sound cone, out angle Represents the outer angle of the sound cone, A max Indicates the maximum attenuation amplitude, gap indicates the rate of change of sound intensity between the inner angle of the sound cone and the outer angle of the sound cone. The sound intensity change rate is: the rate of change of the intensity of the audio signal emitted by the sound source object with the emission angle of the audio signal, percep indicates the minimum sound intensity change rate that can be perceived by the human ear, and quan int Indicates the quantization interval, range indicates the quantization range, bit represents the determined first quantization bit number or target quantization bit number, and ceil represents a rounding-up function.

8. The method according to claim 5, wherein The determining the target quantization bit number based on the area where the sound source object is located relative to the listening object and the first quantization bit number includes: When the sound source object is in a first area of ​​the listening object, determining the first quantization bit number as the target quantization bit number; When the sound source object is in the second area of ​​the listening object, determining a difference between the first quantization bit number and a preset value as the target quantization bit number; The listening object's perception sensitivity to the audio signal in the first area is higher than the listening object's perception sensitivity to the audio signal in the second area.

9. The method according to any one of claims 1 to 8, wherein: The quantizing and encoding the sound source direction information based on the target quantization bit number includes: Determining a corresponding codebook based on the target quantization bit number; The sound source direction information is quantized and encoded based on the codebook to obtain quantized and encoded sound source direction information.

10. The method according to any one of claims 1 to 9, characterized in that: The code stream signal includes at least one of the following: Quantize the encoded sound source direction information; The target quantization bit number; Sound cone information of the sound source object; An indication index corresponding to the sound cone information; The absolute position of the sound source object; The absolute position of the listening object; The relative position of the sound source object with respect to the listening object.

11. The method according to any one of claims 1 to 10, wherein: The method further comprises: The code stream signal is sent to a decoding device.

12. A quantization coding method, characterized in that: The method is executed by a decoding device, and includes: receiving a code stream signal sent by an encoding device; the code stream signal is obtained by quantizing and encoding sound source direction information based on a target quantization bit number; the target quantization bit number is determined based on at least one of sound cone information of the sound source object and an area where the sound source object is located relative to a listening object; The code stream signal is decoded and inversely quantized to obtain the sound source direction information.

13. The method according to claim 12, wherein: The code stream signal includes at least one of the following: Quantize the encoded sound source direction information; The target quantization bit number; Sound cone information of the sound source object; An indication index corresponding to the sound cone information; The absolute position of the sound source object; The absolute position of the listening object; The relative position of the sound source object with respect to the listening object.

14. The method according to claim 12 or 13, wherein: When the code stream signal includes the target number of quantization bits, decoding and inverse quantizing the code stream signal includes: The quantized and encoded sound source direction information in the code stream signal is decoded and inversely quantized based on the target quantization bit number.

15. The method according to claim 12 or 13, wherein: When the code stream signal does not include the target quantization bit number, decoding and inverse quantizing the code stream signal includes: Determine the sound cone information of the sound source object based on the information included in the code stream signal; Determining an area where the sound source object is located relative to a listening object; determining a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object; The quantized and encoded sound source direction information in the code stream signal is decoded and inversely quantized based on the target quantization bit number.

16. The method according to claim 15, wherein Determining the area where the sound source object is located relative to the listening object includes at least one of the following: determining the area where the sound source object is located relative to the listening object based on the information included in the code stream signal and the direction of the listening object; The decoding device autonomously determines an area where the sound source object is located relative to a listening object.

17. The method according to claim 14 or 15, wherein: The decoding and inverse quantization of the quantized and encoded sound source direction information in the code stream signal based on the target quantization bit number includes: Determining a corresponding codebook based on the target quantization bit number; The quantized and encoded sound source direction information is decoded and inversely quantized based on the codebook.

18. A communication device comprising: a processing module, configured to determine a target quantization bit number of the sound source direction information based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object; The processing module is further configured to perform quantization encoding on the sound source direction information based on the target quantization bit number to obtain a code stream signal.

19. A communication device comprising: The transceiver module is used to receive the code stream signal sent by the encoding device; The code stream signal is obtained by quantizing and encoding the sound source direction information based on the target quantization bit number; The target quantization bit number is determined based on at least one of the sound cone information of the sound source object and the area where the sound source object is located relative to the listening object; The processing module is used to decode and inverse quantize the code stream signal to obtain the sound source direction information.

20. A communication device, characterized in that: The device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 1 to 11, or the processor executes the computer program stored in the memory so that the device performs the method according to any one of claims 12 to 17.

21. A communication device, characterized in that: include: processor and interface circuitry, wherein The interface circuit is used to receive code instructions and transmit them to the processor; The processor is configured to execute the code instructions to perform the method according to any one of claims 1 to 11, or execute the code instructions to perform the method according to any one of claims 12 to 17.

22. A computer-readable storage medium storing instructions, which, when executed, enable the method according to any one of claims 1 to 11 to be implemented, or, when executed, enable the method according to any one of claims 12 to 17 to be implemented.

Citation Information

Patent Citations

  • Three-dimensional audio space parameter quantification method based on perception characteristic

    CN103065634A

  • System and method for carrying out comprehensive non-uniform quantitative coding on 3D audio space parameters

    CN104464742A

  • Signal processing device, method, and program

    CN115943461A

  • Low bit-rate spatial coding method and system

    CN1295778A

  • Audio signal encoding device, audio signal decoding device, method thereof and program

    CN1922655A