A bit allocation method for an audio signal, comprising: obtaining T audio signals in a current frame, wherein T is a positive integer; 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, the T audio signals comprise the M audio signals, 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 the determining 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; the determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals includes: obtaining a first priority of the first audio signal based on the first scene grading parameter; obtaining a second priority of the first audio signal based on the second scene grading parameter; and obtaining the priority of the first audio signal based on the first priority and the second priority; wherein, a method used for obtaining the second priority of the first audio signal is different from that used for obtaining the first priority of the first audio signal. obtaining T audio signals in a current frame, wherein T is a positive integer; 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, the T audio signals comprise the M audio signals, 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 the determining 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; the determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals includes: obtaining a first priority of the first audio signal based on the first scene grading parameter; obtaining a second priority of the first audio signal based on the second scene grading parameter; and obtaining the priority of the first audio signal based on the first priority and the second priority; wherein, a method used for obtaining the second priority of the first audio signal is different from that used for obtaining the first priority of the first audio signal. 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; the determining the M priorities of the M audio signals based on the scene grading parameter of each of the M audio signals includes: obtaining a first priority of the first audio signal based on the first scene grading parameter; obtaining a second priority of the first audio signal based on the second scene grading parameter; and obtaining the priority of the first audio signal based on the first priority and the second priority; wherein, a method used for obtaining the second priority of the first audio signal is different from that used for obtaining the first priority of the first audio signal.