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

Beats Detection

Use Beats Detection to detect the rhythm pattern of a piece of music and output the beat in real time. All types of rhythm pattern will be quantified to 3/4 time or 4/4 time. The output value 1 represents the onset beat, which is usually the first beat of each measure. For example, music in 4/4 time will return 1, 2, 3, 4 in sequence, and music in 3/4 time will return 1, 2, 3 in sequence. Beats Detection is in the Audio category.

Input

NameData typeDescription
AudioAudio StreamThe audio stream you want to detect the beats
EnabledBooleanEnable this node or not

Output

NameData typeDescription
AudioAudio StreamThe connected audio stream. Connect it to a speaker to play or connect it to a Detection Output to play with no sound.
Beat ValueNumberThe beats detection result. Return the beats value in 1, 2, 3, 4 sequence or 1, 2, 3 sequence.

Example

↓ BeatsDetection.zip

It returns the beat value in 1, 2, 3, 4 sequence. The detected value will switch off and on four different colors or the background image we’re using here.It is normal to have 2 seconds accuracy delay.

AI Music powered by TikTok – SAMI.