How do I prevent the audio from overlapping-playing at the same time? Each number in the attached sample has audio. When I started clicking each number, they all started playing at once. Thanks for any/all help.
Hi Karen and welcome to E-Learning Heroes! 🙂 I'm glad Phil shared a solution here with you. Using his helpful tip, I went ahead and edited your .story file with those changes (see attached). Here are a few of the changes I made:
I added each audio to a different layer
I edited the triggers on the base layer to show layer when the learner clicks each number
To make the intro audio stop playing when the learner clicks a number, I added triggers on the base layer to pause the audio once a number is clicked
I made the seekbar visible on the base layer and all slide layers so the learner knows how long the audio is and when it's complete
Good morning, I am having an extremely similar issue, so I tried this fix, but I still have the issue. My audio was already on separate layers. The problem happens if the user clicks another trigger (on the base layer) before the audio on the current layer finishes. I actually don't know why your fix works on that file, because the trigger is to pause the intro audio, but somehow it is pausing the audio on the other layers.
Now I've moved the triggers onto each layer and I'm able to stop the current layer audio when they click on any other trigger, but I've lost the "build", keeping each criteria visible after they've clicked to reveal it. (I've also lost any indication of whether they've visited an oval because technically, I now have 20 oval triggers instead of just 5.)
Now I've created 5 true/false variables with an initial value of false that gets adjusted to true when that oval is clicked on from the base layer, but that doesn't actually seem helpful, since at the moment I have duplicate triggers on each layer. There has to be a simpler way.
The solution that I got to work: All on the base layer, when each object is clicked it: 1) changes the state to visited (so I get the visible text when it is clicked, not at the end of that timeline) 2) the audio from file plays , 3) 5 more triggers to pause each of the other 5 audio files that could still be playing at the point when a new oval is clicked.
Hi, I've attached my solution. Done for only first two checklist items. A bit more variables juggling but quite flexible - you can just switch between the checklist items. You can revisit the checklist items. I used a custom state 'mute' instead of 'selected' for the first two items.
9 Replies
put the audio on layers and show a layer when the user clicks
Hi Karen and welcome to E-Learning Heroes! 🙂 I'm glad Phil shared a solution here with you. Using his helpful tip, I went ahead and edited your .story file with those changes (see attached). Here are a few of the changes I made:
I hope that helps!
Thanks for the feedback!
Good morning, I am having an extremely similar issue, so I tried this fix, but I still have the issue. My audio was already on separate layers. The problem happens if the user clicks another trigger (on the base layer) before the audio on the current layer finishes. I actually don't know why your fix works on that file, because the trigger is to pause the intro audio, but somehow it is pausing the audio on the other layers.
Now I've moved the triggers onto each layer and I'm able to stop the current layer audio when they click on any other trigger, but I've lost the "build", keeping each criteria visible after they've clicked to reveal it. (I've also lost any indication of whether they've visited an oval because technically, I now have 20 oval triggers instead of just 5.)
Now I've created 5 true/false variables with an initial value of false that gets adjusted to true when that oval is clicked on from the base layer, but that doesn't actually seem helpful, since at the moment I have duplicate triggers on each layer. There has to be a simpler way.
The solution that I got to work: All on the base layer, when each object is clicked it: 1) changes the state to visited (so I get the visible text when it is clicked, not at the end of that timeline) 2) the audio from file plays , 3) 5 more triggers to pause each of the other 5 audio files that could still be playing at the point when a new oval is clicked.
Hi Alison! It looks like you got it to work! Yay! Thanks for sharing your solution. If you have any other questions, feel free to reach out here.
Hi, I've attached my solution. Done for only first two checklist items. A bit more variables juggling but quite flexible - you can just switch between the checklist items. You can revisit the checklist items. I used a custom state 'mute' instead of 'selected' for the first two items.