Skip to main content

voice_activity_detection.proto

path phonexia/grpc/technologies/voice_activity_detection/v1/voice_activity_detection.proto

package phonexia.grpc.technologies.voice_activity_detection.v1

Phonexia Voice Activity Detection gRPC API.


Messages​

DetectRequest​

The top-level message sent by the client for the Detect method.

NameTypeDescription
audiophonexia.grpc.common.Audio

Audio to be processed. The audio should have minimum length of 0.8 seconds. If the audio is shorter, the segments will be empty.

DetectResponse​

The top-level message returned to the client by the Detect method.

NameTypeDescription
speech_lengthgoogle.protobuf.Duration

Total speech length detected in the audio.

segmentsrepeated Segment

List of detected voice segments. Will be empty if the audio is shorter than 0.8 seconds.

processed_audio_lengthgoogle.protobuf.Duration

Total length of the processed audio.

Segment​

Detected voice segment.

NameTypeDescription
typeSegment.SegmentType

Type of the segment.

start_timegoogle.protobuf.Duration

Timestamp specifying the beginning of the segment.

end_timegoogle.protobuf.Duration

Timestamp specifying the end of the segment.


Enums​

Segment.SegmentType​

Enumeration of supported segment types.

NameNumberDescription
VOICE0

Services​

VoiceActivityDetection​

Service that implements voice activity detection.

Detect​

MethodDetect
RequestDetectRequest stream
ResponseDetectResponse
Description

Performs synchronous voice activity detection on the given audio.