-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
J.S. Bach: Chromatische Fantasie und Fugue - major updates particular…
…ly for hand positions Signed-off-by: Davide Madrisan <[email protected]>
- Loading branch information
Showing
6 changed files
with
239 additions
and
156 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
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
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
46 changes: 46 additions & 0 deletions
46
src/johann-sebastian-bach/chromatische-fantasie-und-fugue-BWV903-busoni/macros.ly
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
greyTextColor = #(x11-color "dimgray") | ||
|
||
% set ""subjectColor to | ||
% subjectColor = #(x11-color 'black) | ||
% to disable the subject coloring feature | ||
subjectColor = #(x11-color 'darkblue) | ||
|
||
markWithColorExtended = | ||
#(define-music-function (color music) | ||
(color? ly:music?) | ||
"Change the color of the given note." | ||
#{ | ||
%\stopStaff | ||
%\startStaff | ||
\override Accidental.color = #color | ||
\override Beam.color = #color | ||
\override Dots.color = #color | ||
\override NoteHead.color = #color | ||
\override Rest.color = #color | ||
\override Script.color = #color | ||
\override Stem.color = #color | ||
\override Tie.color = #color | ||
%\override Staff.LedgerLineSpanner.color = #color | ||
#music | ||
%\revert Staff.LedgerLineSpanner.color | ||
\revert Script.color | ||
\revert Rest.color | ||
\revert NoteHead.color | ||
\revert Dots.color | ||
\revert Accidental.color | ||
\unHighlightSubject | ||
%\stopStaff | ||
%\startStaff | ||
#}) | ||
|
||
highlightSubject = | ||
#(define-music-function (music) | ||
(ly:music?) | ||
"Colour the given note(s) to highlight fugues (first) subjets" | ||
#{ \markWithColorExtended \subjectColor #music #}) | ||
|
||
unHighlightSubject = { | ||
\revert Tie.color | ||
\revert Stem.color | ||
\revert Beam.color | ||
} |
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
Oops, something went wrong.