Deepgram’s Sample Rate feature allows you to specify the sample rate of your submitted audio.
The Sample Rate feature is required when the Encoding feature is being used to submit streaming raw audio. It is not read at any other time.
To enable Sample Rate, when you call Deepgram’s API, add a
sample_rate parameter in the query string and set it to the sample rate of your submitted audio.
When submitting audio encoded with the Adaptive Multi-rate (AMR) codec, you must submit specific Sample Rate values:
amr-nb: AMR narrowband codec. When using this option, you must specify
amr-wb: AMR wideband codec. When using this option, you must also specify
For an example of audio streaming, see Getting Started with Streaming Audio.
Did you find what you were looking for?