Cloud Speech-to-Text V2 API - Module Google::Cloud::Speech::V2::RecognitionFeatures::MultiChannelMode (v0.4.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API module Google::Cloud::Speech::V2::RecognitionFeatures::MultiChannelMode.

Options for how to recognize multi-channel audio.

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.

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.