-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restyle melodic approach style of **deg processing in the Humdrum-to-…
…MEI converter.
- Loading branch information
Showing
1 changed file
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
025746b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit changes the style of melodic approach arrows in the Humdrum-to-MEI converter. Previously they were displayed as up/down arrows before the degree number. Chromatic alterations now use up/down arrows after the degree, so using up/down arrows for melodic approach is too confusing to read.
Chromatic alterations still come before the degree number, but now they are both sub/sup rendered as well as displayed as a diagonal arrow pointing up/down. This helps to separate visually from the chromatic alteration arrows.
Example:
Humdrum data:
Click to view MEI conversion for above Humdrum data
Subscript and superscript up/down arrows for melodic approach were tried. They look decent, but the above rendering is more readable. Single tail diagonal arrows were tried, but they do not have the exact same thickness (in the default text font for the SVG when displaying in MacOS) which was distracting. I also tried "bold" diagonal arrows, but those were too prominent.
In the future when there is a clone of the
deg
command in humlib, perhaps single-tail diagonal arrows can represent approach by step (^
andv
), while approach by leap (^^
andvv
) can be displayed with the double tails as in the example.Note that melodic approaches are displayed by default, and to turn them off, add the
*Xdir
interpretation (or do not encode melodic approach in the**deg
data). The second measure of the above example demonstrates suppressing their display with*Xdir
.Note that drawing circles around the superscript/subscript arrows does not produce good results (which is why I did not circle them in the above example).