We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Cloud Text to Speech returns a response.audioContent which logs to console as:
response.audioContent
<Buffer ff f3 44 c4 00 12 6a d5 44 01 41 10 01 c6 37 00 20 8c 6c 80 04 05 fe 84 6a 9c ef f3 9f 39 f2 10 9f e4 24 8d bf fc e7 79 cf 21 09 c9 53 9e 42 49 53 ba ... 4846 more bytes>
Running this:
let playback = play(response.audioContent); playback.play();
Errors out with:
Error: Argument should be an audio buffer
Am I doing something wrong?
The text was updated successfully, but these errors were encountered:
Try converting Buffer to AudioBuffer via https://github.com/audiojs/audio-buffer-from
Sorry, something went wrong.
No branches or pull requests
Google Cloud Text to Speech returns a
response.audioContent
which logs to console as:Running this:
Errors out with:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: