Skip to main content
Participating Frequently
January 22, 2016
Question

How do I stop audio from playing each time a student goes back to the menu?

  • January 22, 2016
  • 3 replies
  • 352 views

I have a page in Captivate that has several buttons that branch off to different pages, but each page has a "return to main menu" type button in it.  The problem is, I don't want that audio to play EACH time the learner goes back to that menu.  Does anyone happen to know what I can do to fix that?

    This topic has been closed for replies.

    3 replies

    mikewilday
    Inspiring
    January 22, 2016

    Lilybiri is correct. If you have to used closed captioning you will want to use the mute command to mute the audio on that slide.

    If you use the mute audio command you would want to set it up so that on slide entry if your variable is 0 do nothing and continue, and if its 1 then mute audio...

    But you will also need set the exit action of the menu slide to unmute the audio on exit.

    You could do this with the action: Toggle - and the variable would be cpCmndMute

    Lilybiri
    Legend
    January 22, 2016

    Bad idea to use On Exit event, since that event will probably never occur on a menu slide at all. Last frame will not be reached, since the buttons will jump to slides. Avoid On Exit actions when possible.

    Sent from my iPad

    mikewilday
    Inspiring
    January 22, 2016

    Good Point. Never thought of that. You'd want to put the Toggle Unmute on an action on slide entrance for all of the slides that the menu jumps to.

    Lilybiri
    Legend
    January 22, 2016

    There are several work flows possible, but you first have to specify:

    1. Are you talking about a VO with instructions?
    2. If yes, do you need CC? Because that means that you have to use slide audio, which makes the solution proposed by Mike impossible
    3. If you don't need CC, do you have background audio that you want to continue to play? If not, you can use the Mute command when coming back to the slide.

    There are three ways to have audio playing:

    1. as slide audio (necessary for CC)
    2. with the command Play Audio; for that possibility you got a work flow
    3. attached to an object; when that object is 'invisible' to the user because it has no fill or stroke, I call it an audio object. Hiding the audio object means that audio will not play.

    For slide audio, besides muting, the other solution is to jump (with micro-navigation) to a frame at the end of the audio clip. This depends on the setup of the slide, but since you talk about a menu, this would probably be the best solution.

    mikewilday
    Inspiring
    January 22, 2016

    One way we have made this work is using advanced actions.

    1. On the slide that branches, do not make the audio part of the slide audio.
    2. Create a new variable called "slide X audio" and give it a value of 0. (put your own slide number there or something)
    3. Create a new conditional advanced action Called "Slide X Audio Check" with the following parameters.
      • First Statement
        • If variable (slide X audio) = 0
        • play audio file
        • Assign variable (slide X audio) = 1
      • Second Statement
        • If variable (slide x audio) = 1
        • then continue
    4. Then assign this Action to the Slide Action for Entering the slide.

    In essence, the first time this audio is played, the variable will be assigned a 1... but after its played the audio won't play again because the variable is set to 1 after its first play.

    You will need to reset the variable to 0 if you want people to review the presentation and hear audio on that slide again, you might consider an action attached to the first slide that Assigns the slide X audio variable a 0.