Menu

What kind of pre-recorded audio files can I use with Voice API?

You can use a pre-recorded audio file in wav, mp3, ogg, oga or r16 format. If the audio file included in a Voice API call is not playing, it is very likely due to an encoding incompatibility.

 

While all formats of mp3, ogg, oga and r16 should be supported, only the following is supported for wav:

  • Unsigned 8 bit PCM
  • Signed 16, 24 or 32 bit PCM
  • 32 bit float or 64 bit double
  • u-law or A-law encoding
  • IMA or MS ADPCM
  • GSM 6.10
  • G721 ADPCM 32kbps
Was this article helpful?
0 out of 0 found this helpful
Follow
Have more questions? Submit a request