Patent ID: 11948597
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. An electronic device comprising:
a memory storing a computer program;
a processor configured to execute the computer program, and upon execution of the computer program, is configured to:
obtain a current playback environment of audio;
perform audio recognition on ambient sound of the current playback environment;
determine foreground sound in the ambient sound according to an audio recognition result;
classify the foreground sound in the ambient sound to determine a type of the foreground sound; and
perform audio mixing on the foreground sound and the audio to obtain mixed playback sound based on the type of the foreground sound, wherein
to perform audio recognition on ambient sound of the current playback environment, the processor, upon execution of the computer program is configured to:
sample the ambient sound of the current playback environment;
extract a Mel-frequency cepstrum coefficient feature of the ambient sound obtained by the sampling, to obtain a Mel feature of the ambient sound; and
perform audio recognition on the Mel feature of the ambient sound by using an adaptive discriminant network.