diff --git a/examples/node-speak-live/index.js b/examples/node-speak-live/index.js index 685a6d6..60645e7 100644 --- a/examples/node-speak-live/index.js +++ b/examples/node-speak-live/index.js @@ -26,7 +26,11 @@ const live = async () => { const deepgram = createClient(process.env.DEEPGRAM_API_KEY); - const dgConnection = deepgram.speak.live({ model: "aura-asteria-en", encoding: "linear16" }); + const dgConnection = deepgram.speak.live({ + model: "aura-asteria-en", + encoding: "linear16", + sample_rate: 48000, + }); let audioBuffer = Buffer.from(wavHeader);