Cloud Speech V1 Client - Class MicrophoneDistance (1.19.2)

Reference documentation and code samples for the Cloud Speech V1 Client class MicrophoneDistance.

Enumerates the types of capture settings describing an audio file.

Protobuf type google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance

Namespace

Google \ Cloud \ Speech \ V1 \ RecognitionMetadata

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MICROPHONE_DISTANCE_UNSPECIFIED

Value: 0

Audio type is not known.

Generated from protobuf enum MICROPHONE_DISTANCE_UNSPECIFIED = 0;

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.

Generated from protobuf enum NEARFIELD = 1;

MIDFIELD

Value: 2

The speaker if within 3 meters of the microphone.

Generated from protobuf enum MIDFIELD = 2;

FARFIELD

Value: 3

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

Generated from protobuf enum FARFIELD = 3;