Audio
Audio playback and streaming in LightAct
Last updated
Audio playback and streaming in LightAct
Last updated
In order to create a device, right-click on the Devices window and choose Audio Input.
Under the Stream collapsible header choose which audio input you want to use and click Receive if you want to start receiving audio data.
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.
If LightAct doesn't seem to detect LTC, please check that the volume of your LTC source is high enough.
Create Get Audio layer node and choose the type of Input.
If you choose Asset then you have to connect the audio asset to this input. In the following example, we have imported the file asset. It can be imported by dragging and dropping the file to the LightAct window application or choose Import asset in the File drop-down header menu.
With this setup we can play any audio file. In order to to that, we have to create Play Audio node. We can look at this node as audio controls.
We first need to choose the type for the Audio input. Type can be either Audio or Device. If the type is Audio then it expects audio buffer from an audio asset file (case when we want to play audio from e.g. mp3 file), but if it is Device then it expects Device Reference node to be connected directly to this input.
At the moment NDI audio sending/receiving is not supported.
The next step is to connect the Play Audio node. After everything is set up, click the Play button in the Sequence timeline.
You can use the last control Loop in the Play Audio node when you want to play automatically the audio file again.
In order to create a device, right-click on the Devices window and choose Audio Output.
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.
Create Set Audio layer node and choose Device as the type of Input.