Skip to main content

Add Time Signature

Set time signature form the beginning of current measure.

This table contains supported time signatures and also their beam groupings.

Time signatureBeam grouping
2/42-2
3/42-2-2
4/44-4 and 2-2-2-2 (auto)
3/83
5/82-3 or 3-2 (user selectable)
6/83-3
7/82-2-3 or 3-2-2 (user selectable)
9/83-3-3
12/83-3-3-3

Set timesignature.

builder.setTimeSignature("2/4");
builder.setTimeSignature(2, 4);

Beam grouping (Theory.BeamGrouping) can be set for 5/8 and 7/8 time signatures.

builder.setTimeSignature("5/8", "2-3");
builder.setTimeSignature("7/8", "3-2-2");