broadcast_spatial_audio
Play spatial audio from a URL at a specific 3D coordinate in your scene. Use it to add music or ambience that listeners can perceive directionally.
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 |
|---|---|---|---|
| prompt_or_url | Yes | ||
| x | No | ||
| y | No | ||
| z | No | ||
| is_loop | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |