Timebase

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.

TicksGPF
243
483
723
963
1205
1443
1687
1923
2163
2405
2883
3367
3605
3843
4805
5047
6727
7683
8407
9605