From: Robert J. <spa...@gm...> - 2011-03-25 20:16:56
|
Hi Florian, 2011/3/25 Florian Jung <flo...@we...>: > Hi > > i'm about to extend my score viewer to a score editor; i've planned > support for drag-and-dropping notes; one should be able to change the > note's pitch, it's beginning and it's length > when you click on a note head, the following is checked: > is this note-head the only head of that event (i.e., no tied notes)? > YES -> if mouse.x < head.center_x then change_begin else change_length > NO -> if the note head is the first head of the event -> change_begin > else if the head is the last head of the event -> > change_length > else change_nothing > > however, the note-heads have a width of 12 pixels or so, so you'd need > to click on a area which is 6x10 pixels or so. > do you think that's possible, or is aiming there too hard? Doesn't sound too bad, isn't that about the same size as dragging small notes in the other editors? I guess only trying it out for real will give an indication. > another way for answering the question whether the user wants to change > begin or length would be the following: > the first drag-movement determines the "mode". moving to the left means > "change begin", moving to the right means "change end" > > this would make the "aiming area" bigger, but is pretty unintuitive imho. I'm not entirely sure how you mean but it does not sound intuitive. Perhaps something like this could be added later, akin to mouse gestures in browsers. /Robert > when changing pitch, i'd suggest not to map the y-coordinate directly > into the pitch (i.e., move one note-line-distance upwards makes from a C > a D), but let 15px be a half note or so > also, this makes aiming easier > > > greetings > flo > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Lmuse-developer mailing list > Lmu...@li... > https://lists.sourceforge.net/lists/listinfo/lmuse-developer > |