A device for communication, the device comprising: a processor configured to: determine a first mismatch value indicative of a first amount of a temporal mismatch between a first audio signal and a second audio signal, the first mismatch value associated with a first frame to be encoded; determine a second mismatch value indicative of a second amount of a temporal mismatch between the first audio signal and the second audio signal, the second mismatch value associated with a second frame to be encoded, wherein the second frame to be encoded is subsequent to the first frame to be encoded; determine an effective mismatch value based on the first mismatch value and the second mismatch value, wherein the second frame to be encoded includes first samples of the first audio signal and second samples of the second audio signal, and wherein the second samples are selected based at least in part on the effective mismatch value; determine a variation value based on the second mismatch value and the effective mismatch value, the variation value being a difference in value between the second mismatch value and the effective mismatch value; in response to determining that the variation value is greater than a first threshold, generate a bit allocation to indicate a first number of bits for allocation to an encoded mid signal and a second number of bits for allocation to an encoded side signal; in response to determining that the variation value is less than or equal to the first threshold and less than a second threshold, generate the bit allocation to indicate a third number of bits for allocation to an encoded mid signal and a fourth number of bits for allocation to an encoded side signal, wherein the third number of bits is greater than the first number of bits, and wherein the fourth number of bits is less than the second number of bits; and generate, based at least partially on the second frame to be encoded and on the generated bit allocation, at least one encoded signal including an encoded mid signal and an encoded side signal; wherein the device further comprises a transmitter configured to transmit the at least one encoded signal to a second device. a processor configured to: determine a first mismatch value indicative of a first amount of a temporal mismatch between a first audio signal and a second audio signal, the first mismatch value associated with a first frame to be encoded; determine a second mismatch value indicative of a second amount of a temporal mismatch between the first audio signal and the second audio signal, determine a first mismatch value indicative of a first amount of a temporal mismatch between a first audio signal and a second audio signal, the first mismatch value associated with a first frame to be encoded; determine a second mismatch value indicative of a second amount of a temporal mismatch between the first audio signal and the second audio signal, the second mismatch value associated with a second frame to be encoded, wherein the second frame to be encoded is subsequent to the first frame to be encoded; determine an effective mismatch value based on the first mismatch value and the second mismatch value, wherein the second frame to be encoded includes first samples of the first audio signal and second samples of the second audio signal, and wherein the second samples are selected based at least in part on the effective mismatch value; determine a variation value based on the second mismatch value and the effective mismatch value, the variation value being a difference in value between the second mismatch value and the effective mismatch value; in response to determining that the variation value is greater than a first threshold, generate a bit allocation to indicate a first number of bits for allocation to an encoded mid signal and a second number of bits for allocation to an encoded side signal; in response to determining that the variation value is less than or equal to the first threshold and less than a second threshold, generate the bit allocation to indicate a third number of bits for allocation to an encoded mid signal and a fourth number of bits for allocation to an encoded side signal, wherein the third number of bits is greater than the first number of bits, and wherein the fourth number of bits is less than the second number of bits; and generate, based at least partially on the second frame to be encoded and on the generated bit allocation, at least one encoded signal including an encoded mid signal and an encoded side signal; wherein the device further comprises a transmitter configured to transmit the at least one encoded signal to a second device.