Corrupted file #947
-
Hello, the output generated from your example at https://developers.deepgram.com/docs/js-sdk-streaming-text-to-speech is not working, it's corrupted, I'm running the exact code with exception of the api key and the line below:
I changed to:
What is going on? How can I fix the output?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@Kunze 👋 Sorry for the issues with the example code. We are currently investigating a problem we are having here, and we'll update you as soon as it's resolved. |
Beta Was this translation helpful? Give feedback.
-
👋 We've resolved the issue with our example code for the Node JS SDK. You can see that change here: deepgram/deepgram-js-sdk@bb5c8b2 Or if you'd like to try out our new Starter App for JS and TTS Live this should help you get up and running: https://github.com/deepgram-starters/node-live-text-to-speech
|
Beta Was this translation helpful? Give feedback.
-
Hello, I tested the fix after updating deepgram package and modying my code but the generated audio is still wrong, but if I add sample_rate:48000 it works fine. |
Beta Was this translation helpful? Give feedback.
👋 We've resolved the issue with our example code for the Node JS SDK. You can see that change here: deepgram/deepgram-js-sdk@bb5c8b2
Or if you'd like to try out our new Starter App for JS and TTS Live this should help you get up and running: https://github.com/deepgram-starters/node-live-text-to-speech