[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Break visibility for notes?
From: |
Fr. Samuel Springuel |
Subject: |
Re: Break visibility for notes? |
Date: |
Fri, 1 May 2020 16:01:57 -0400 |
> On 1 May, 2020, at 6:28 AM, Thomas Morley <address@hidden> wrote:
>
> sorry for coming back to this that late. Because of Corona the
> workload for my regular job exploded ...
Totally understandable. I’ve got plenty of things to work on and am not on a
deadline for this so I’m not concerned with the delay.
> Below a hackish and probably fragile method to get the desired output anyway.
> Please test thoroughly before using it for serious work!
So far I’ve found that there are a few more items that need to be effected, so
the first change I’ve made is to add them to noteHeadBreakVisibility:
noteHeadBreakVisibility =
#(define-music-function (break-visibility)(vector?)
"Makes notes transparent relying on @var{break-visibility}.
The list of objects to make transparent is taken from @code{hideNotes}."
#{
\override NoteHead.transparent = #(tranparent-at-line-position
break-visibility)
\override Dots.transparent = #(tranparent-at-line-position
break-visibility)
\override Accidental.transparent = #(tranparent-at-line-position
break-visibility)
\override Rest.transparent = #(tranparent-at-line-position
break-visibility)
%stems are always hidden in chant
%we assume chants are not in a TabStaff and so don't need to hide
TabNoteHeads
%ledger lines have to be taken care of in the layout block using
delete-ledgers-for-transparent-note-heads
#})
This, of course, isn’t related to the fragility. I’ll start testing for that
tomorrow.
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Fr. Samuel, OSB
(R. Padraic Springuel)
St. Anselm’s Abbey
4501 South Dakota Ave, NE
Washington, DC, 20017
202-269-2300
(c) 202-853-7036
PAX ☧ ΧΡΙΣΤΟΣ