CPC G10L 19/008 (2013.01) [H04S 1/007 (2013.01); H04S 2420/03 (2013.01)] | 20 Claims |
1. A method comprising:
obtaining a pulse-code modulation (PCM) audio signal;
obtaining a first inter-channel time difference (ITD) of a current frame based on the PCM audio signal, wherein the first ITD is a time difference between a first-channel signal of the current frame and a second-channel signal of the current frame, and wherein a first sign of the first ITD is either a positive sign or a negative sign;
performing, when the first sign is different from a second sign of a second ITD of a previous frame adjacent to the current frame, a first delay alignment processing on the first-channel signal based on the first ITD to obtain a third signal;
performing, when the first sign is different from the second sign, a second delay alignment processing on the second-channel signal based on the second ITD to obtain a fourth signal;
performing a mid/side (M/S) downmix processing on the third signal and the fourth signal to obtain a fifth signal and a sixth signal; and
encoding the fifth signal and the sixth signal.
|