broadcast_spatial_audio
Play music or ambience from a URL at a 3D position, using spatial audio for immersive scene sound.
Instructions
Broadcast spatial audio (Music/Ambience) to the scene.
Pass a URL to an audio file (mp3, wav) to play it at the given 3D coordinate. The audio is spatialised via WebAudio PannerNode in the Spark viewer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| z | No | ||
| is_loop | No | ||
| prompt_or_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |