Menu

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

You can use pre-recorded audio file in .wav or .mp3 format. If the audio file included in a Voice API call is not playing, it is very likely due to an encoding incompatibility. Please ensure that the file is encoded as per below audio settings.

MP3
Overall bit rate mode: Constant
Overall bit rate: 16 Kbps or less 8, 32 and 64 are also good
Writing library: LAME3.99.5
Bit rate mode: Constant
Bit rate: 16 Kbps or less 8, 32 and 64 are also good
Channel(s): 1 channel
Sampling rate: 16.0 KHz
Compression mode: Lossy


WAV
Bit rate: 16 Kbps or less 8, 32 and 64 are also good
Channel(s): 1 channel
Sample rate: 16.0 KHz
Sample Encoding: 8/16-bit Linear PCM G.711 A-law/u-law

Was this article helpful?
0 out of 0 found this helpful
Follow
Have more questions? Submit a request