On Thu 04 Dec 2025 at 08:58:04 (-0500), Gabriel Ellsworth wrote: > Yes, I agree, Kieren. I’m probably not the only engraver of written-out > Anglican chant psalms who would benefit from a more automatic process, > whereby accidentals reset/change at any and every bar line, even in > \cadenzaOn mode. And there might be other styles of music for which this is > relevant, too.
My "automated" system is designed for full Anglican chants in
English cathedral style. But it does demonstrate keeping the
structural elements separate from the notes themselves. I add
to the file the source, thematic index, label, attribution,
and key (for potential automatic transposition when incorporated
into a pointed psalm).
Here's my version of your pitches:
\version "2.24.0"
%% key G major, source lilypond-user Gabriel Elsworth
%%% c df af c af bf af g df c b a b c d bf af g b c
leftside = ""
rightside = "example from Gabriel Elsworth"
\include "Chant-bits.ily"
keysig = { \key g \major }
Atreble = \relative {
g'1 af2 ef g1
ef1 f2 ef d af' g1
}
Btreble = \relative {
fs'?1 e?2 fs g1
a1 f2 ef d fs g1
}
\include "Doublechant.ily"
> The style choral-cautionary is brilliant, and I want to keep using it!
AIUI, it's been the default for ChoirStaff ever since it was added
at version 2.20.
For a fuller example, I've added here a .ly file and PDF for the most
complex type, the triple chant.
> On Wed, 3 Dec 2025 at 08:34, Kieren MacMillan wrote:
>
> > I wonder if this is something that could be done (a) more automatically,
> > and (b) without the need for a “hack” like \partial 1024 s1024…? Maybe
> > someone out there with a better understanding of Lilypond “under the hood”
> > can come up with something even more elegant.
It's beyond my competence, but I wondered whether it would be
possible, in one of the parallel voices, to just change the stencils
for halfnotes into stemless quarternotes, leaving the timing alone.
Anyway, Anglican chant:
\version "2.24.0"
%% key B flat major, source transcribed (psalm 41 vv 1–12)
%%% g g g a b c c c e d d f e d c d c b a gs a g c b c d e f b c
%% Errors at www.anglicanchant.nl: (now corrected)
leftside = ""
rightside = "Haydn Keeton (1847–1921)"
\include "Chant-bits.ily"
keysig = { \key bf \major }
Atreble = \relative {
f'1 f2 f g1
a1 bf2 bf bf d c1
}
Btreble = \relative {
c''1 ef2 d c1
bf1 c2 bf a g fs1
}
Ctreble = \relative {
g'1 f2 bf a1
bf1 c2 d ef a, bf1
}
Aalto = \relative {
d'1 f2 f d1
f1 f2 ef d g c,1
}
Balto = \relative {
g'1 g2 f ef1
d1 d2 d ef ef d1
}
Calto = \relative {
bf1 d2 e f1
d1 g2 f ef ef d1
}
Atenor = \relative {
bf1 d2 c bf1
c1 d2 bf bf bf a1
}
Btenor = \relative {
g1 c2 d g,1
g1 fs2 g c c a1
}
Ctenor = \relative {
g1 bf2 bf c1
bf1 g4 a bf2 c c bf1
}
Abass = \relative {
bf,1 bf'2 a bf1
a1 g2 g f e f1
}
Bbass = \relative {
ef1 c2 b c1
g1 a2 bf c c d1
}
Cbass = \relative {
ef1 f2 g f1
g1 ef2 d c f bf,1
}
\include "Triplechant.ily"
Cheers,
David.
t-keeton-Bflat.pdf
Description: Adobe PDF document
