This is the time division, also known as the timebase, in ticks per quarter note (TPQN). It relates ticks, which are the smallest unit of time in MIDI, to beats, which are quarter notes. In other words, it specifies the number of ticks in a beat, and thereby determines the precision with which time can be represented. A range of predefined timebase values are supported. At the default timebase of 120, a beat has 120 ticks. For a list of common note durations in ticks when using the default timebase, see Quant.
The default timebase is recommended. Larger timebase values improve timing precision, but they also reduce the range of duration and offset modulation. That's because these modulation types interpret track steps as time offsets in ticks, and since the range of a step is finite, the larger the timebase, the less impact such time offsets have.
The timebase can't be changed during playback, and only one timebase can be used within any given document. Changing the timebase of an existing document causes all settings in ticks to be scaled, so that their values remain proportionally similar in the new timebase. Specifically track Quant, Offset, Swing, and Duration are all scaled, along with the times of any dubs. The scaling is only guaranteed to be exact if the new timebase is an integer multiple of the current one, otherwise it's approximate and may cause loss of precision.
Timebase values
This table lists the supported timebase values, all of which are multiples of 24 to ensure compatibility with MIDI clock synchronization. The table also shows the Greatest Prime Factor (GPF) for each timebase, in other words the largest prime number each timebase is evenly divisible by, which is useful information if you want to use odd subdivisions of a beat.
Ticks | GPF |
---|---|
24 | 3 |
48 | 3 |
72 | 3 |
96 | 3 |
120 | 5 |
144 | 3 |
168 | 7 |
192 | 3 |
216 | 3 |
240 | 5 |
288 | 3 |
336 | 7 |
360 | 5 |
384 | 3 |
480 | 5 |
504 | 7 |
672 | 7 |
768 | 3 |
840 | 7 |
960 | 5 |