Skip to content
New issue

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

Add support to change the output file format from synthesizeStream. #23

Open
rduke-cfpwood opened this issue Mar 7, 2018 · 1 comment

Comments

@rduke-cfpwood
Copy link

Being able to select the audio output format would be nice. or at least default it to .wav (riff-16khz-16bit-mono-pcm)

@palmerabollo
Copy link
Owner

It's a good idea @rduke-cfpwood .

The audio output format is currently hardcoded. If you feel like contributing to the project, the output format could be added as a parameter to the synthesizeStream function, keeping the current default value (for backwards compatibility) and then used as the 'X-Microsoft-OutputFormat' request header instead of hardcoding it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants