Forum Discussion

MichelleDeere's avatar
MichelleDeere
Community Member
5 years ago

Don't want Text-to-speech to play automatically

Hi,

I would like my storyline course to run without automatically playing the text-to speech audio I have added to each slide. If the learner requires the audio they can then turn it on rather than it automatically turning on and they then have to  turn it off. Is this possible?

7 Replies

    • PeterLi-579bad0's avatar
      PeterLi-579bad0
      Community Member

      Do we have to click a button to start playing audio? Do we have another alternative way to turn on the audio? For example, I see there is a play/pause function we can select under Player. Can we let users turn on/off audio using that play/pause function, instead of creating a button to control the audio. The big disadvantage that uses a button is that the button will need to take extra room on the slide. 

  • Hello Peter, and welcome to E-Learning Heroes. 😊

    Thanks for reaching out and sharing what you would like to do. You can certainly allow users to control the playback using the play button in the player.

    If you don't want the user to do this for every slide, you can have a button on the first slide to state they would like this feature turned on.

    I've outlined each example in the attached file:

    1. Scene 1: Pause the timeline on the slide when the timeline starts.
    2. Scene 2: Adjust a variable when the user clicks the button that allows audio to play throughout the course.
    • PeterLi-579bad0's avatar
      PeterLi-579bad0
      Community Member

      Hi Leslie,

      Thank you for the response. I tried to let some slides have audio and some slides do not need to have audio based on the content on each slide. However, I realized once I check several functions under Player Controls, it will display the seekbar, play/pause button on every slide. Is it possible ways that we can let certain slides not show these Player Controls functions if we don't need audio on these slides?

    • WhitneyHall-705's avatar
      WhitneyHall-705
      Community Member

      Hello Leslie,

      I looked that the example. One question I have is for Scene 2. Is there a way to get the button to toggle back and forth between on and off?

      • EricSantos's avatar
        EricSantos
        Staff

        Hello WhitneyHall-705,

        I'm happy to help with this! I understand you'd like the button in Scene 2 to toggle between on and off.

        I recommend the following changes to Leslie's project file:

        1. Modify the text to reflect the toggle action.
        2. Change the trigger action to "Toggle Audio."
        3. Add a condition in the "Play audio" trigger to test whether the "Audio" variable has a value of "True" and an "Else" statement to stop the audio if it is "False."

        Modifications to Leslie's file to toggle the audio when the button is clicked.

        You can find these modifications in the attached project file. 

        Please don't hesitate to reach out if you have additional questions.