> For the complete documentation index, see [llms.txt](https://docs.lightact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lightact.com/integrations/audio.md).

# Audio

Audio playback and streaming in LightAct

## 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&amp;token=ba174f70-640c-46a1-b4a0-bda63dc8ee69" 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&amp;token=b5f2b0d7-a195-4bbc-9560-a9a568973019" 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&amp;token=ac64b704-6d74-4724-8081-36cfc0d3d95e" 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%2Fgit-blob-81008892fb3231bbd9c127f3887a3bff14593e16%2Fimage.png?alt=media" 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%2Fgit-blob-c5f0983f9bd6aa22ef116279d1f258d64c5f2f7b%2Fimage.png?alt=media" 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%2Fgit-blob-2edff0ffc01e557fc248f23e128fac6078aec192%2Fimage.png?alt=media" 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.md) 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%2Fgit-blob-fb4237a0806bd5d15aa7276ab3ec71411a01e196%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://3312042618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9sVaJpWJhPbmscipukhh%2Fuploads%2Fgit-blob-cbd4bd803d885f9bdd938399564930aa23dfa598%2Fimage.png?alt=media" 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.
