Sample applications

This page lists the code samples currently available for Speech-to-Text.

Programming language examples

The following are links to complete samples that you can download that show how to send audio to Speech-to-Text and receive a text transcription for that audio. You can find more details about running the sample in the README file included with the download.

Mobile platform examples

Android sample

This sample shows you how to use your microphone with the Cloud Speech RPC API to provide streaming speech recognition.

Documentation and Code

iOS samples

This sample shows you how to use your microphone with the Cloud Speech RPC API to provide non-streaming and streaming speech recognition.

Documentation and Code

This sample creates a live translation service using the Cloud Speech-to-Text, Translation, and Text-to-Speech APIs.

Documentation and Code