# Audio

## Receiving Audio

### Setup in the Devices window

In order to create a device, right-click on the *Devices* window and choose **Audio Input.**

<div align="left"><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-cf9fc3030d252a960bcba8931fb052cdfb41fb24%2FAudio%20devices%20menu%20(2).png?alt=media" alt=""></div>

Under the *Stream* collapsible header choose which audio input you want to use and click **Receive** if you want to start receiving audio data.

<div align="left"><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-e086efa6e2e46b8d6a0cd9f2c849292567f960c1%2FAudio%20input%20device.png?alt=media" alt=""></div>

### Receiving Timecode (LTC)

With only the **Audio input** device it is possible to receive timecode (LTC). All you need to do is choose proper input under the *Stream* collapsible header, click **Receive,** then click **Parse LTC** and start your timcode (LTC) sender.

<div align="left"><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-77a18e7fdac9eaab89ec6158ca1f570a3f093c8e%2FLTC%20timecode.gif?alt=media" alt=""></div>

{% hint style="warning" %}
If LightAct doesn't seem to detect LTC, please check that the volume of your LTC source is high enough.
{% endhint %}

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Feb0yvLxO2HhDmhmkNOSQ%2Fimage.png?alt=media&#x26;token=7820b325-6c3b-4f55-95f2-b4d8df7bde0e" alt=""><figcaption></figcaption></figure></div>

You can also set a timecode offset, which will affect all subsequent operations with this timecode.

## Playing Audio

### Setup in the Devices window

In order to create a device, right-click on the *Devices* window and choose **Audio Output.**

<figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fsaw4tpcVb8rssWgMhFQI%2Fimage.png?alt=media&#x26;token=62e523c4-a766-4407-a7a7-3cc30ec21c99" alt=""><figcaption></figcaption></figure>

Under the *Stream* collapsible header choose which audio output you want to use and click **Play** if you want to start playing (sending to the output) audio data.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2F56Gy5kCKQrn1BUY9TTdl%2Fimage.png?alt=media&#x26;token=4a76c5a1-4c8a-45d1-8cf7-224ff2f85a9c" alt=""><figcaption></figcaption></figure></div>

### Setup in the Layouts window

{% hint style="info" %}
**Good to know:** in most cases you will be using [Audio layer template](https://docs.lightact.com/layers-and-layouts/stock-layer-templates/content-layer-templates/audio-template) to play audio.
{% endhint %}

If you want to build a layer that can play audio from scratch, you would first need to create a **Blank layer**.

<div align="left"><figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2FYb4W3QWK9OcqRviS2b2c%2Fimage.png?alt=media&#x26;token=bf089977-f098-4b58-aff7-6d30b2d0fc44" alt=""><figcaption></figcaption></figure> <figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fp8N85XuaHkIhQZofu6K9%2Fimage.png?alt=media&#x26;token=75aca97b-8a31-4d93-aa52-540db99cdba1" alt=""><figcaption></figcaption></figure></div>

Then you would want to create a node called **Play Audio (from Asset)**. Then you just need to connect it the way you want.
