arrange
Guided arrangement — build song structure with sections, transitions, and energy flow
Guide the user through arranging their session using the V2 orchestration pipeline.
Orchestration Flow
- Session kernel —
get_session_kernel(request_text=<user's request>, mode="improve") - Route —
route_request(<user's request>)for engine routes + semantic moves
Analysis Phase
- Scene matrix —
get_scene_matrixfor the full clip grid - Section purposes —
infer_section_purposesto understand what each scene is doing - Emotional arc —
score_emotional_arc— does the song have build → climax → resolve? - Repetition check —
detect_repetition_fatigue— are patterns overused? - Motif analysis —
get_motif_graphfor recurring patterns and fatigue risk - Role conflicts —
detect_role_conflictsto find competing tracks
Planning Phase
- Ask about target — what form? (verse-chorus, build-drop, through-composed). What energy arc?
- Plan arrangement —
plan_arrangement(target_bars, style)for section blueprint - Propose moves —
propose_next_best_move(request_text)for arrangement semantic moves (e.g.,create_buildup_tension,smooth_scene_handoff) - Preview —
preview_semantic_move(move_id)to see the gesture plan
Execution Phase
- Build sections — duplicate scenes, set names/colors, use
transform_motiffor melodic development - Apply gestures —
apply_gesture_templatefor transitions:pre_arrival_vacuum— energy suck before dropsharmonic_tint_rise— filter opening for introsre_entry_spotlight— highlight returning elementstension_ratchet— stepped energy buildoutro_decay_dissolve— gradual dissolution
- Add organic movement —
apply_automation_shape(curve_type="perlin")on filters/sends - Verify arc —
score_emotional_arcagain to confirm improvement - Perception check —
capture_audio+analyze_loudnessto verify LRA > 2 LU
Summary
- Report — "What I did / what improved / what I protected / what remains"
- Session memory —
add_session_memoryfor arrangement decisions
For exploratory arrangement, use the branch-native experiment path (see livepilot-core SKILL.md, Flow B). Each section-ordering variant becomes one composer-source seed; attach pre-compiled plans via compiled_plans. When the user's request is vague or exploratory ("what would you do?", "surprise me with a structure"), bias get_session_kernel(freshness=0.7-0.9) to surface less-conservative branches.