Forum Discussion
Audio on layers
I wouldn't expect this behavior and haven't tested it, but it is interesting as presented.
I notice in your project that you use some "When the timeline reaches time 0m 0.1s" trigger conditions. Out of curiosity, is there a benefit to that over "When the timeline starts"?
Also with timelines, I wonder if the Resume Timeline/Pause Timeline triggers wouldn't work better than Play audio triggers.
If the audio files on layers don't have any triggers attached, they'll follow the timeline automatically. Any button that restarts the slide restarts the audio, and any trigger that pauses the timeline pauses the audio.
Using Play audio triggers conceptually disconnects the audio files from their timelines, and I can see why a trigger to play a file would be more likely to produce the behavior you experienced than a trigger that controls only the active timeline(s).
Hi Andrew. Thanks for your reply.
The "When the timeline reaches time 0m 0.1s" condition is a suggested fix from another thread regarding a similar issue. It makes no difference as far as I can tell. I just haven't changed it back to 'When timeline starts'.
Even if the audio is theoretically disconnected from the layer it is sitting on, the trigger that fires it is not. The problem seems to be that the trigger on the layer is being activated when the layer isn't even open.
- AndrewBlemings-1 day agoCommunity Member
I get you, for sure. Very strange behavior, and not at all what should be happening. My suspicion is it's related to the one variable they all share. Not for this reason, but as a matter of practice I tend to either create individual did-they-visit-this-yet booleans or numeric progress counters to control things, so my initial temptation is to divide the variables and create one per layer: isLayer1playing, isLayer2playing, and so on.
I have to confess I didn't really understand what the desired behavior is in your original post. You describe a problem, but depending on the goal, there might be different solutions. I noticed your player is hidden, so if the larger goal is to recreate a play/pause button for the learner, it might be do-able with a one-trigger button on a single master slide.
Related Content
- 8 months ago
- 1 year ago
- 1 year ago