Tremolo not positioning on note stem

53 views
Skip to first unread message

Griffin Ciluffo

unread,
Jun 23, 2017, 7:04:49 PM6/23/17
to vexflow
Hi all. Was wondering if anyone has had issues with tremolos not positioning correctly on a note stem? Also seems like setPosition() method on Modifier class which Tremolo extends, doesnt seem to move the position of the tremolo at all. Thanks in advance.

Im doing it like so:

let note = new vexflow.Flow.StaveNote({ keys: ["b/4"], duration: '8d' });
note.addArticulation(0, new vexflow.Flow.Tremolo(1).setPosition(vexflow.Flow.Modifier.Position.CENTER));

Renders:



Message has been deleted

Griffin Ciluffo

unread,
Jun 28, 2017, 10:00:02 PM6/28/17
to vexflow
setXShift() seems to modify the x value. But it looks like the draw function isnt accounting for shift.

Griffin Ciluffo

unread,
Jul 15, 2017, 5:46:10 PM7/15/17
to vexflow
Is there a way to adjust the tremolo with postFormatting?
Reply all
Reply to author
Forward
0 new messages