OK, I got my build working (except for an occasional crash like David
Bolton-2 was getting:
http://dev-list.musescore.org/Windows-compilation-error-td7577671.html )
and I'd like some guidance on a new feature that I'd like to implement.
The idea is to add guide lines to each staff and appropriate ledger
lines that show the positions in the scale that have half steps, as an
aid for singers sight reading music. Here is a mock up made by hacking
StaffLines::draw
The red line is just below the tonic of the scale and the blue lines are
between the 3rd and 4th.
The interval between the first two notes is a major second since there
are no guide lines between them; same for the third and fourth notes.
The interval between the second and third notes is a perfect fourth
since there is one guide line between them; same for the fourth and
fifth notes. The interval between the last two notes is a minor third
since there is a guide line between them. By looking at the number of
guide lines between the two notes and any accidentals, you can quickly
determine the quality of the interval.
The guides can also be used as a help for solfege, since the tonic,
"do," sits on the red line, and they can be used to help determine the
quality of chords.
Now for the programming details:
I think this would fit in on the View menu as "Show Interval Guides"
along with the other "Show..." items, but I'll be happy to put it
wherever you think it fits best.
This would only apply to STANDARD_STAFF_TYPE, not percussion or
tablature. The physical position depends on the clef and the key. There
are a few things I am not sure of, though:
It could be part of StaffLines and LedgerLine or it could be a new class
derived from Element or two classes, one for the staff guides and one
for the ledger line guides. If it uses new Element's, then should they
be deleted when the "Show Interval Guides" is switched off or should
they be just made invisible? Should there be an instance every time the
key or clef changes in a system, or should there be one element per
score that interprets the staves, clefs and keys? If it uses existing
Element's, should the setting be saved with the score file (like "Show
Frames") or just be a display option?
Any advice would be welcome.
Mike
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer