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

Audio Player Controller

Use Audio Player Controller to control the audio source from the Audio Player component. Audio Player 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
Audio PlayerComponentThe Audio Player (Component) you want to control

Output

NameData typeDescription
On PlayExecExecute next node when the audio source starts playing
On StopExecExecute next node when the audio source stops playing
On FinishExecExecute next node when the audio source finishes playing

Example

When the camera detect an open mouth, it will trigger the audio player’s audio source to play and loop 3 times. When the audio is playing, it will trigger the alien to appear . When the loop finishes, the alien will disappear.