sound_add_to_track
Add an instrument to a specific event track, define its start time and length, and receive a GUID for follow-up audio configuration.
Instructions
Place an instrument on an event's track timeline. Returned {guid} is for follow-up calls (sound_set_audio_file, sound_set_owner).
Args: event_target: event:/ path or {guid}. track_target: trackGuid (not mixerGroupGuid) from event_list_tracks. sound_type: SingleSound | MultiSound | ProgrammerSound | SoundScatterer | EventSound. start: Start position, seconds. length: Length in seconds (0 = untrimmed). name: Optional instrument name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| start | No | ||
| length | No | ||
| sound_type | Yes | ||
| event_target | Yes | ||
| track_target | Yes |