You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with azure text to speech service for enabling voice based outputs. Using Speech SDK Javascript.
For outputing the sound, im creating fromSpeakerOutput instance with custom iPlayer (as in docs).
const browserSound = new speechsdk.SpeakerAudioDestination();
const audioConfig = speechsdk.AudioConfig.fromSpeakerOutput(browserSound);
var synthesizer = new speechsdk.SpeechSynthesizer(speechConfig, audioConfig);
Issue is, i need some iPlayer customizations like volume control, stop current sound. I could see only pause and resume. Is there any way I could achieve this ?
Thanks.
The text was updated successfully, but these errors were encountered:
@vinothkumar1097 Thanks for using Speech SDK, and writing this issue up. Currently, the SpeakerAudioDestination does not expose the volume setting for the underlying HTMLAudioElement, but that can be added in the next version relatively easily.
What exactly do you mean by "stop current sound"? Can you pause() and just not resume?
@vinothkumar1097 I've checked in code that allows volume control and mute/unmute for SpeakerAudioDestination. These new APIs will be in the next release, due at the end of the month. Thanks again for using Speech SDK. :-)
Hi Team,
I'm working with azure text to speech service for enabling voice based outputs. Using Speech SDK Javascript.
For outputing the sound, im creating fromSpeakerOutput instance with custom iPlayer (as in docs).
Issue is, i need some iPlayer customizations like volume control, stop current sound. I could see only pause and resume. Is there any way I could achieve this ?
Thanks.
The text was updated successfully, but these errors were encountered: