Skip to main content
TikTok Effect House Platform Logo
Latest
Download
Log in
Audio

Audio Resource Controller

Use Audio Resource Controller to connect to a speaker as an output to play and control the audio source. Audio Resource Controller is in the Audio category.

Input

NameData typeDescription
PlayExecPlay the audio source
StopExecStop the audio source
PauseExecPause the audio source
ResumeExecResume the audio source
Loop AmountNumberSet amount value for loop
Audio ResourceAudio SourceThe audio source you want to play

Output

NameData typeDescription
AudioAudio StreamThe audio source. Connect it to a speaker to play.
On PlayExecExecute next node when the audio source starts playing
On StopExecExecute next node when the audio source stops playing
On FinishExecExecute the next node when the audio source finishes playing on each loop

Example

Select the effecthouseAudio audio clip in the Audio Resource node, connect to the Audio Resource Controller and Speaker to output the audio stream. When the camera detect a hand palm open, it will trigger the audio to play. When the audio is playing, it will trigger the alien to appear . When the play finishes, the alien will disappear.