Cloud Speech-to-Text V1 API - Module Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance (v0.11.0)

Reference documentation and code samples for the Cloud Speech-to-Text V1 API module Google::Cloud::Speech::V1::RecognitionMetadata::MicrophoneDistance.

Enumerates the types of capture settings describing an audio file.

Constants

MICROPHONE_DISTANCE_UNSPECIFIED

value: 0
Audio type is not known.

NEARFIELD

value: 1
The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone.

MIDFIELD

value: 2
The speaker if within 3 meters of the microphone.

FARFIELD

value: 3
The speaker is more than 3 meters away from the microphone.