# OvrAudio

### Description

This Node is used to manage the most common interactions with the Unity Audio Component.

It requires an [AudioSource](https://docs.unity3d.com/ScriptReference/AudioSource.html) to be set up, see [Unity Manual](https://docs.unity3d.com/Manual/class-AudioSource.html) for more info.

Based on the action the AudioSource is required to perform, this component changes its behavior and requirements.

### Action Types

The OVER SDK provides several ways to interact with Unity AudioSource Component. A list can be found in [OvrAudioActionType](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovraudio/ovraudioactiontype.md).

#### Play Clip At Point

Sets an AudioClip to the AudioSource and plays it at a given position in world space, defined by an [OvrVector3](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable/ovrvector3.md).

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="204.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>AudioSource</td><td><a href="https://docs.unity3d.com/ScriptReference/AudioSource.html">AudioSource</a></td><td>Unity AudioSource Component</td></tr><tr><td>ActionType</td><td><a href="/pages/jBcX1hdmYMcok7FgGMfP">OvrAudioActionType</a></td><td>Action type [<a href="/pages/jBcX1hdmYMcok7FgGMfP">PlayClipAtPoint</a>]</td></tr><tr><td>Clip</td><td><a href="https://docs.unity3d.com/ScriptReference/AudioClip.html">AudioClip</a></td><td>Unity 3D AudioClip</td></tr><tr><td>Position</td><td><a href="/pages/YKgJhI2mhTDnKx0wgx3s">OvrVector3</a></td><td>Position in space</td></tr><tr><td>Volume</td><td><a href="/pages/XQfQFoPQbUdpQHI6RGlQ">OvrFloat</a></td><td>Audio volume</td></tr></tbody></table>

![Example of OvrAudio, with play on a specific position](/files/PPR36Mg0GL4ssFZ7vE1z)

#### Play Scheduled

Plays the clip at a specific time, on the absolute time-line of the Audio system.

The AudioClip must be present in the AudioSource parameters.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="204.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>AudioSource</td><td><a href="https://docs.unity3d.com/ScriptReference/AudioSource.html">AudioSource</a></td><td>Unity AudioSource Component</td></tr><tr><td>ActionType</td><td><a href="/pages/jBcX1hdmYMcok7FgGMfP">OvrAudioActionType</a></td><td>Action type [<a href="/pages/jBcX1hdmYMcok7FgGMfP">PlayClipAtPoint</a>]</td></tr><tr><td>Time</td><td><a href="/pages/XQfQFoPQbUdpQHI6RGlQ">OvrFloat</a></td><td>Time at which play to clip</td></tr></tbody></table>

![Example of OvrAudio (play scheduled).](/files/FyH3CVHQh7hizn8N3JMo)

#### Unity Action

Execute the assigned UnityAction. Use this Type to directly access the functions made available by Unity in the specific component.

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="205.7659040188865">Name</th><th width="215.94102357420294">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>AudioSource</td><td><a href="https://docs.unity3d.com/ScriptReference/AudioSource.html">AudioSource</a></td><td>Unity AudioSource Component</td></tr><tr><td>ActionType</td><td><a href="/pages/jBcX1hdmYMcok7FgGMfP">OvrAnimatorActionType</a></td><td>Action type [<a href="/pages/jBcX1hdmYMcok7FgGMfP">UnityAction</a>]</td></tr><tr><td>UnityAction</td><td>UnityAction</td><td>UnityAction to be invoked</td></tr></tbody></table>

![](/files/hIXDEaIDryVMVKl0ShGJ)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/unity-components-interactors/ovraudio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
