Voice detection method and apparatus, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorHaijin Fan
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a voice detection method. An audio signal can be divided into a plurality of audio segments. Audio characteristics can be extracted from each of the plurality of audio segments. The audio characteristics of the respective audio segment include a time domain characteristic and a frequency domain characteristic of the respective audio segment. At least one target voice segment can be detected from the plurality of audio segments according to the audio characteristics of the plurality of audio segments.
Claims17
A voice detection method, comprising:
- dividing, by processing circuitry of an information processing apparatus, an audio signal into a plurality of audio segments;
- extracting audio characteristics from each of the plurality of audio segments, the audio characteristics of the respective audio segment including a time domain characteristic and a frequency domain characteristic of the respective audio segment;
- detecting, by the processing circuitry of the information processing apparatus, a starting moment of at least one target voice segment from the plurality of audio segments according to the audio characteristics of the plurality of audio segments, the at least one target voice segment corresponding to speech of a person, the starting moment of the at least one target voice segment obtained in K consecutive target voice segments of the at least one target voice segment;
- and
- detecting an ending moment of the at least one target voice segment based on a set of consecutive segments from the plurality of audio segments that (i) are not associated with the at least one target voice segment and (ii) have a length that exceeds a non-target threshold M,
- wherein a starting moment of a non-target voice segment is obtained in M consecutive non-target voice segments in the plurality of audio segments after Kth target voice segment, the non-target voice segment corresponding to speech output from an electronic device, and
- wherein the starting moment of the non-target voice segment is used as the ending moment of the at least one target voice segment.
An information processing apparatus, comprising circuitry configured to:
- divide an audio signal into a plurality of audio segments;
- extract audio characteristics from each of the plurality of audio segments, the audio characteristics of the respective audio segment including a time domain characteristic and a frequency domain characteristic of the respective audio segment;
- detect a starting moment of at least one target voice segment from the plurality of audio segments according to the audio characteristics of the plurality of audio segments, the at least one target voice segment corresponding to speech of a person, the starting moment of the at least one target voice segment obtained in K consecutive target voice segments of the at least one target voice segment;
- and
- detect an ending moment of the at least one target voice segment based on a set of consecutive segments from the plurality of audio segments that (i) are not associated with the at least one target voice segment and (ii) have a length that exceeds a non-target threshold M, the at least one target voice segment corresponding to speech output from an electronic device,
- wherein a starting moment of a non-target voice segment is obtained in M consecutive non-target voice segments in the plurality of audio segments after a Kth target voice segment, and
- wherein the starting moment of the non-target voice segment is used as the ending moment of the at least one target voice segment.
A non-transitory computer-readable medium storing a program executable by a processor to perform:
- dividing an audio signal into a plurality of audio segments;
- extracting audio characteristics from each of the plurality of audio segments, the audio characteristics of the respective audio segment including a time domain characteristic and a frequency domain characteristic of the respective audio segment;
- detecting a starting moment at least one target voice segment from the plurality of audio segments according to the audio characteristics of the plurality of audio segments, the at least one target voice segment corresponding to speech of a person, the starting moment of the at least one target voice segment obtained in K consecutive target voice segments of the at least one detected target voice segment;
- and
- detecting an ending moment of the at least one target voice segment based on a set of consecutive segments from the plurality of audio segments that (i) are not associated with the at least one target voice segment and (ii) have a length that exceeds a non-target threshold M,
- wherein a starting moment of a non-target voice segment is obtained in M consecutive non-target voice segments in the plurality of audio segments after a Kth target voice segment, the non-target voice segment corresponding to speech output from an electronic device, and
- wherein the starting moment of the non-target voice segment is used as the ending moment of the at least one target voice segment.
Dependencies are inferred from the claim text.