Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

For an overview of Resources, click here.

Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.

Table of Contents
minLevel1
maxLevel7

Overview

This resource Resource allows you to add different effects to sounds in the environmentEnvironment. Importantly it doesn’t affect some sound sources: "narrator" and "soundtrack". An example of using this would be using the attenuation filter to dampen the background sound when safety ear protection is put on. See this example at the bottom of this article.

Required Fields

Field Name

Description

Filter

Choose the effects: Attenuate or Low Pass Filter

Attenuate: Apply attenuation/gain to the audio signal.

Attenuation: The range is 0-1.

Low Pass Filter: The Audio Low Pass Filter passes low frequencies while removing frequencies higher than the Cutoff Frequency. You set the Cutoff Frequency here.

Cutoff frequency: Lowpass cutoff frequency in Hertz, range is 0-1.

Info

To end the Audio Filter Resource, use the Deactivate Resource

...

If you use an End Script Resource in the same script Script as this resourceResource, the Audio Filter resource will close - meaning it will disappear. An alternative to using the End Script Resource is to create a custom event Custom Event marking the end of the script Script and then use that event Event as a condition Condition where needed in other scriptsScripts.

To learn more about Finishing Scripts, click here.

...

  • Add the background audio file to a frameFrame:

...

  • In this example, I’m instructing the learner to click on “Ok” to indicate they want the ear protection to be applied on them. Of course, you could script the learner picking up ear protection and putting it on themselves:

...