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

Claim 9:
10. A non-transitory computer-readable storage medium storing a plurality of instructions, the plurality of instructions being executable by a processor, and when executed by the processor, cause the processor 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 mixing on the foreground sound and the audio to obtain mixed playback sound based on the type of the foreground sound, the plurality of instructions, when executed by the processor, cause the processor to:
determine an audio mixing mode according to the type of the foreground sound, and
perform audio mixing on the foreground sound and the audio by using the determined audio mixing mode to obtain the mixed playback sound.