We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb5c8b2 commit 753be7eCopy full SHA for 753be7e
1 file changed
examples/node-speak-live/index.js
@@ -26,7 +26,11 @@ const live = async () => {
26
27
const deepgram = createClient(process.env.DEEPGRAM_API_KEY);
28
29
- const dgConnection = deepgram.speak.live({ model: "aura-asteria-en", encoding: "linear16" });
+ const dgConnection = deepgram.speak.live({
30
+ model: "aura-asteria-en",
31
+ encoding: "linear16",
32
+ sample_rate: 48000,
33
+ });
34
35
let audioBuffer = Buffer.from(wavHeader);
36
0 commit comments