Forum Discussion
Working with characters & avatars - adding audio
Hi all, I have built a Storyline360 course with 5 different characters (male and female) that can be selected by the learner to be used as their avatar throughout the course. I want to add audio, so it sounds like the avatar is speaking with the host character. Is it possible to change the voice selection depending upon which character is chosen?
- JudyNolletSuper Hero
You'll need to have separate audio files for each character (or, at least, one female-speaker file and one male-speaker file). Then use triggers with conditions to play the appropriate file based on which character was chosen.
Hi Katrina!
In addition to what Judy shared, I wanted to link this article that outlines how to add audio to a Storyline course. If you need any assistance with your project, please feel free to upload it here or privately in a support case! We'll delete it from our systems once troubleshooting is complete.
I hope this helps!
- KatrinaBegleyCommunity Member
Thanks Judy and Kelly! Extremely helpful advice.
- AnuBrahim-dbb26Community Member
I have the same question and need help please. I have 3 avatars on an initial slide for learners to choose from. I added this trigger on the content slide, and It isn't working. See attached. I used text-to-speech and I have interactivities timed for the 1st audio (default avatar) pace. I'd appreciate some support with this. Thank you so much in advance.
- JudyNolletSuper Hero
"When ChosenAvatar changes" happens on the initial slide. In other words, the change has already occurred by the time the user reaches the content slide.
The trigger needs a "when" that happens on that slide.
- AnuBrahim-dbb26Community Member
Hi Judy,
I appreciate your prompt response. What slide do I set the "when" trigger?
* Initial slide where avatars are laid out or the content slide where I want to audio?
* Is there a way to match the timed interactivities on the timeline with the 2 different audio pace on the content slide?
*
Thank you!This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
- JudyNolletSuper Hero
All triggers have a "When." For each trigger, the "When" needs to happen on the slide where that trigger is. So, for example, a trigger might run when the user clicks something. Or when the timeline starts or ends. Storyline provides lots of options:
A trigger that plays or pauses audio needs to be on the slide where the audio is.
Because you have two possible audios, you have to control when each one does or doesn't play.
- Audio automatically starts playing when at its starting point on the timeline.
- With two (or more) conflicting audios on the same timeline, you need triggers to pause all of them when the timeline starts. Those triggers would be followed by triggers to play a given audio based on a condition (e.g., the value of a variable).
- Another option would be to put the audio files on separate layers. Then, when the base's timeline starts, show the appropriate layer based on a condition.
There isn't a way to reset the timing of object appearances or animations to match which audio is playing. So you have two options:
- Ensure the audios are close enough that the same timeline events can be used, or
- Put everything—audio & objects—on separate layers so each timeline can be adjusted to match the audio. (That, of course, means you have separate layers to edit whenever changes are needed.)
- TammiKennedy-0fCommunity Member
Adding the triggers to pause all audio files when the timeline starts BEFORE adding the triggers to play avatar-specific audio files was the step I was missing. Thank you so much for this!