Length of tiles and spaces

General
Square brackets define lengths. There should be only capital letters between them, no other characters, for example: [M]. If you want to make a space you need to define the single length of space, it works almost the same as the length of tiles, but letters are different. Also, you don’t need to put square brackets. Space might be: “V,” or “QQQ,” etc. Before explaining how to make them correctly, you should know what baseBeats is.

Letters between square brackets cannot be higher than H and lower than P. For space, it cannot be higher than Q and lower than Y. There is a table of beats: What is a beat? It's a unit required to calculate the length of the tile. There is a formula: l = b / bb b - the number of beats

bb - baseBeats

l - length of the tile

If you used the number of beats next to the K letter, the K has the length: 1 / bb For 0.25bb, the length of [K] is 4.

You can combine letters if you get the length like 5. You should find the length 1. For 0.25bb we need 0.25 beat (next to the [M]), so [M] is 1.

We can make [MMMMM], but to save some bytes and make it better-looking put [KM], because 4+1 is 5. The same rule for spaces, but without any notes or brackets.

NOTE: Letters can also be in non-alphabetical order. e.g. b[ON],RUS;