摘要 |
The present invention discloses a method and an apparatus for detecting a voice signal. The method includes: performing, in a unit of first timeframe frame length, framing on a continuous voice sample to obtain a plurality of first timeframes, detecting energy of each of the first timeframes, and determining a target first timeframe including a potential abrupt exception of a voice signal by analyzing a relationship between the energy of the plurality of first timeframes; performing, in a unit of second timeframe frame length, framing on the continuous voice sample to obtain a plurality of second timeframes, where each second timeframe frame length is an integral multiple of the first timeframe frame length, and a second timeframe including the target first timeframe is a target second timeframe; and processing each of the second timeframes to acquire a tone feature, and determining, by analyzing a tone feature of at least one of the second timeframes including at least one target second timeframe, whether the potential abrupt exception of a voice signal included in the target first timeframe included in the target second timeframe is a real abrupt exception of a voice signal. The technical solution can improve accuracy in detecting an abrupt exception of a voice signal. |