Volume Detection

Use Volume Detection to detect the volume of the audio source in realtime. Volume Detection is in the Audio category.
Input
Name | Data type | Description |
Audio | Audio Stream | The audio stream you want to detect the volume |
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. |
Volume Value | Number | The volume detection result. 0 for silence, 100 for the loudest sound of the audio stream. |
Example
In this example, it demonstrates detecting the audio volume and mapping the volume value to control the image’s scale in realtime.

AI Music powered by TikTok – SAMI.