Difference between revisions of "SteamVR/Environments/Adding Sound"

From Valve Developer Community
Jump to: navigation, search
(Added information on importing sounds)
Line 2: Line 2:
  
 
===== Sourcing and Editing Sound Assets =====
 
===== Sourcing and Editing Sound Assets =====
An introductory guide to gathering and editing sound assets [[SteamVR/Environments/Adding Sound/Sourcing Audio Assets|Sourcing Audio Assets]].
+
An introductory guide to gathering and editing sound assets: [[SteamVR/Environments/Adding Sound/Sourcing Audio Assets|Sourcing Audio Assets]].
<br />
+
 
 +
 
 +
===== Importing Sound Assets =====
 +
To import a sound file, simply move or copy it under the <code>SteamVR\tools\steamvr_environments\content\steamtours_addons\<your_addon>\sounds\</code> directory. The tools will automatically convert any supported file formats into a ''.vsnd'' file, which will be visible in the asset browser. The Workshop Tools only support Microsoft PCM ''.wav'' and MP3 encoded sound.
 +
 
 +
To loop sounds the tools rely on ''.wav'' cue points (this seems to be a Source 1 legacy issue). The cue points need to be inserted using an third-party application. Note that this does not work for MP3 files. See this page for additional information: [[Looping_a_Sound|Looping a Sound]]
 +
 
 +
 
 
===== Soundscapes =====
 
===== Soundscapes =====
 
The simplest way to add ambient sounds to your environment is through [[SteamVR/Environments/Adding Sound/Soundscapes|Soundscapes]].
 
The simplest way to add ambient sounds to your environment is through [[SteamVR/Environments/Adding Sound/Soundscapes|Soundscapes]].
<br />
+
 
 +
 
 
===== Soundevents =====
 
===== Soundevents =====
You can also use [[SteamVR/Environments/Adding Sound/Soundevents|Soundevents]], which can be set up and triggered through a point_soundevent entity or added to animations.
+
You can also use [[SteamVR/Environments/Adding Sound/Soundevents|Soundevents]], which can be set up and triggered through a point_soundevent entity, added to animations or played from scripts.
  
 
== Sound advice ==
 
== Sound advice ==
Line 14: Line 22:
 
===== Layering =====
 
===== Layering =====
  
Your environment may sound more interesting if there are multiple layers of sounds looping, either in 2D or from various locations in 3D space. Layered loops of varying length can mask short repetitive loops to some degree, just make sure the overall sonic experience is not too busy and confusing.<br />
+
Your environment may sound more interesting if there are multiple layers of sounds looping, either in 2D or from various locations in 3D space. Layered loops of varying length can mask short repetitive loops to some degree, just make sure the overall sonic experience is not too busy and confusing.
<br />
+
 
 +
 
 
===== The Mix =====
 
===== The Mix =====
  
Valve SteamVR Home environments have typically been mixed to be quieter and more subtle than most VR content, in order to provide a space to relax into VR, take a break between games, and to match a focus on exploration, curiosity and social interaction. Test the audio mix of your addon to match existing content to really make it part of the family!<br />
+
Valve SteamVR Home environments have typically been mixed to be quieter and more subtle than most VR content, in order to provide a space to relax into VR, take a break between games, and to match a focus on exploration, curiosity and social interaction. Test the audio mix of your addon to match existing content to really make it part of the family!
<br />
+
 
 +
 
  
 
[[Category:SteamVR]]
 
[[Category:SteamVR]]
 +
[[Category:SteamVR Home]]

Revision as of 11:09, 22 July 2019

Adding Sound to your Environments

Sourcing and Editing Sound Assets

An introductory guide to gathering and editing sound assets: Sourcing Audio Assets.


Importing Sound Assets

To import a sound file, simply move or copy it under the SteamVR\tools\steamvr_environments\content\steamtours_addons\<your_addon>\sounds\ directory. The tools will automatically convert any supported file formats into a .vsnd file, which will be visible in the asset browser. The Workshop Tools only support Microsoft PCM .wav and MP3 encoded sound.

To loop sounds the tools rely on .wav cue points (this seems to be a Source 1 legacy issue). The cue points need to be inserted using an third-party application. Note that this does not work for MP3 files. See this page for additional information: Looping a Sound


Soundscapes

The simplest way to add ambient sounds to your environment is through Soundscapes.


Soundevents

You can also use Soundevents, which can be set up and triggered through a point_soundevent entity, added to animations or played from scripts.

Sound advice

Layering

Your environment may sound more interesting if there are multiple layers of sounds looping, either in 2D or from various locations in 3D space. Layered loops of varying length can mask short repetitive loops to some degree, just make sure the overall sonic experience is not too busy and confusing.


The Mix

Valve SteamVR Home environments have typically been mixed to be quieter and more subtle than most VR content, in order to provide a space to relax into VR, take a break between games, and to match a focus on exploration, curiosity and social interaction. Test the audio mix of your addon to match existing content to really make it part of the family!