# Command instrument not quantising to quarter note

**URL:** https://qa.fmod.com/t/command-instrument-not-quantising-to-quarter-note/20870
**Category:** FMOD Studio
**Created:** [November 13, 2023, 6:02am UTC](https://qa.fmod.com/t/command-instrument-not-quantising-to-quarter-note/20870 "2023-11-13T06:02:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MightyMuso](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mightymuso/32/9096_2.png) [@MightyMuso](https://qa.fmod.com/u/MightyMuso)
#### Post date: [November 13, 2023, 6:02am UTC](https://qa.fmod.com/t/command-instrument-not-quantising-to-quarter-note/20870/1 "2023-11-13T06:02:22Z")

</div>

I have a kit in my timeline is triggered by a parameter and I have a lead-in that I want to play before the kit starts playing every time the kit meets the trigger condition. I’ve experimented with command instruments and quantisation but I can’t figure out how to achieve this.

---

<div class="post-metadata">

### Author: ![MightyMuso](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mightymuso/32/9096_2.png) [@MightyMuso](https://qa.fmod.com/u/MightyMuso)
#### Post date: [November 13, 2023, 9:28am UTC](https://qa.fmod.com/t/command-instrument-not-quantising-to-quarter-note/20870/2 "2023-11-13T09:28:46Z")

</div>

I’ve managed to get extremely close to what I wanted to achieve, and added a lead out event. However, the Kit Lead In and Kit Lead Out events don’t perfectly line up with the beat when transitioning. I’ve made sure to quantise both the command instruments and the magnet regions, but no luck.

 ![Screenshot 2023-11-13 at 5.25.59 pm](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/eaee44bed8c02e3084bff62831185cbba009a676.png)

It’s as though the common instrument is flat out ignoring the quantisation. I’ve tested it with just about every value and it doesn’t change anything. In addition, the transition between the two magnet regions doesn’t occur during the loop transition timeline.

---

<div class="post-metadata">

### Author: ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)
#### Post date: [November 14, 2023, 5:39am UTC](https://qa.fmod.com/t/command-instrument-not-quantising-to-quarter-note/20870/3 "2023-11-14T05:39:36Z")

</div>

> [@MightyMuso](#):
>
> It’s as though the common instrument is flat out ignoring the quantisation.

Command instruments cannot do this.

Quantization relies upon a timeline, and each event instance has its own timeline. You are using command instruments to spawn new event instances, which will have their own timelines, rather than using the timeline of the parent event. As such, the content of such spawned event instances cannot be quantized to the timeline of the parent event.

You may get better results by using event instruments rather than command instruments, as nested events will be able to take advantage of our scheduling system; however, the best possible results would come from placing the content of your nested events directly inside the parent event.

> [@MightyMuso](#):
>
> In addition, the transition between the two magnet regions doesn’t occur during the loop transition timeline.

That’s entirely expected: You cannot enter a transition while already inside another transition. If you want to be able to transition while playing the content inside your loop region’s transition timeline, you will have to reconstruct that content outside of any transition timeline, perhaps by replacing the your loop region with a transition marker to a distant part of the timeline.
