JS - Speech - tts example for quickstart
@erhopf @trevorbye Working on DevEx JS tutorial - had to get this function working so contributing back. LMK if you have changes or issues.
Looks good to me. Waiting to see if @trevorbye has any comments then we should be able to merge.
@trevorbye - any concerns with merging. @erhopf given this has been open for a while -- do we still want to add?
@ChrisHMSFT - This looks pretty darn close to what we have in the quickstart with small deviations (Dina has abstracted the text, sub key and region into variables). After checking the quickstart, I took a look at the SDK samples repo, and it looks like the TTS quickstart and the sample that Dina has added to this repo are ahead of source.
I think we should look to update the sample here: https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/javascript/node/text-to-speech/index.js. What do you all think? @trevorbye @diberry @ChrisHMSFT