Hello, Friends !   I'm using the code below to generate combinations of rhythm in 12/8 time signature. I'd like to have my XML with correct beaming of the notes, related to the most common  interpretation of a 12/8 time signature, i. e., beaming every 3 8th notes. Instead, I'm getting it more beamed like a 6/4 time signature:   Is there some form of force the right beaming?   All the best ! Please help this doctorate student ! Julio