Forum Discussion
Text to Speech All Going At Same Time
I've created a slide that has 3 buttons. Each button triggers an animation that "flips" the card to reveal text and reads text to speech. This works individually without issue, however after going to the next slide, if I go back to the previous slide, all three text to speech play at the same time. I have the player on "restricted" so when I go back, the next button is available as the user has already visited the slide. The only way I've been able to fix this is to set as the slide in the player settings to "reset to initial state" when revisiting. However this makes the user have to replay all animations to reactivate the next button. I've played with a couple variables, but haven't been able to dial them in correctly. Any ideas how to accomplish this?
- RonPricePartner
Is this a slide you can share?
- CraigJohnson-9dCommunity Member
Hi Ron. Thank you for the reply. Attached is an example of the slide with blank slides on either side to give the example of what's happening. Any input on how to fix is greatly appreciated. I'm currently stuck other than changing the slide setting to reset to initial state upon revisiting.
- RonPricePartner
It looks like you were experimenting with using a variable to control the audio. That can work, I made a few edits - Used a Complete State that changes when the layers are active and then a trigger to adjust the Variable you created when all the states are complete. File is attached.
- CraigJohnson-9dCommunity Member
Thank you, Ron! I like the idea of adjusting to a new state based on the layer's timeline. This works perfectly. I appreciate your help on this!