Windows 10: Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK

Discus and support Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK in Windows 10 BSOD Crashes and Debugging to solve the problem; I'm working with the Microsoft Neural Text-to-Speech TTS service using the Speech SDK. I've successfully implemented audio playback, but I'm facing a... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by MD SHAKIL KHAN, Oct 27, 2024.

  1. Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK


    I'm working with the Microsoft Neural Text-to-Speech TTS service using the Speech SDK. I've successfully implemented audio playback, but I'm facing a challenge with controlling the playback mid-stream.My question is: How can I implement a feature to stop the audio playback at any given moment while using the Speech SDK with the Neural TTS service?Specifically, I'm looking for:The appropriate method or function to call for stopping audio playbackAny considerations or best practices for handling this interruptionExamples or code snippets demonstrating how to implement this feature in Javascri

    :)
     
    MD SHAKIL KHAN, Oct 27, 2024
    #1
  2. Brink Win User

    Microsoft Translator launching Neural Network based translations


    Source: Microsoft Translator launching Neural Network based translations for all its speech languages Translator
     
    Brink, Oct 27, 2024
    #2
  3. 3d1l Win User
    Can't get voice for TTS listed in Control Panel - Speech Properties

    Hello, I'm using Windows 10 22H2 19045.2251. I already went to Windows Setting and added all the languages that I want and change the voice for TTS that I want to use:
    Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK 379026d1668308800t-cant-get-voice-tts-listed-control-panel-speech-properties-clipboard01.png
    The problem is that I have a particular program that uses the Windows 10 system option in order to Read Aloud text within the application. But the voice that it uses is not the one display in the above image, instead the application uses the voice that configured from Control Panel - Speech Recognition - Text to Speech - Voice Selection:
    Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK 379027d1668309081t-cant-get-voice-tts-listed-control-panel-speech-properties-clipboard02.png
    Problem is that the voices listed there are limited and the voices that were added at Windows Setting are not listed. Also you can see in the image that the "Settings" button is dimmed so apart from selecting a voice from the limited list I can't do anything else in Control Panel. The voices that are listed in Control Panel are only: Microsoft David Desktop - English Microsoft Helena - Spanish Microsoft Sabrina - Spanish Microsoft Zira Desktop - English Do you know if it is possible to get the Languages-Voices that were added from Windows Settings listed in the Voice Selection option in Control Panel? The voices I will like to add at least are: Microsoft Pablo Microsoft Laura Microsoft Raul Thanks.
     
  4. Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK

    Glitches about Microsoft Speech SDK 5.1 and Speech Platform SDK 11

    I am using Windows 10 Pro N for Workstations 64 bit (v1909), and I have installed Microsoft Speech SDK 5.1, Microsoft Speech Platform SDK 11 (x64), I have encountered a problem while using text-to-speech software to synthesize speech from text, I think they
    don't work properly, although I am not sure if there is a bug in the programs themselves or they are not compatible with Windows 10.

    The thing is, while using Balabolka, I have found three tabs named "SAPI 4", "SAPI 5" and "Microsoft Speech Platform" respectively, although never used Balabolka before, I quickly recognize them as tts engines, and I assume SAPI stands for Speech API, below
    each tab is a selection menu, I register as voices. I quickly found problems, SAPI 4 and Microsoft Speech Platform have no voices, the selection menus are blank, SAPI 5 has voices though, it has eight voices, but three of them are not working, while others
    work fine.

    When I type texts for the program to read, choose either Microsoft Mary [English (United States)] or Microsoft Mike [English (United States)], and click the play button, an error window pops up, showing message Cannot synthesize the speech: Class not registered,
    then nothing. If I chose SampleTTSVoice [English (United States)] though, it produces repeative noises, at first unintelligible, after replaying a few times, I recognize it as a series of blahs with number depending on how many words I typed, does anyone else
    have encountered the same problem as mine? Does anyone have a solution to this one? Please?
     
    Aireyanna Havaska, Oct 27, 2024
    #4
Thema:

Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK

Loading...
  1. Stopping Audio Playback Mid-Stream with Microsoft Neural TTS Service and Speech SDK - Similar Threads - Stopping Audio Playback

  2. Screensaver stops audio and streaming

    in Windows 10 Gaming
    Screensaver stops audio and streaming: Win 11 up to date, but not with optional KB5028254.Earlier versions of win 11 would be fine running VLC audio and youtube/streaming audio when screensaver came on. Now, since more recent updates unsure of which ones they both stop unless the screensaver is off. I have shut...
  3. Screensaver stops audio and streaming

    in Windows 10 Software and Apps
    Screensaver stops audio and streaming: Win 11 up to date, but not with optional KB5028254.Earlier versions of win 11 would be fine running VLC audio and youtube/streaming audio when screensaver came on. Now, since more recent updates unsure of which ones they both stop unless the screensaver is off. I have shut...
  4. Poor audio quality on streaming services

    in Windows 10 Gaming
    Poor audio quality on streaming services: Audio is extremely low when watching streaming services. Audio is fine through other apps or from websites eg YouTube.Have tried everything:Checked audio settings - everything on 100%Run troubleshooter - nill issues foundUninstalled/ Updated driversUpdated BIOSTurned off...
  5. Poor audio quality on streaming services

    in Windows 10 Software and Apps
    Poor audio quality on streaming services: Audio is extremely low when watching streaming services. Audio is fine through other apps or from websites eg YouTube.Have tried everything:Checked audio settings - everything on 100%Run troubleshooter - nill issues foundUninstalled/ Updated driversUpdated BIOSTurned off...
  6. Headphones Cause Video and Audio Playback to Stop

    in Windows 10 Drivers and Hardware
    Headphones Cause Video and Audio Playback to Stop: Hello,After watching video without headphones, the addition of headphones causes video and audio playback to stop. Thenceforth, the only way to play the video again is to restart the system. What could be the problem?...
  7. Glitches about Microsoft Speech SDK 5.1 and Speech Platform SDK 11

    in Windows 10 BSOD Crashes and Debugging
    Glitches about Microsoft Speech SDK 5.1 and Speech Platform SDK 11: I am using Windows 10 Pro N for Workstations 64 bit v1909, and I have installed Microsoft Speech SDK 5.1, Microsoft Speech Platform SDK 11 x64, I have encountered a problem while using text-to-speech software to synthesize speech from text, I think they don't work properly,...
  8. Microsoft Streaming Service Proxy

    in Windows 10 Installation and Upgrade
    Microsoft Streaming Service Proxy: I got a message in the notification area of my laptop to restart my laptop to install Microsoft Streaming Service Proxy . What is this for and why did I suddenly get it? It wasn't listed with other updates on the update page. Hope I didn't ruin my computer by installing this....
  9. audio service stopped

    in Windows 10 Drivers and Hardware
    audio service stopped: cannot start my stopped audio service. error message pops up that won't allow to continue. any remedy? https://answers.microsoft.com/en-us/windows/forum/all/audio-service-stopped/09b41657-f33a-4f7d-aa88-322dab5fc41a
  10. Issues streaming and playback audio and video

    in Windows 10 Network and Sharing
    Issues streaming and playback audio and video: Since about a week I'm having issues with streaming and playback. When I start my laptop, it works fine, but after a (short) while, I cannot playback anything. No YouTube or Souncloud (in the browser), no Spotify (with application), not even local files with Windows Media...