CPC G10L 19/008 (2013.01) [H04S 3/00 (2013.01); H04S 2420/03 (2013.01)] | 20 Claims |
1. A method for encoding an audio signal, the method comprising:
obtaining an initial inter-channel time difference (ITD) value of a current frame of an audio signal, wherein the audio signal comprises a first channel signal and a second channel signal, and wherein the initial ITD value is related to the first channel signal and the second channel signal;
obtaining a characteristic parameter of the current frame, wherein the characteristic parameter comprises at least one of a signal-to-noise ratio of the current frame or a peak feature of cross correlation coefficients of the current frame;
determining, based on the characteristic parameter, whether to use the initial ITD value as a finalized ITD value of the current frame;
encoding the current frame based on the initial ITD value when determining to use the initial ITD value as the finalized ITD value of the current frame; and
encoding the current frame based on a finalized ITD value of a previous frame of the current frame when determining not to use the initial ITD value as the finalized ITD value of the current frame.
|