A non-transitory computer-readable storage medium storing a plurality of instructions configured for execution by a computer server having one or more processors, the plurality of instructions causing the computer server to perform the following operations:
- obtaining a first speech signal, wherein the first speech signal includes a voice input captured at a first terminal of a voice communication channel established between the first terminal and a second terminal, and wherein the first terminal and the second terminal respectively perform signal encoding and decoding on speech signal transmissions through the voice communication channel;
- identifying a correspondence between the first speech signal and a respective user group among different user groups having distinct voice characteristics, including performing feature recognition on the first speech signal to obtain a pitch period of the first speech signal and determining whether the pitch period of the first speech signal is greater than a preset period value, in accordance with a determination that the pitch period of the first speech signal is greater than the preset period value, identifying a correspondence between the first speech signal and a male user group, and in accordance with a determination that the pitch period of the first speech signal is not greater than the preset period value, identifying a correspondence between the first speech signal and a female user group;
- performing pre-encoding signal augmentation on the first speech signal to obtain a corresponding pre-augmented speech signal, including:
- in accordance with a determination that the first speech signal corresponds to the male user group, performing pre-encoding signal augmentation on the first speech signal with a first pre-augmentation filtering coefficient to obtain a first pre-augmented speech signal as the corresponding pre-augmented speech signal for the first speech signal, wherein the first pre-augmentation filtering coefficient is tailored for the male user group and is obtained by an offline training according to training samples including speech samples for the male user group;
- and
- in accordance with a determination that the first speech signal corresponds to the female user group, performing pre-encoding signal augmentation on the first speech signal with a second pre-augmentation filtering coefficient distinct from the first pre-augmentation filtering coefficient to obtain a second pre-augmented speech signal as the corresponding pre-augmented speech signal for the first speech signal, wherein the second pre-augmentation filtering coefficient is tailored for the female user group and is obtained by an offline training according to training samples including speech samples for the female user group;
- and
- encoding the corresponding pre-augmented speech signal for subsequent transmission through the voice communication channel, wherein an encoded version of the corresponding pre-augmented speech signal has reduced loss of signal quality as compared to an encoded version of the first speech signal that is obtained without the pre-encoding signal augmentation.