Patent ID: 11900950
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 12:
13. 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.