Storyline Audio

Aug 14, 2012

Is there a way to make the audio stop once a user has moved away from the slide? Example. I would like to have background sound on a slide but it also has a link to an external site. Is there a way to make the music stop once a link is clicked? Like a trigger?

36 Replies
Indrani Sen

Hi Leslie,  I guess I am doing something in a very primitive way.  I have a title slide with a V/O which has 3 modules.  So the title slide branches off to 3 modules. It works great for the first module.  However when the user comes back to the title slide to access another module, the V/O plays again..which I do not want to.  I know there is a solution, but cannot figure it out.  I have couple of scenes like this one.  Any help would be fantastic. thanks so much

Wendy Farmer

Hi Indrani

  1. Create a T/F variable default to false (e.g. audioPlayed)
  2. Put the audio on it's own layer 
  3. Set a trigger on the layer to adjust variable (audioPlayed) to true when media completes (the audio file) 
  4. Set a trigger on base layer to show layer (audio) when timeline starts on base layer on condition that variable (audioPlayed) is not equal to true.
Walt Hamilton

Try these changes to your project:

Add audio to slide Select-Module (it can have any name, but here I am calling it "Audio 1".

Create variable audioComplete  T/F variable with initial value False.

Add trigger on Audio 1: Adjust variable audioComplete to value True when media "Audio1" completes.

Add trigger on slide Select-Module: Stop media "Audio 1" when timeline on slide starts if variable audioComplete = True

Set slide Select-Module  reset to initial state when revisiting.

Indrani Sen

Hi Walt,

This works very nicely.

However two questions for you. 

1)  I am not sure how to "Set slide Select-Module  reset to initial state when revisiting."?

2)  As of now "Add trigger on Audio 1: Adjust variable audioComplete to value True when media "Audio1" completes." works very well.

However is there any way to suppress the audio even if the audio plays partially the first time?

Thanks again!

Indrani

 

 

 

This discussion is closed. You can start a new discussion or contact Articulate Support.