Bit allocation method and apparatus for audio signal
AssigneeHuawei Technologies Co., Ltd.
InventorsYuan Gao, Jiance Ding, Bin Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a bit allocation method and apparatus for an audio signal. The bit allocation method for an audio signal includes: obtaining T audio signals in a current frame, where T is a positive integer; determining a first audio signal set based on the T audio signals, where the first audio signal set includes M audio signals, M is a positive integer, T≥M; determining M priorities of the M audio signals in the first audio signal set; and performing bit allocation on the M audio signals based on the M priorities of the M audio signals.
Claims25
A method of bit allocation for an audio signal, comprising:
- obtaining T audio signals in a current frame, wherein T is a positive integer;
- obtaining S groups of metadata in the current frame, wherein S is a positive integer, T≥S, the S groups of metadata correspond to the T audio signals, and the metadata describes a status of a corresponding audio signal in a spatial scene;
- determining a first audio signal set based on the T audio signals, wherein the first audio signal set comprises M audio signals, M is a positive integer, and T≥M;
- determining M priorities of the M audio signals in the first audio signal set;
- and
- performing bit allocation on the M audio signals based on the M priorities of the M audio signals;
- wherein determining the M priorities of the M audio signals in the first audio signal set comprises:
- obtaining a scene grading parameter of each of the M audio signals;
- and
- determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals.
A bit allocation apparatus for an audio signal, comprising:
- at least one processor;
- and
- one or more memories coupled to the at least one processor and storing programming instructions, which when executed by the at least one processor, cause the apparatus to:
- obtain T audio signals in a current frame, wherein T is a positive integer;
- obtain S groups of metadata in the current frame, wherein S is a positive integer, T>S, the S groups of metadata correspond to the T audio signals, and the metadata describes a status of a corresponding audio signal in a spatial scene;
- determine a first audio signal set based on the T audio signals, wherein the first audio signal set comprises M audio signals, M is a positive integer, and T≥M;
- determine M priorities of the M audio signals in the first audio signal set;
- and
- perform bit allocation on the M audio signals based on the M priorities of the M audio signals,
- wherein determining the M priorities of the M audio signals in the first audio signal set comprises:
- obtaining a scene grading parameter of each of the M audio signals;
- and
- determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals.
A non-transitory computer-readable storage medium storing computer instructions, which when executed by one or more processors, cause the one or more processors to perform operations, the operations comprising:
- obtaining T audio signals in a current frame, wherein T is a positive integer;
- obtaining S groups of metadata in the current frame, wherein S is a positive integer, T>S, the S groups of metadata correspond to the T audio signals, and the metadata describes a status of a corresponding audio signal in a spatial scene;
- determining a first audio signal set based on the T audio signals, wherein the first audio signal set comprises M audio signals, M is a positive integer, and T≥M;
- determining M priorities of the M audio signals in the first audio signal set;
- and
- performing bit allocation on the M audio signals based on the M priorities of the M audio signals;
- wherein determining the M priorities of the M audio signals in the first audio signal set comprises:
- obtaining a scene grading parameter of each of the M audio signals;
- and
- determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals.
Dependencies are inferred from the claim text.