Forum Discussion

thomas_h's avatar
thomas_h
Community Member
2 months ago
Solved

In Storyline, can the AI voice dynamically speak the learner's name?

Hello Everyone. Happy Mid-March!

I ask the learner to enter their first name in my course. I use their name three more times throughout the course. I'm using Storyline's built-in AI voices.

Is there a way to have Storyline's AI voice speak the learner’s name once they've entered it on slide one? For example, I capture the name on slide one and use it on slide two.

Thanks in advance for your assistance.

Blessings,

Thomas

  • As of now, Storyline's text-to-speech engine can't generate audio files after the eLearning is published. Your use case would be an interesting application for that, however.

7 Replies

  • As other members have said it's possible - but not easy. I use Microsoft Azure AI Speech Services (really not expensive - you get a good allowance of free text-to-Speech each month). However, to avoid exposing your Authorisation Code to use this service, you need to create a server-side app (I use node.js). This app fields API calls from Javascript code executed in Storyline and in turn calls the Azure AI generative voice service to return audio which it then reads in the voice you have chosen. Not for the feint-hearted, I'm afraid.

    I also have it working with Speech-to-text. This time I use a web object which controls the user's microphone and uses JavaScript to send the recorded audio to my server-side app which then returns the transcript and passes it to my Storyline in a text variable.

  • As of now, Storyline's text-to-speech engine can't generate audio files after the eLearning is published. Your use case would be an interesting application for that, however.

      • KellyAuner's avatar
        KellyAuner
        Staff

        Hi thomas_h,

        This is a super interesting idea!

        I've shared your thoughts with our developers so we'll let you know if we have news to share.

  • Nedim's avatar
    Nedim
    Community Member

    It is not possible for Storyline's AI voice to speak the learner's name or any value stored in a variable. This can only be achieved using the SpeechSynthesis interface of the Web Speech API. This would require the use of JavaScript.

    • thomas_h's avatar
      thomas_h
      Community Member

      Thanks for the feedback Nedim. I appreciate you taking the time to respond.