Set music fit
set_music_fitPROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Retime or refit EXISTING music in place — 'start the music later', 'let it run to the end', 'fade it out', 'loop it', 'stop it ducking'. Anything you omit is left alone. duck_mode: 'smooth' = a sidechain dip that follows the voice and swells back in the gaps; 'step' = the legacy hard -12dB duck. Use this instead of remove+re-add, which loses the other settings. For loudness use set_audio_gain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| end | No | ||
| duck | No | ||
| loop | No | ||
| start | No | ||
| offset_s | No | ||
| duck_mode | No | ||
| fade_in_s | No | ||
| fade_out_s | No | ||
| project_id | Yes | Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess. |