US 11,948,597 B2
Audio processing method and apparatus, electronic device, and storage medium
Shuo Deng, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Nov. 16, 2021, as Appl. No. 17/527,935.
Application 17/527,935 is a continuation of application No. PCT/CN2020/116711, filed on Sep. 22, 2020.
Claims priority of application No. 201911267593.7 (CN), filed on Dec. 11, 2019.
Prior Publication US 2022/0076692 A1, Mar. 10, 2022
Int. Cl. G10L 25/51 (2013.01); G10L 25/24 (2013.01); G10L 25/27 (2013.01)
CPC G10L 25/51 (2013.01) [G10L 25/24 (2013.01); G10L 25/27 (2013.01)] 17 Claims
OG exemplary drawing
 
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.