audio_set_stream
Assign an audio file to a Godot audio player node, adjusting volume and pitch for playback.
Instructions
Set an audio stream for an audio player.
Category: Audio
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) player_path: Path to the audio player node audio_file_path: Path to the audio file (relative to project, e.g., "sounds/music.ogg") volume_db: Volume in decibels (default: 0.0, range: -80 to 24) pitch_scale: Pitch scaling factor (default: 1.0, range: 0.01 to 4.0)
Returns: Success message or error description
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| player_path | Yes | ||
| audio_file_path | Yes | ||
| volume_db | No | ||
| pitch_scale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |