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.
| Name | Type | Description |
|---|---|---|
audio | phonexia.grpc.common.Audio | Audio to be processed.
The audio should have minimum length of 0.8 seconds. If the audio is shorter,
the |
DetectResponse
The top-level message returned to the client by the Detect
method.
| Name | Type | Description |
|---|---|---|
speech_length | google.protobuf.Duration | Total speech length detected in the audio. |
segments | repeated Segment | List of detected voice segments. Will be empty if the audio is shorter than 0.8 seconds. |
processed_audio_length | google.protobuf.Duration | Total length of the processed audio. |
Segment
Detected voice segment.
| Name | Type | Description |
|---|---|---|
type | Segment.SegmentType | Type of the segment. |
start_time | google.protobuf.Duration | Timestamp specifying the beginning of the segment. |
end_time | google.protobuf.Duration | Timestamp specifying the end of the segment. |
Enums
Segment.SegmentType
Enumeration of supported segment types.
| Name | Number | Description |
|---|---|---|
VOICE | 0 |
Services
VoiceActivityDetection
Service that implements voice activity detection.
Detect
| Method | Detect |
|---|---|
| Request | DetectRequest stream |
| Response | DetectResponse |
| Description | Performs synchronous voice activity detection on the given audio. |