Thanks Lukas,

When I was researching this, I found an old post of yours where you showed
how to put solfege syllables inside the note-heads:
https://lists.gnu.org/archive/html/lilypond-user/2022-10/msg00060.html

That's really neat! What I'm hoping to do is to print the solfege syllables
underneath the notes, as though they were lyrics to the music. I think this
could be done using note names:
https://lilypond.org/doc/v2.25/Documentation/notation/note-names

That's why I was experimenting with the noteNameFunction(). In this
context, I couldn't figure out how to access the current tonic. Am I
looking in the wrong place?

Cheers,
Drew



On Fri, 24 Jan 2025 at 10:41, Lukas-Fabian Moser <[email protected]> wrote:

> Hi Andrew,
> Am 23.01.25 um 23:41 schrieb Drew Neil:
>
> Is it possible to have note names printed using moveable do solfege?
>
> I've been experimenting with the noteNameFunction(). I can get the
> pitch-notename and pitch-alteration, which is a good start. But I think I
> need to know the key and tonality to be able to decide which pitch is 'do'.
> Can I get that information in this context?
>
> Yes, that is absolutely possible.
>
> The current tonic is stored in a context property which can be read and
> put to use in a simple engraver. The manuals show how to do this for easy
> note names using scale degrees:
> https://lilypond.org/doc/v2.25/Documentation/notation/easy-notation-note-heads
> With a little bit of Scheme effort, one can replace numbers by movable do
> syllables.
>
> Where do you want your syllables to appear? In note heads (like in the
> Manual example), or in a NoteNames context, or somewhere else still?
>
> Lukas
>

Reply via email to