I am trying to engrave this piece as per attached, I am going crazy trying to figure out how to replicate the exact beaming of the image.
with this code I can make three groups of four demisemiquavers, but they are beamed by a 8th beam, whereas I want them to be beamed by a 16th like in the original. I tried to change values in all possible ways in \set baseMoment and \set beatStructure, with no success.