Cloud Speech V2 Client - Class MultiChannelMode (1.15.0)

Reference documentation and code samples for the Cloud Speech V2 Client class MultiChannelMode.

Options for how to recognize multi-channel audio.

Protobuf type google.cloud.speech.v2.RecognitionFeatures.MultiChannelMode

Namespace

Google \ Cloud \ Speech \ V2 \ RecognitionFeatures

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

MULTI_CHANNEL_MODE_UNSPECIFIED

Value: 0

Default value for the multi-channel mode. If the audio contains multiple channels, only the first channel will be transcribed; other channels will be ignored.

Generated from protobuf enum MULTI_CHANNEL_MODE_UNSPECIFIED = 0;

SEPARATE_RECOGNITION_PER_CHANNEL

Value: 1

If selected, each channel in the provided audio is transcribed independently. This cannot be selected if the selected model is latest_short.

Generated from protobuf enum SEPARATE_RECOGNITION_PER_CHANNEL = 1;