Patent ID: 11862158
Assignee: BEIJING XIAOMI PINECONE ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. The method of claim 2, wherein, the first type signal is an impulse signal, determining whether each target frame of the audio data is the first type signal according to the target frame of the audio data and at least part of frames of historical audio data collected before the target frame of the audio data, comprises:
obtaining respective initial spectral values of the target frame of the audio data and the at least part of frames of the historical audio data; and
in response to the initial spectral value of the target frame of the audio data meeting a preset condition, determining that the target frame of the audio data is the impulse signal;
wherein, the preset condition includes: the initial spectral value of the target frame of the audio data is a maximum value of the initial spectral values of the at least part of frames of the historical audio data, and the initial spectral value of the target frame of the audio data is greater than or equal to a mean value of the initial spectral values of the at least part of frames of the historical audio data and the target frame of the audio data.