Your cutscene is locked and the boss steps out of the smoke 28 seconds in. The music has to turn right there. Stock tracks rarely do, and cutting one to fit usually costs it the build that made it worth using.
Write the cue the way you would brief a composer, with each section, what it does and how long it lasts. Layer turns that into a section plan with instruments, dynamics and lengths and composes the track to it, so nobody has to edit a finished track down to length afterwards.
Sections Carry the Timing
The palette, the key and the tempo hold for the whole piece, and each section changes only what it needs to: what enters, what drops out, which instrument leads. That split is why the boss theme's climax still sounds like the piece its omen began, and why it arrives at 28 seconds instead of somewhere near it.
Exclusions per section An intro marked as no percussion stays bare while the build around it fills in.
Loops by bar count Sixteen bars at 90 BPM comes back at 42.67 seconds, the length that wraps on the bar line.
Tension Without Turning It Up
Louder drums are the weakest way to build a cue. Layer reaches for the other levers first: an ostinato that subdivides faster, a pedal note that refuses to move, a texture thinned to a single instrument before the arrival. Ask for a boss theme that builds, and the build comes from the arrangement, so the climax still has somewhere to go when it lands.
Against Picture, Then in the Engine
Download MP3 or WAV and lay the cue under your edit or into your audio middleware. When the cut changes, change the plan (move the climax, shorten the tail, swap brass for choir) and Layer recomposes to the new lengths. See audio generation for more on music generation in Layer.
For music that changes with play, see adaptive game music. To score from your art, see music from your game art, and for the rest of the soundscape, game sound effects.