Versions Compared

Key

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

Add some sound to the scene to bring it alive.

...

  • Click on the Script icon.

  • Click on your script catalog.

  • Click on "Add New Script".

  • Name the script "Ambience".

  • Click on the checkmark to save the script.

  • Close the edit section by clicking the x button.

Video

  • Click on the Ambience script to open it on your screen.

  • Collapse the script catalog by using the ">" icon.

...

  • Open the "Workshop Objects" catalog.

  • Find the "Speaker" object and drag it into the first frame of the script:

GIF

  • Rename the frame "Scene Objects".  

  • Click outside of the text box to save the changes.

...

  • Click the '+' on the main frame to create a new frame at the top level:

GIF

  • Open the Media Catalog by clicking on the media icon on the far right:

...

  • Click on "Workshop Music". In this area, you can preview the audio files by clicking on the play button. 

  • Select one of the music types and drag it into the new frame. 

Video

  • Click on the ">" icon to collapse the music catalog.

  • We want this background noise to continue throughout the scenario, so check the "loop" option.

  • Select the "Ambient" track. This means that this sound is the lowest priority if there are several sounds playing at once.

...

Here is what it would look like:
GIF

  • STOPSave and Test. Play the scenario now. You will notice that the background sound is playing. It is too loud. We will adjust this in the next step.

...

  • Open your Ambience script.

  • Open the "Background" Sound frame.

  • Adjust the volume until it seems right to you. In this tutorial we have set it to 0.1:

...

...

  • Chose "Speaker" from the anchor dropdown on the resource.

  • Loop the track so that it plays continuously.

  • Choose the "Ambient" track so that it has the lowest priority of sounds.

...

  • STOPSave and Test. You should now hear the ambient background noise and the sound coming from the speaker on the workshop floor.  You might also want to adjust the volume once you've tested it.

...

  • In the Ambience script, click on the "Background Sound" frame.

  • Change the Volume to 0.

  • Save the script.

GIF

  • STOPSave and Test. You should now hear only the sound coming from the speaker on the workshop floor. 

...

This is what your scenario will look like so far:

Video

Training Notes

Key Takeaways from Tutorial 2

  • If users will be interacting with objects in the scene, you need to add those objects to a script via the Catalog.

  • Always test audio files to ensure optimal sound levels. 

  • Any audio on Ambient Track will have the lowest priority if there are several sounds playing at once.

  • When you anchor sounds to an object the sound will change based on your location in the scene.

  • Within the VR scene, use the green arrows to move around.

...