Hi,,Sorry if this has been covered - I've done some searching and seen some vague matches but nothing concrete.Short version of question - "Is there any work being/been done of drag and drop or making the notation items on the staff selectable"?
Longer versionA while back I developed my own non-VexFlow basic drag and drop music staff which takes single notes (whole/half/quarter/eighth) and rests (same set) clefs, accidentals etc. This is using <DIV>s and JS/JQuery and TouchPunch to make it work on iPad/iPhone.However - it's limited and I'm faced with some choices
- do I try to extend it with the current approach?
- do I swap to rolling my own but using HTML5 canvas or SVG?
or (and hence why I am posting here)- do I try to take advantage of the great work done in VexFlow?
I'm so impressed with VexFlow but my requirements are for drag and drop. I am aware of the complexity involved in building up even quite simple groups of notation and how this means more work than just dragging images.I am aware of VexFlow JSON and have thoughts about using that as an intermediate data model but what I need is to be able to select the notes etc on the staff by mouse click or touch.Any feedback on this would be great. I'm chasing my tail wonder which way proceed.Thanks,Chris
--
You received this message because you are subscribed to the Google
Groups "vexflow" group.
To post to this group, send email to vex...@googlegroups.com
To unsubscribe from this group, send email to
vexflow+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/vexflow?hl=en
Any views on kineticJS or any of the similar libs?
Thanks again,
Chris
Hi Chris, Mohit, and community.
There is great interest in selecting/editing, so please keep at it and keep the community informed about your progress. Even if the drag-to-edit is far from completion, even getting to the point where any event (clicks, mouseOvers, etc.) could bubble up with the object that was selected would be a huge benefit to a lot of Vexflow projects. Click to play from a certain note/measure, tooltips on chords to say whether they’re major or minor, etc. could all be added much more easily with javascript-events attached to SVG-Vexflow objects.
Best,
Michael Cuthbert
Dear All,
Could it work faster if the score itself were rendered as a Canvas but with the individual measures’ or staves positions recorded. Then onclick a measure could be rendered in SVG on top of the Canvas so that particular notes could be selected. It could be an intermediate stage that could later be discarded if SVG rendering ever gets fast enough.
Finale’s Speedy Entry works something like this, but less transparently than I imagine Canvas + SVG could be rigged to do.
My sense is that if this were implemented, by default SVG elements should have the ability to have event listeners attached to them, while Canvas would not.
At music21 we have a webservice that can translate musicxml, abc, and other notations to (rudimentary) Vexflow. I’ll send the URL to anyone who is interested in non-clientbased translation.
Best,
Myke
Can I just say “BRAVO!” to this implementation – it really shows what Vexflow is capable of! It’s really fantastic. Will you consider releasing the non .min.js version of the editor? Very cool and responsive.