Adding interactive audio
To add audio for an interaction, use the audio slots in VIVE Object Props to add audio directly. Other components and audio sources will be added automatically at runtime. If you wish to adjust audio settings for VIVE Object Props, you can add an audio source component, and VIVE Object Props will inherit any settings from that component.
If you wish to add additional effects, you can add them through VIVEPORT audio clip providers. See below for more information about VIVEPORT audio clip providers.
About VIVEPORT audio clip providers
The VIVEPORT Scene SDK comes with a special asset called an audio clip provider. Audio clip providers allow you to add natural variations for each instance of a triggered sound. For example, you may wish to add velocity effects for thrown objects.
You can add new audio clip providers by VIVEPORT Scene SDK includes the following audio clip providers:
- Velocity - Triggers sounds in order from Element 0 to a maximum number you specify, based on a user delineated velocity range, such as a lower velocity triggering an earlier sound element.
- Looping array - Triggers sounds starting at Element 0 to a maximum number you specify, then returns to Element 0. This can be useful for ambient or repeating sounds, such as a machine that hums continuously when the end user interacts with it.
- Weighted random - Triggers sounds randomly, with the option to weight preferred sounds.
- Single - Plays a single audio clip.