Cloud Speech V1 Client - Class MicrophoneDistance (1.10.0)

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

Methods

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

 Value: 0 

Audio type is not known.

Generated from protobuf enum MICROPHONE_DISTANCE_UNSPECIFIED = 0;

 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;

 Value: 2 

The speaker if within 3 meters of the microphone.

Generated from protobuf enum MIDFIELD = 2;

 Value: 3 

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

Generated from protobuf enum FARFIELD = 3;