Skip to main content
Known Participant
November 15, 2015
Question

Conditional Actions, Branching and Text-to-Speech Audio

  • November 15, 2015
  • 1 reply
  • 859 views

I hope I can explain this.... First, I am using Captivate 8

I have a slide that is used as a starting point as a branched learning scenario.

What happens is there are 5 options to choose from on this slide.

A opens a series of slides

B opens a different series

C,D, E etc...

I have also used Cap's text-to-speech feature to add audio to each slide, including the option slide.

Here's my difficulty,

1. I don't want the audio to play each time the learner is taken back to the slide, just the initial time they visit

2. At the end of all options being chosen a different audio needs to play that corresponds to moving past this section.

Thanks, any suggestions would be appreciated!

Tricia

This topic has been closed for replies.

1 reply

Lilybiri
Legend
November 15, 2015

There are several possible scenarios. It depends on more information that you provided:

  • Do you need CC for all audio? Because that would mean you can only use slide audio. In that case I would use micronavigation to navigate back to a later frame on the menu slide, after the audio clip. Probably will write a new blog post about that scenario ASAP (if I had 36hrs:day ). It will be in my cookbook about advanced/shared actions.
  • If you don't need CC, you can use either an audio object, that you hide by an On Enter Conditional action on second visit, or by the button action to return to the menu slide.
  • Or you can use the command 'Play Audio' that is triggered only on first visit by a On Enter Conditional action for the menu slide.

I have been writing about audio objects quite a while ago:

Audio Objects: Control them! - Captivate blog

Known Participant
November 15, 2015

Hi Lily,

I don't need CC. I do return to several slides, all of which have audio that auto plays but I can't have that, so it's important I figure out how to turn it off.

The audio is also timed to appear on most of the slides, but when I return I want it to not play the audio which is on the slide and all the text to appear.

I tried adding the audio to a text caption and then hiding it, but that didn't stop it. The On Enter on the slide already has an advanced action that shows check marks when the user completes one part of the scenario. When I tried hiding the text caption the audio was on after creating a variable and 2 advanced actions, one conditional and the other standard it didn't work.

I think I should try the micronavigation, I've never used it so I'll have to find out how it works.

Thanks a bunch!

Tricia

Known Participant
November 16, 2015

It should be possible with an audio object or with the command 'Play Audio' in that case. The micronavigation way is more tricky: Micro-Navigation in Adobe Captivate - Captivate blog

I use it when CC is needed. Have the button appear as late as possible, put the pausing point of the button that triggers the navigation to another slide after the end of the audio clip. Create a user variable that will store the frame from where the navigation starts. And jump back to that frame.

With the Play Command you should create a user variable that tracks the number of visits, start with default value of 0. That number can be incremented when you jump out of the menu slide. Then you'll need a conditional advanced or shared action to be triggered On Enter for the menu slide:

IF v_visit is greater or equal to 1

     Continue

ELSE

     Play Audio ....

Same can be done with an Audio object that you only show in the ELSE part, and Hide in the first part. I offered you a link to an article about audio objects.


Hi,

I still can't get this to work.

I can't use the On Enter because there is already an Advanced Action assigned to it.

If I add the xpression v_startframe + 4589 (the frame count I got from adding the infocurrentframe variable) to the action I've already created, then the rest of the actions don't work.

I have assigned the slide audio to an object instead (text caption) and given it a name, but hiding the object doesn't stop the audio unless I'm doing that wrong too...

It would seem the easiest thing to do would be to tell Captivate to go to the last frame on the slide that I need to go back to, but I can't figure out how to do that and get it to

work.