Skip to main content

Add Connective

Add tie:

builder.addConnective("tie");

Add slur:

builder.addConnective("slur");

Add slide:

builder.addConnective("slide");

Add tie with span (how many notes the connective is across):

builder.addConnective("tie", 3);

Add slur connected above note head:

builder.addConnective("slur", 2, "above");

Add slur connected below note head:

builder.addConnective("slur", 2, "below");

Add slur connected next to note head:

builder.addConnective("slur", 2, "center");

Add slur connected at stem tip:

builder.addConnective("slur", 2, "stemTip");

💡 You can as well use Score.Connective and Score.NoteAnchor enum values.