title: What audio file types does Google Cloud Speech API recognize?
body: <p>I'm trying to use Google's Cloud Speech API. There's documentation and code examples here:</p>
  
  <pre><code>https://cloud.google.com/speech/docs/basics
  https://cloud.google.com/speech/docs/rest-tutorial
  </code></pre>
  
  <p>I can get the sample code to run just fine if I point it to an included file, audio.raw, but not with a brief .wav file.</p>
  
  <p>I have no idea what format the audio sample file is:</p>
  
  <pre><code>$ file audio.raw 
  audio.raw: data
  </code></pre>
  
  <p>With my .wav file that has maybe 10 seconds of audio I get an empty result.</p>
  
  <p>I'm aware of this answer.</p>
  
  <p><a href="https://stackoverflow.com/questions/39712623/google-cloud-speech-api-returning-empty-result">google cloud speech api returning empty result</a></p>
  
  <p>My question was asked before but there was not an answer to the question.</p>
  
  <p><a href="https://stackoverflow.com/questions/38485515/what-types-of-audio-are-supported-by-cloud-speech-api">What types of audio are supported by Cloud Speech API?</a></p>
  
  <p>I can't imagine that I would have to get the properties of the audio file just right to get this to work. I assume a common use case, mine, is that someone records a meeting, has no idea of the parameters of the recording and just wants a text file.</p>