create_sequence
Generate an xLights sequence from an MP3 by analyzing audio and placing effects on light models using auto, guided, or template modes.
Instructions
Create an xLights sequence from a music file.
Analyzes the audio and generates a .xsq file with effects placed on your light models according to the selected generation mode.
Args: mp3_path: Path to the .mp3 file mode: Generation mode — "auto" (AI picks everything), "guided" (interactive), or "template" (apply saved recipes) palette_hint: Optional color hint (e.g., "red and green", "orange and purple") theme: Optional theme hint (e.g., "christmas", "halloween", "energetic") vocal_assignments: Optional mapping of model names to vocal track names. Use {"all": "<track_name>"} to assign one track to all singing models, or map individual models like {"Snowman": "Vocals", "Bulb Blue": "Full Mix Vocals"}. If omitted and singing models are detected, returns available models and tracks so you can prompt the user for assignments. show_name: Which show folder to generate the sequence in (e.g., "christmas", "halloween"). If omitted and multiple shows exist, returns available shows so you can ask the user which one to use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| theme | No | ||
| mp3_path | Yes | ||
| show_name | No | ||
| palette_hint | No | ||
| vocal_assignments | No |