Global AI and Data Science

 View Only
  • 1.  Watson TTS Point duration

    Posted Wed April 12, 2023 09:34 PM

    Hello

    First, sorry if i'm not where i must be.

    I understand nothink about IBM community.

    I try to know if it is possible to modify global pause duration after a point "." .

    Use a break after each point is a pain.

    And it add all caracters of the breaks command to cost.

    Have a nice day



    ------------------------------
    yann anceze
    ------------------------------



  • 2.  RE: Watson TTS Point duration

    Posted Thu April 27, 2023 09:19 PM
    Edited by Scott Dunn Thu April 27, 2023 09:19 PM

    Hello,

    It seems like you are looking for a way to modify the pause duration after a period (".") in a text-to-speech (TTS) system. To provide a more specific answer, I would need to know which TTS system or platform you are using (e.g., IBM Watson, Google Text-to-Speech, or Amazon Polly). However, I can give you a general idea of how you can achieve this.

    Many TTS systems support SSML (Speech Synthesis Markup Language), which allows you to customize the output of the speech. You can use SSML to insert a pause after each period by adding the `<break>` element with the desired duration. For example, if you want to add a 1-second pause after each period, you would use the following SSML:

    ```
    <speak>
      This is the first sentence.<break time="1s"/>This is the second sentence.<break time="1s"/>And this is the third sentence.
    </speak>
    ```

    Keep in mind that SSML syntax and supported features may vary depending on the TTS platform you are using. Please consult the documentation of the TTS system you are using for specific information on how to use SSML and other customization options.

    I hope this helps! If you can provide more information about the TTS system you are using, I may be able to provide more detailed guidance. Have a great day!



    ------------------------------
    Scott Dunn
    ------------------------------