There have been a number of requests (including from me) to have a keyboard
shortcut to move up and down between staves.  The existing alt-up/down
command does have this effect, but because it only visits chords and not
rests, and because it works from highest note to lowest note rather than
staff by staff, it ends up not being as useful as it could be.  After some
thought and a few IRC discussions, I decided the best way to go was to alter
the exist alt-up/down command to first move note by note within the current
chord, and then move track by track (staff/voice).  That way a single
command can be used to navigate vertically through the whole score in a
predictable order.  I also added a command to move track by track without
first moving within the current chord, although by default this probably
won't get a shortcut.

One issue that came up was how to handle the case of moving up or down to a
track that contains no chord or rest at the current tick position.  I
decided the most natural approach would be to search to the left for the
previous chord or rest in that track.  And if there are not previous chords
or rests in that track for the measure, just keep moving track by track
until something suitable is found.

Here's the code if anyone wants to check it out or suggest changes before I
issue a pull request:

https://github.com/MarcSabatella/MuseScore/tree/kbd-mode

It seems to work well, although browsing the Promenade example makes the
process seem more awkward than it would normally be, because the voices are
"upside down" (voice 2 is generally higher than voice 1).




--
View this message in context: 
http://dev-list.musescore.org/Proposed-change-to-alt-up-down-behavior-tp7578271.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to