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 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. |
Volume Value | Number | The volume detection result. 0 for silence, 100 for the loudest sound of the audio stream. |
Example
This example demonstrates how to detect the audio volume and map it to control the image’s scale in realtime.

AI Music powered by TikTok – SAMI.