Genesys Engage on-premises

 View Only

Discussion Thread View
  • 1.  GAAP/GIA/Speechstorm controlling TTS speed

    Posted 08-12-2018 23:50
    Hi Everyone,

    I've created a call flow in GAAP that is fetching a long number and playing it back to a customer via TTS. The issue is that it's being read back extremely quickly and I need to slow it down so that callers can keep up with it.

    Having a look through the Nuance Vocalizer developer guide, there appears to be a setting:
    <prosody rate="50%">Hello this is a test</prosody>

    But if I add this to a message block in GAAP it just reads it out, tags and all.

    Has anyone found a better way to do this?

    Thanks,
    Jarryd.

    ------------------------------
    Jarryd Tuyau
    ------------------------------


  • 2.  RE: GAAP/GIA/Speechstorm controlling TTS speed

    Posted 08-13-2018 09:17
    You create an item of type Text in your prompt block with 
    <prosody ....>
    Another item with your variable
    and finally another item with </prosody> as Text again

    So at the end you have 3 Prompt items

    ------------------------------
    Jorge Cornejo
    VS Telecom LTDA.
    ------------------------------



  • 3.  RE: GAAP/GIA/Speechstorm controlling TTS speed

    Posted 11-15-2018 20:51
    Hi,

    thanks for that answer, however for me that did not work. I created one TTS item with : 
    <prosody rate="slow">
    another with my variable:
    [var:details]
    and the last TTS item with:
    </prosody>

    And I continue listening to the prosody as TTS, not a XML tag to change the TTS. How is that working for you mates?

    cheers,

    ------------------------------
    Rod Dinis
    Spark NZ Trading
    ------------------------------



  • 4.  RE: GAAP/GIA/Speechstorm controlling TTS speed

    Posted 02-11-2019 20:34
    Hi Rod,

    Haven't had a chance to get back on here. Not working for me either.

    In my case I need to read out a long number, I'm thinking of scripting it to break it into lots of 3 digit numbers with pauses in between. It would be better if there was an actual way of controlling this though..

    Anyone else know how?

    ------------------------------
    Jarryd Tuyau
    Link Market Services Limited
    ------------------------------



  • 5.  RE: GAAP/GIA/Speechstorm controlling TTS speed

    Posted 02-15-2021 00:38

    Hi,

    I solved this issue using this script in a script block before the Message block;

    yourVariable = context.getVariable("yourVariable")
    newVariable = '[pause:x]' + yourVariable.replaceAll( /\s/, '').collect{ "[$it]" }.join( ' [pause:x] ' )
    context.setVariable("yourVariable",newVariable)
    return "success";

    This script gets your variable, removes any spaces and joins it with the TTS operator "[pause:x]" (x being pause length in milliseconds) between each digit.

    You'll have to play around with the value of x until you're happy with the length of the pause. The default "[pause]" is 750ms long which is quite long and was not good for our long number, so we went with [pause:10]

    e.g. "12345" becomes "[pause:x] 1 [pause:x] 2 [pause:x] 3 [pause:x] 4 [pause:x] 5"



    ------------------------------
    Oscar Alvarez
    Link Market Services Limited
    ------------------------------



  • 6.  RE: GAAP/GIA/Speechstorm controlling TTS speed

    Posted 02-16-2021 03:46
    Well done Oscar! Glad it is finally resolved :) Nice work

    ------------------------------
    Jarryd Tuyau
    NTT Australia Pty Ltd.
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources