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
Name | Data Type | Description |
---|---|---|
Audio | Audio Stream | The audio stream you want to detect the beats for. |
Enabled | Boolean | Enable this node or not. |
Output
Name | Data Type | Description |
---|---|---|
Audio | Audio Stream | The connected audio stream. Connect it to a Speaker to play or connect it to a Detection Output to play with no sound. |
Beat Value | Number | The beats detection result. Return the beats value in 1, 2, 3, 4 sequence or 1, 2, 3 sequence. |
Example
It returns the beat value in 1, 2, 3, 4 sequence. The detected value will switch off and on four different colors on the background image. It is normal to have a 2 second accuracy delay.

AI Music powered by TikTok – SAMI.