- Take an existing media file and ensure it's encoded in a supported format; check here
- If you have an unsupported encoding you can use vlc to convert it (check the file menu) to be a WAV mono which is supported.
-
Create a Cloud Storage bucket and put your audio file in there
-
Go to Speech API longrunningrecognize docs and put a snippet like this where the gs:// stuff is your file in cloud storage:
{