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

Claim 0:
1. An audio processing method, executed by an electronic device, and comprising:
obtaining a current playback environment of audio;
performing audio recognition on ambient sound of the current playback environment;
determining foreground sound in the ambient sound according to an audio recognition result;
classifying the foreground sound in the ambient sound to determine a type of the foreground sound; and
performing audio mixing on the foreground sound and the audio to obtain a mixed playback sound based on the type of the foreground sound, comprising:
determining an audio mixing mode according to the type of the foreground sound; and
performing audio mixing on the foreground sound and the audio by using the determined audio mixing mode to obtain the mixed playback sound.